source: tags/lgt2433/QUICK_START.txt @ 6565

Revision 6478, 4.1 KB checked in by pmoura, 8 months ago (diff)

Updated the version number to 2.43.3 in preparation for the next stable release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1================================================================
2Logtalk - Open source object-oriented logic programming language
3Release 2.43.3
4
5Copyright (c) 1998-2011 Paulo Moura.        All Rights Reserved.
6Logtalk is free software.  You can redistribute it and/or modify
7it under the terms of the "Artistic License 2.0" as published by
8The Perl Foundation. Consult the "LICENSE.txt" file for details.
9================================================================
10
11
12Quick start
13===========
14
15
16Starting up Logtalk
17-------------------
18
191. Install Logtalk by using either the installer provided for your
20operating-system (when available) or by following the instructions
21on the "INSTALL.txt" file.
22
23On POSIX operating-systems, the following shell scripts are installed
24by default for running Logtalk with selected back-end Prolog compilers
25(which must be up-to-date and properly installed before running these
26scripts!):
27
28* B-Prolog:       bplgt
29* CxProlog:       cxlgt
30* ECLiPSe:        eclipselgt
31* GNU Prolog:     gplgt
32* Lean Prolog:    lplgt
33* Qu-Prolog:      qplgt
34* SICStus Prolog: sicstuslgt
35* SWI-Prolog:     swilgt
36* XSB:            xsblgt     (first run must use sudo)
37* XSB 64 bits:    xsb64lgt   (first run must use sudo)
38* XSB MT:         xsbmtlgt   (first run must use sudo)
39* XSB MT 64 bits: xsbmt64lgt (first run must use sudo)
40* YAP:            yaplgt
41
42If you get an unexpected failure when using one of the Prolog integration
43scripts, consult the "configs/NOTES.txt" file in the Logtalk installation
44folder for compatibility notes or consult the integration script man page.
45
46On MacOS X systems, "/opt/local/bin" must be in your PATH to run the scripts.
47Terminal command files for running Logtalk with selected back-end Prolog
48compilers are also available on the Logtalk installation folder (by default,
49"/opt/local/share/logtalk/scripts/macosx/command_files"; for easy access, the
50installer creates an alias to the Logtalk folder in the Applications folder.
51
52On Windows systems, shortcuts for running Logtalk with selected back-end
53Prolog compilers are created on the "Start Menu/Programs/Logtalk" menu.
54If you get an unexpected failure when using one of the Prolog integration
55shortcuts, consult the "configs/NOTES.txt" file in the Logtalk installation
56folder for compatibility notes.
57
582. Open the "manuals/index.html" file with a web browser.
59
603. Select the "Tutorial" link. This will provide you with a basic
61understanding of some of the main Logtalk concepts.
62
634. Go back to the "index.html" file, select the "User Manual" link, then
64the "Installing Logtalk" and "Writing, Running, and Debugging Logtalk
65Programs" links. This will provide you with a basic understanding of
66how to start Logtalk as well as how to compile and load Logtalk code.
67
68
69Running the examples
70--------------------
71
72You may now try some of the provided examples:
73
741. Open the "examples" sub-directory. There you find several sub-directories
75with ready to run examples and a "NOTES.txt" file containing general
76instructions and a brief description of each example. Select and open one
77of the examples sub-directory.
78
792. Read the example "NOTES.txt" file for a description of the example.
80
813. Open the "SCRIPT.txt" file for instructions on how to load the example
82and for sample queries that you may try by copying-and-pasting them to
83your Prolog interpreter top-level.
84
85
86Writing your own programs
87_________________________
88
89Ready to start writing your own programs?
90
911. Read the User Manual sections on "Programming in Logtalk" and "Running
92and debugging Logtalk programs".
93
942. Take a look at the "wenv" sub-directory. There you will find syntax
95configuration files for popular text editors which enable syntax coloring
96and other text services when editing Logtalk source files.
97
983. Create a sub-directory with a suitable name to hold all the files of
99your application. You may want to define the application directory path
100in a "settings.lgt" file in order to easily load your application (see
101the file "CUSTOMIZE.txt" for details).
102
1034. Copy to this sub-directory a loader file from one of the example
104directories and modify it to load your own source files.
105
1065. Have fun!
Note: See TracBrowser for help on using the repository browser.