Commit graph

75 commits

Author SHA1 Message Date
Simon Brooke 78d2395d60
Let working, unit tested. 2021-09-08 15:01:48 +01:00
Simon Brooke 3abebe937c
Added list and unit test for it. 2021-09-08 13:55:08 +01:00
Simon Brooke 6771d6494c
Append works; mapcar doesn't; loop isn't even written. 2021-08-23 12:35:05 +01:00
Simon Brooke c63c262b74
Compact path notation now expands correctly 2021-08-18 18:48:05 +01:00
Simon Brooke b0a49fb71d
Restandardised formatting. 2021-08-17 16:37:04 +01:00
Simon Brooke eadb125b83
Hashmaps now *mostly* work 2021-08-16 23:23:03 +01:00
Simon Brooke 4fc9545be8
Hashmaps sort-of work but there are still bugs and one test is failing that wasn't. 2021-08-16 18:55:02 +01:00
Simon Brooke e0f6e0a42a
Added information on command line flags
because picking this up again after five years is HARD!
2021-07-19 09:49:30 +01:00
Simon Brooke 27411689c9 Removed the print_use_colours feature.
More nuisance than help at this stage; removed.
2019-02-07 15:42:01 +00:00
Simon Brooke af814d8f03 #time: Fixed
Major (unexpected) problem was collision between the name of my header file and that of the system header file!
2019-02-07 15:32:06 +00:00
Simon Brooke f36436a9e1 #8: Done
I'm now of the opinion that this is done at the wrong level in the stack and needs to be redone later; but it works for now.

There's a regression in `open`, but I can't see why.
2019-02-07 09:22:44 +00:00
Simon Brooke 0687b0baeb #8: Buggy, but a lot of it works. 2019-02-06 11:17:31 +00:00
Simon Brooke 23e4f0befa A bit of work on time, but it doesn't actually work yet. 2019-02-05 09:59:05 +00:00
Simon Brooke f9bcac10e7 Fixed, working. 2019-01-29 22:36:20 +00:00
Simon Brooke eb394d153f Setting up medatata works...
And the `inspect` function correctly shows it. However, the `metadata` function segfaults.
2019-01-29 18:31:30 +00:00
Simon Brooke b15c0e8f89 Tactical commit 2019-01-28 15:02:46 +00:00
Simon Brooke 8334e2bf1f Still segfaults on read from URL. 2019-01-28 10:32:34 +00:00
Simon Brooke d9acb277bf Tests now pass
at least, all the ones that did before!
2019-01-27 17:51:28 +00:00
Simon Brooke 0e11adea1c Compiles, most tests break 2019-01-27 17:22:13 +00:00
Simon Brooke b8f241c2c5 Progress, not working 2019-01-27 12:23:51 +00:00
Simon Brooke a355a28ffa Tactical commit whilst converting to URL_FILE 2019-01-24 19:36:00 +00:00
Simon Brooke 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
Simon Brooke 22fa7314d6 Mostly fixing and standardising documentation. 2019-01-20 20:37:44 +00:00
Simon Brooke d624c671cd Major refactoring, all tests still pass
Bignum issues not yet folly resolved.
2019-01-05 11:42:17 +00:00
Simon Brooke e7dffcad2c Not really making progress. 2018-12-30 19:07:07 +00:00
Simon Brooke 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
Simon Brooke 489f008044 Printing of bignums basically done, not tested. 2018-12-29 23:44:28 +00:00
Simon Brooke c21a762413 Much better GC, still a few things being missed. 2018-12-29 20:34:31 +00:00
Simon Brooke 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
Simon Brooke 40e1f3ca64 Whitespace only changes 2018-12-29 07:40:01 +00:00
Simon Brooke e52ccce0eb Much progress! Half the unit tests pass. 2018-12-28 15:50:37 +00:00
Simon Brooke 75abfb4050 Much better debugging, but it still doesn't work 2018-12-27 21:37:38 +00:00
Simon Brooke 9937f344dc Major refactoring. Major problems!
On the right path but it doesn't work yet.
2018-12-26 20:30:14 +00:00
Simon Brooke ae8ba67ed7 Better exceptions, investigation on failure to read/print wide chars. 2018-12-25 15:32:53 +00:00
Simon Brooke 9ff2f14c7d Reverse 2018-12-25 14:44:38 +00:00
Simon Brooke 7cd2cbf785 Very small progress. 2018-12-20 11:01:13 +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 facd5ccc94 Started work on nlambda. It isn't working yet. 2018-12-13 17:08:47 +00:00
Simon Brooke 0550b0168f And now the interpreter works (I think) correctly! 2018-12-13 13:31:04 +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 7d0b6bec97 Colourised print. 2018-12-12 11:48:24 +00:00
Simon Brooke 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
Simon Brooke 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
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 645ab3674e All unit tests pass. The eval-quote problem is solved. 2018-12-07 06:43:23 +00:00
Simon Brooke fd9c851185 Merge branch 'develop' of github.com:simon-brooke/post-scarcity into develop 2018-12-07 06:39:23 +00:00
Simon Brooke 1307c65e94 And the answer was, eval is a function, not a special form. 2018-12-07 06:32:02 +00:00