picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

commit 229e679e5aacff601080024547c953ae83b3f918
parent 07cfa1f093081a9c22ec69cc66e0179ef2f7257e
Author: Alexander Burger <abu@software-lab.de>
Date:   Tue,  8 Mar 2011 14:11:47 +0100

Minor corrections
Diffstat:
Mman/man1/picolisp.1 | 24+++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/man/man1/picolisp.1 b/man/man1/picolisp.1 @@ -5,10 +5,10 @@ pil, picolisp \- a fast, lightweight Lisp interpreter .SH SYNOPSIS .B pil -[arguments ..] [-] [arguments ..] [+] +[arguments ...] [-] [arguments ...] [+] .br .B /installpath/bin/picolisp -[arguments ..] [-] [arguments ..] [+] +[arguments ...] [-] [arguments ...] [+] .SH DESCRIPTION .B PicoLisp is a Lisp interpreter with a small memory footprint, yet relatively high @@ -21,7 +21,7 @@ binary base system and loading a useful runtime environment. .P .B picolisp is just the bare interpreter binary. It is usually called in stand-alone -scripts, by using the she-bang notation in the first line, passing the minimal +scripts, using the she-bang notation in the first line, passing the minimal environment in .I lib.l and loading additional files as needed: @@ -32,14 +32,20 @@ and loading additional files as needed: .RS (load "@ext.l" "myfiles/lib.l" "myfiles/foo.l") .RE +.RS +(do ... something ...) +.RE +.RS +(bye) +.RE .SH INVOCATION .B PicoLisp -has no pre-defined command line flags; any application is free to defined its +has no pre-defined command line flags; applications are free to define their own. Any built-in or user-level Lisp function can be invoked from the command line by prefixing it with a hyphen. Examples for built-in functions useful in this context are .B version -(prints the version number) or +(print the version number) or .B bye (exit the interpreter). Therefore, a minimal call to print the version number and then immediately exit the interpreter would be: @@ -50,7 +56,7 @@ pil -version -bye .P Any other argument (not starting with a hyphen) should be the name of a file to be loaded. If the first character of a path or file name is an at-mark, it -will be substituted by the path to the installation directory. +will be substituted with the path to the installation directory. .P All arguments are evaluated from left to right, then an interactive .I read-eval-print @@ -61,7 +67,7 @@ the remaining arguments may be processed under program control. .P If the very last command line argument is a single plus character, debugging mode is switched on at interpreter startup, before evaluating any of the command -line arguments. A minimal interactive session is therefore started as: +line arguments. A minimal interactive session is started with: .P .RS pil + @@ -70,8 +76,8 @@ pil + The interpreter can be terminated by typing Ctrl-D or (bye). .SH BUGS .B PicoLisp -doesn't try to protect you from all programming errors, like other interpreters -do ("You asked for it, you got it"). +doesn't try to protect you from every possible programming error ("You asked for +it, you got it"). .SH AUTHOR Alexander Burger <abu@software-lab.de> .SH RESOURCES