mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-08-09 01:25:00 +00:00
Update docst
This commit is contained in:
24
doc/DRAWL.md
24
doc/DRAWL.md
@@ -34,9 +34,9 @@ The DRAWL implementation comes with the following built-in functions:
|
|||||||
- NIL = NULL
|
- NIL = NULL
|
||||||
- SPACE = SPACE character on output
|
- SPACE = SPACE character on output
|
||||||
- CR = Carriage Return character on output
|
- CR = Carriage Return character on output
|
||||||
- CSET()
|
- CSET() = Set constant value
|
||||||
- CSETQ()
|
- CSETQ() = Set constant value
|
||||||
- DEFINE()
|
- DEFINE() = Define function
|
||||||
|
|
||||||
### Function types
|
### Function types
|
||||||
|
|
||||||
@@ -57,10 +57,10 @@ The DRAWL implementation comes with the following built-in functions:
|
|||||||
|
|
||||||
### Misc
|
### Misc
|
||||||
|
|
||||||
- SET
|
- SET = Used in array access to set element value
|
||||||
- QUOTE()
|
- QUOTE()
|
||||||
- ARRAY()
|
- ARRAY() = Arrays up to four dimensions
|
||||||
- EVAL()
|
- EVAL() = Evaluate S-expression
|
||||||
- TRACE() = Turn tracing on/off
|
- TRACE() = Turn tracing on/off
|
||||||
- GC() = Run garbage collector and return free memory amount
|
- GC() = Run garbage collector and return free memory amount
|
||||||
- QUIT() = Exit REPL
|
- QUIT() = Exit REPL
|
||||||
@@ -99,6 +99,8 @@ The DRAWL implementation comes with the following built-in functions:
|
|||||||
### Program feature
|
### Program feature
|
||||||
|
|
||||||
- PROG(...) = Algol like programming in LISP
|
- PROG(...) = Algol like programming in LISP
|
||||||
|
- SET() = Update variable value
|
||||||
|
- SETQ() = Update variable value
|
||||||
- COND(...) = Fall-through COND()
|
- COND(...) = Fall-through COND()
|
||||||
- IF() = Fall-through IF THEN w/ optional ELSE
|
- IF() = Fall-through IF THEN w/ optional ELSE
|
||||||
- GO() = Goto label inside PROG
|
- GO() = Goto label inside PROG
|
||||||
@@ -157,9 +159,9 @@ The DRAWL implementation comes with the following built-in functions:
|
|||||||
|
|
||||||
### Lo-Res Graphics
|
### Lo-Res Graphics
|
||||||
|
|
||||||
- GR()
|
- GR() = Turn lo-res graphics mode on/off
|
||||||
- COLOR()
|
- COLOR() = Set plotting color
|
||||||
- PLOT()
|
- PLOT() = Plot pixel at X,Y coordinate
|
||||||
|
|
||||||
LISP is one of the earliest computer languages. As such, it holds a special place in the anals of computer science. I've always wanted to learn why LISP is held in such high regard by so many, so I went about learning LISP by actually implementing a LISP interpreter in PLASMA. PLASMA is well suited to implement other languages due to its rich syntax, performance and libraries.
|
LISP is one of the earliest computer languages. As such, it holds a special place in the anals of computer science. I've always wanted to learn why LISP is held in such high regard by so many, so I went about learning LISP by actually implementing a LISP interpreter in PLASMA. PLASMA is well suited to implement other languages due to its rich syntax, performance and libraries.
|
||||||
|
|
||||||
@@ -175,7 +177,9 @@ P-LISP Manual (newer than LISP 1.5): https://archive.org/details/gLISP/gnosisLIS
|
|||||||
|
|
||||||
Apple Numerics Manual (SANE): https://vintageapple.org/inside_o/pdf/Apple_Numerics_Manual_Second_Edition_1988.pdf
|
Apple Numerics Manual (SANE): https://vintageapple.org/inside_o/pdf/Apple_Numerics_Manual_Second_Edition_1988.pdf
|
||||||
|
|
||||||
Video showing DRAWL in action: https://youtu.be/wBMivg6xfSg
|
Part 1 of DRAWL in action (S-expressions): https://youtu.be/wBMivg6xfSg
|
||||||
|
|
||||||
|
Part 2 of DRAWL in action (The rest of LISP 1.5): https://youtu.be/MdKZIrfPN7s
|
||||||
|
|
||||||
Preconfigured PLASMA ProDOS boot floppy for DRAWL: https://github.com/dschmenk/PLASMA/blob/master/images/apple/DRAWL.po
|
Preconfigured PLASMA ProDOS boot floppy for DRAWL: https://github.com/dschmenk/PLASMA/blob/master/images/apple/DRAWL.po
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user