Commit graph

63 commits

Author SHA1 Message Date
Simon Brooke cbcced70b2
Just poking around and trying to remember where the problems are. 2023-04-08 11:17:18 +01:00
Simon Brooke 86961577a6
Mostly more documentation 2021-09-12 18:43:07 +01:00
Simon Brooke a8315d649f
Made try/catch actually work 2021-09-12 16:20:13 +01:00
Simon Brooke 462c0c69b4
Fixed bug that reading map literal didn't evaluate values. 2021-09-12 15:50:29 +01:00
Simon Brooke 40e3502247
Standardised format (with make format) 2021-09-12 15:06:05 +01:00
Simon Brooke 2b8f31d2ce
Paths of #include files 2021-09-12 15:03:18 +01:00
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 06e87f09fa
Mapcar working; really only let left to do for version 0.1 2021-09-08 13:15:06 +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 5c6ac7f75d
Making progress on paths! 2021-08-18 13:40:35 +01:00
Simon Brooke b6ae110f66
Hybrid assoc lists 2021-08-18 11:00:47 +01:00
Simon Brooke b0a49fb71d
Restandardised formatting. 2021-08-17 16:37:04 +01:00
Simon Brooke 93d4bd14a0
Generally, changed working with tags as strings to as values.
This seems both cheaper and safer; what's not to like?
2021-08-17 16:09:00 +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 bfd7304da1
Bother. It looks like I'd already fully implemented hashmaps...
May need to back out a whole hill of work.
2021-08-16 15:12:05 +01:00
Simon Brooke 3f3b596ff0
Added the beginnings of hashmap but does not yet compile. 2021-08-03 15:46:50 +01:00
Simon Brooke 70d176982b
Work on exception handling, especially around ratio arithmetic
Much simplified but will break things!
2021-07-25 17:02:28 +01:00
Simon Brooke d2101dbd47
Started to try to get back into this; work on exceptions and loops. 2021-07-24 08:54:55 +01:00
Simon Brooke 897d5d2670 Map in function position 2019-02-07 13:57:37 +00:00
Simon Brooke f36436a9e1 : 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 : Buggy, but a lot of it works. 2019-02-06 11:17:31 +00:00
Simon Brooke b6958bbf65 : compiles, but most tests fail. 2019-02-05 13:46:46 +00:00
Simon Brooke e7ef82d23f : keywords as functions on associations working 2019-02-05 11:02:04 +00:00
Simon Brooke bd4d655362 Metadata for file streams 2019-01-31 13:24:06 +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 a640c9dff9 It works! 2019-01-28 18:46:24 +00:00
Simon Brooke 0e11adea1c Compiles, most tests break 2019-01-27 17:22:13 +00:00
Simon Brooke a355a28ffa Tactical commit whilst converting to URL_FILE 2019-01-24 19:36:00 +00:00
Simon Brooke bf72ae379d Getting closer. WARNING: GC disabled in this commit. 2019-01-22 09:48:26 +00:00
Simon Brooke 64fc43e9fc OK, my idea that long multiplication is like long addition is wrong.
It's still broken, but it's broken because of fundamental misunderstanding which tinkering won't solve.
2019-01-20 23:34:46 +00:00
Simon Brooke 22fa7314d6 Mostly fixing and standardising documentation. 2019-01-20 20:37:44 +00:00
Simon Brooke 0f8bc990f2 Much investigation of bignum problems
bignum multiply is still not working, but as bignum read and bignum divide depend on it, it's the problem to hit first.
2019-01-19 16:28:15 +00:00
Simon Brooke 7f93b04b72 Various refactorings around bignum arithmetic 2019-01-17 17:04:14 +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 67802a07b8 Now successfully reading/printing 2 cell bignums
Something is wrong with n-cell bignums, but let's make haste slowly.
2019-01-04 10:40:15 +00:00
Simon Brooke d9d789fdd0 Now creating the correct internal bignum representation
add_integers returns an integer which by inspection of the internal representation is correct, but the print representation is not correct.
2019-01-03 11:21:08 +00:00
Simon Brooke a02d286ad5 Spotted a bug in car of a stream, and fixed it. 2018-12-31 16:18:39 +00:00
Simon Brooke e5f40032e9 Now safely detecting (but not dealing with) integer overflow.
Also printing and reading integers with comma separators.
2018-12-31 16:15:14 +00:00
Simon Brooke 72ab4af20e Seem to have fixed the 'oblist getting lost' problem. 2018-12-31 14:43:47 +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 342f0308d3 The beginning of bignums is in place, tests still pass. 2018-12-29 22:30:07 +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