@@ -6,13 +6,15 @@ This is my attempt at making Rui Ueyama (rui314)'s MiniLisp slightly more user f
66and powerful.
77Not being limited by the 1000 lines challenge, I've added a number of basic primitives
88to the original program, while trying to keep the goal of simplicity and conciseness.
9+
910The whole program compiles to less than 100 kb without debugging symbols and should be
1011able to run on low powered devices.
1112
1213The whole program compiles to less than 100 kb and should be able to run on low powered devices.
1314The added primitives:
1415* strings
1516* predicates >, >=, <=, or, and, not,
17+
1618* functions length, reverse, progn, load.
1719
1820This has the side effect of being much faster as well, since all these primitives are
@@ -76,26 +78,14 @@ CTRL-Z SUSPEND PROCESS
7678```
7779
7880The REPL also saves the history of commands in the file history.txt
79-
80- Known bugs:
81- * Operators "and" and "or" do not work like their typical Lisp counterpart
82- because they evaluate all their operands at the same time instead of one
83- by one.
84- * The pasting in the REPL doesn't work well.
85- * Multiline inputs are recalled as different lines
86-
87-
88- Original README
89- =======
9081This file is loaded at startup, so one can recall previous commands.
9182
9283Future improvements:
9384- floating point numbers
94- - strings ?
9585- data files
9686
9787Known bugs:
98- * the paste function does not work well.
88+ * the paste function does not work very well.
9989* recall of multiline commands does not work as expected.
10090
10191
@@ -107,7 +97,7 @@ decided to write a Lisp interpreter. That turned to be a
10797fun weekend project, and the outcome is a mini lisp implementation
10898that supports
10999
110- - integers, symbols, cons cells,
100+ - integers, symbols, cons cells
111101- global variables,
112102- lexically-scoped local variables,
113103- closures,
0 commit comments