Skip to content

Commit b5a1e59

Browse files
authored
Merge branch 'master' into extend
2 parents a2d6779 + 84e9c84 commit b5a1e59

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ This is my attempt at making Rui Ueyama (rui314)'s MiniLisp slightly more user f
66
and powerful.
77
Not being limited by the 1000 lines challenge, I've added a number of basic primitives
88
to the original program, while trying to keep the goal of simplicity and conciseness.
9+
910
The whole program compiles to less than 100 kb without debugging symbols and should be
1011
able to run on low powered devices.
1112

1213
The whole program compiles to less than 100 kb and should be able to run on low powered devices.
1314
The added primitives:
1415
* strings
1516
* predicates >, >=, <=, or, and, not,
17+
1618
* functions length, reverse, progn, load.
1719

1820
This 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

7880
The 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-
=======
9081
This file is loaded at startup, so one can recall previous commands.
9182

9283
Future improvements:
9384
- floating point numbers
94-
- strings ?
9585
- data files
9686

9787
Known 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
10797
fun weekend project, and the outcome is a mini lisp implementation
10898
that 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

Comments
 (0)