tisp

tiny lisp
git clone git://edryd.org/tisp
Log | Files | Refs | LICENSE

tisp.1 (1100B)


      1 .\" x-roff document
      2 .do mso man.tmac
      3 .TH tisp 1 "March 2018" "tisp 0.0.0"
      4 .PP
      5 .SH NAME
      6 tisp - tiny lisp
      7 .PP
      8 .SH SYNOPSIS
      9 \fBtisp\fP [\fB-hv\fP] [\fIFILENAME\fP] 
     10 .PP
     11 .SH DESCRIPTION
     12 Tiny lisp implementation, still in heavy development, barely even "useable." Designed to be scheme-like, ie very minimalist.
     13 .PP
     14 .SH OPTIONS
     15 .TP
     16 \fB-h
     17 \fRPrint help and exit
     18 .PP
     19 .TP
     20 \fB-v
     21 \fRPrint version info and exit
     22 .PP
     23 .SH USAGE
     24 Run the program from the command line to launch the REPL, type a command and press enter to see the result.
     25 .PP
     26 .RS 4
     27 .EX
     28 
     29 $ tisp
     30 > (+ (+ 1 2) 3)
     31 6
     32 > (+ 1 2 3)
     33 6
     34 
     35 .EE
     36 .RE
     37 .PP
     38 Alternatively you can pass a file name which will be opened and run, outputting the result before exiting.
     39 .PP
     40 .RS 4
     41 .EX
     42 
     43 $ echo '(+ 1 2 3)' > add.lisp
     44 $ tisp add.lisp
     45 6
     46 
     47 .EE
     48 .RE
     49 .PP
     50 Commands can also be piped directing into tisp through the command line.
     51 .PP
     52 .RS 4
     53 .EX
     54 
     55 $ echo '(+ 1 2 3)' | tisp
     56 6
     57 
     58 .EE
     59 .RE
     60 .PP
     61 .SH AUTHOR
     62 Ed van Bruggen <edvb@uw.edu>
     63 .PP
     64 .SH SEE ALSO
     65 See project page at <https://edryd.org/projects/tisp.html>
     66 .PP
     67 View source code at <https://git.edryd.org/tisp>
     68 .PP
     69 .SH LICENSE
     70 zlib License