Commit graph

23 commits

Author SHA1 Message Date
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 2c001a5f98 Sorting out what looked like a premature freeing bug.
It wasn't, but in investigating I tightened up allocation and deallocation in frames.
2018-12-23 15:16:53 +00:00
Simon Brooke 5a84f5e305 Fixed the eval-real test
So that it passes provided the answer is right to within one part in a million. Also worked on a solution to returning exceptions from make_stack_frame
2018-12-21 21:36:37 +00:00
Simon Brooke 637d78fb1b Much work, all I think positive, but defun still doesn't work. 2018-12-18 21:10:03 +00:00
Simon Brooke cec32eff54 Progress, but there's something wrong with nlambdas 2018-12-13 23:20:34 +00:00
Simon Brooke 11409301da Tactical commit before trying adventurous change in peano 2018-12-13 19:23:44 +00:00
Simon Brooke fc960dec20 Fixed! A stupid error which was entirely my fault 2018-12-07 22:33:59 +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 Brooke 88fd7d95d9 Added Doxyfile, updated Makefile, reformatted. 2018-12-06 18:12:15 +00:00
Simon Brooke 3112f190db Work on the eval-quote bug. I have a really profound misunderstanding here!
But, in working on it, I've worked hard on documentation, which is good.
2018-12-06 17:55:54 +00:00
simon 685790df43 Apply works; all unit tests pass. 2017-10-15 18:27:55 +01:00
Simon Brooke ba4a31c25a All tests passing except 'apply', which is genuinely broken; I'm not yet sure
what's wrong.
2017-10-15 14:17:54 +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 79f7492390 Whitespace changes only - trying to keep the format regular 2017-09-14 19:02:03 +01:00
Simon Brooke 27f39e85ea Integer arithmetic works, real doesn't - yet. 2017-09-13 18:01:35 +01:00
simon 0826dcfdda Huge progress. Now actually working. 2017-09-13 15:58:59 +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 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