Commit graph

107 commits

Author SHA1 Message Date
0e11adea1c Compiles, most tests break 2019-01-27 17:22:13 +00:00
b8f241c2c5 Progress, not working 2019-01-27 12:23:51 +00:00
a355a28ffa Tactical commit whilst converting to URL_FILE 2019-01-24 19:36:00 +00:00
3fd322af6f Major progress, multiply now almost works
There's a premature free() somewhere, and I'm not sure why.

Print depends on divide, which is easy, but also on mod and floor (of rationals) which isn't.
2019-01-21 16:14:25 +00:00
22fa7314d6 Mostly fixing and standardising documentation. 2019-01-20 20:37:44 +00:00
d624c671cd Major refactoring, all tests still pass
Bignum issues not yet folly resolved.
2019-01-05 11:42:17 +00:00
e7dffcad2c Not really making progress. 2018-12-30 19:07:07 +00:00
02fe5669d8 Complete reworking of the REPL
which is good in itself, but not what I was meant to be working on.
2018-12-30 17:56:15 +00:00
489f008044 Printing of bignums basically done, not tested. 2018-12-29 23:44:28 +00:00
c21a762413 Much better GC, still a few things being missed. 2018-12-29 20:34:31 +00:00
7b126ea979 Garbage collection now much better, not good
There's clearly still a lot of things getting incremented but not decremented.
2018-12-29 09:35:29 +00:00
40e1f3ca64 Whitespace only changes 2018-12-29 07:40:01 +00:00
e52ccce0eb Much progress! Half the unit tests pass. 2018-12-28 15:50:37 +00:00
75abfb4050 Much better debugging, but it still doesn't work 2018-12-27 21:37:38 +00:00
9937f344dc Major refactoring. Major problems!
On the right path but it doesn't work yet.
2018-12-26 20:30:14 +00:00
ae8ba67ed7 Better exceptions, investigation on failure to read/print wide chars. 2018-12-25 15:32:53 +00:00
9ff2f14c7d Reverse 2018-12-25 14:44:38 +00:00
7cd2cbf785 Very small progress. 2018-12-20 11:01:13 +00:00
637d78fb1b Much work, all I think positive, but defun still doesn't work. 2018-12-18 21:10:03 +00:00
cec32eff54 Progress, but there's something wrong with nlambdas 2018-12-13 23:20:34 +00:00
facd5ccc94 Started work on nlambda. It isn't working yet. 2018-12-13 17:08:47 +00:00
0550b0168f And now the interpreter works (I think) correctly! 2018-12-13 13:31:04 +00:00
676b231743 Interpreter working! 2018-12-12 18:49:05 +00:00
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
7d0b6bec97 Colourised print. 2018-12-12 11:48:24 +00:00
9bfc9074b0 Improved (for me) formatting on Mac
Don't yet know whether this will work on Linux.
2018-12-08 14:09:57 +00:00
27fd678888 Tried to get more sensible printing of floating point numbers
Results are quite disappointing. Resolution on long doubles is nothing like as good as I hoped; they're out by one part in 10^20.

All unit tests except one pass, and the one that doesn't is a very minor rounding issue, so I'm calling it good.
2018-12-08 00:29:05 +00:00
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
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
645ab3674e All unit tests pass. The eval-quote problem is solved. 2018-12-07 06:43:23 +00:00
fd9c851185 Merge branch 'develop' of github.com:simon-brooke/post-scarcity into develop 2018-12-07 06:39:23 +00:00
1307c65e94 And the answer was, eval is a function, not a special form. 2018-12-07 06:32:02 +00:00
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
01cf08b100 COND working 2017-10-16 14:37:09 +01:00
b989b5e041 PROGN working 2017-10-16 12:22:49 +01:00
685790df43 Apply works; all unit tests pass. 2017-10-15 18:27:55 +01:00
89b4f093f9 Fixed bug which caused reader to infinite loop if symbol contained non-alnum. 2017-10-15 15:14:34 +01:00
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
79f7492390 Whitespace changes only - trying to keep the format regular 2017-09-14 19:02:03 +01:00
27f39e85ea Integer arithmetic works, real doesn't - yet. 2017-09-13 18:01:35 +01:00
648a4cd522 Add and multiply now work, but robustly. 2017-09-13 17:00:13 +01:00
0826dcfdda Huge progress. Now actually working. 2017-09-13 15:58:59 +01:00
9661ad339a This isn't working, but I think it's progress. 2017-09-13 12:50:20 +01:00
5dee093e65 All tests still pass and a lot of debugging junk is gone 2017-09-13 00:25:11 +01:00
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
d7886550a6 Standardised formatting. 2017-08-14 20:18:13 +01:00
31176e1f39 Some improvement, but two unit tests fail. 2017-08-14 17:57:23 +01:00
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
770767c11e Now have quote. Everything still seems to work. Unit tests still pass. 2017-01-20 12:27:09 +00:00
03dfe37045 Lisp-ops bound on oblist but not yet being used. All unit tests still pass. 2017-01-20 12:05:10 +00:00