Simon Brooke
a5e1d3ccd8
Reorganised source files to make navigation easier
...
All tests still pass (slightly to my surprise)
2018-12-24 19:27:04 +00:00
Simon Brooke
f6ff403249
Basics of vector space sort of done, but not yet working.
2018-12-24 15:12:17 +00:00
Simon Brooke
4c9fdfc3db
Added ratio numbers
...
(but some arithmetic is now broken)
2018-12-23 20:02:38 +00:00
Simon Brooke
11409301da
Tactical commit before trying adventurous change in peano
2018-12-13 19:23:44 +00:00
Simon Brooke
facd5ccc94
Started work on nlambda. It isn't working yet.
2018-12-13 17:08:47 +00:00
Simon Brooke
676b231743
Interpreter working!
2018-12-12 18:49:05 +00:00
Simon Brooke
7189c0172c
Much work on the interpreter, but it is getting messy
...
Going to try something radically different
2018-12-12 16:20:16 +00:00
Simon Brooke
d620542ee5
Trying to get to the point where make format
works the same
...
on Linux and MacOS
2018-12-07 21:37:31 +00:00
Simon Brooke
93b84087ce
There's an enormous lot of good stuff in this, but I've messed up print
...
almost certainly by writing a non-wide character to a wide stream.
2018-12-07 20:09:33 +00:00
simon
0e224e551b
EVAL on arithmetic operations still not working
2017-10-06 18:27:01 +01:00
Simon Brooke
b713c1822d
WArning! this doesn't even build! Half way through reworking eval.
2017-09-17 20:18:15 +01:00
simon
0826dcfdda
Huge progress. Now actually working.
2017-09-13 15:58:59 +01:00
simon
9661ad339a
This isn't working, but I think it's progress.
2017-09-13 12:50:20 +01:00
simon
36d8431a91
11 out of 12 unit tests passing, progress!
...
I don't understand why it works, but it works.
2017-09-12 22:14:11 +01:00
simon
d7886550a6
Standardised formatting.
2017-08-14 20:18:13 +01:00
simon
31176e1f39
Some improvement, but two unit tests fail.
2017-08-14 17:57:23 +01:00
Simon Brooke
e968b30bbc
Sorted out some interesting buglets in read and print (although there is
...
still one I know of). More unit tests, and all pass. Not evalling yet.
Good day's work.
2017-01-20 18:24:48 +00:00
Simon Brooke
03dfe37045
Lisp-ops bound on oblist but not yet being used. All unit tests still pass.
2017-01-20 12:05:10 +00:00
Simon Brooke
1133a07752
Enough lisp operations implemented that it's now probably possible to
...
try a read-eval-print loop. Read still isn't correctly reading UTF characters,
but so long as I don't use UTF characters it's OK (bug needs fixing, but).
2017-01-13 17:40:49 +00:00
Simon Brooke
7e53ce2c4f
Added stuff for a lisp stack, but not yet integrated.
2017-01-13 08:44:56 +00:00
Simon Brooke
432ccb2d44
Frustrating. I think all the conversion to 'wide' (UTF) character handling
...
is done, and all the existing unit tests pass - but UTF characters are
nevertheless not read or printed correctly.
2017-01-13 00:45:00 +00:00
simon
f64469235d
Argh!
2017-01-12 15:02:41 +00:00
simon
b0ea969197
Almost working lispops.
2017-01-12 15:02:13 +00:00
Simon Brooke
ecf5fe19bb
Added equality operators, so that I can intern symbols.
2017-01-07 13:48:18 +00:00
Simon Brooke
2d9f4b0439
All unit tests passing! This is slightly a fix because there is a bug with
...
the character read after reading a number not being correctly pushed back
onto the input stream, but...
2017-01-07 12:24:54 +00:00
Simon Brooke
85cc542d74
Reads, stores and prints numbers correctly. Reads and stores lists and
...
strings, but they don't print correctly.
2017-01-07 02:17:54 +00:00
Simon Brooke
5920b0d04f
Added first cut of reader and writer, but nothing working at this stage.
2017-01-06 22:49:04 +00:00
simon
0e693d4360
Well, a strat has been made.
2017-01-06 16:21:11 +00:00
simon
2e77d2beb6
Having found rust wasn't going to work, I've hacked up a rough core of the
...
cons space in C. None of this is tested.
2017-01-06 15:25:16 +00:00