Commit graph

69 commits

Author SHA1 Message Date
08a7c4153c Reformatted code; made paths in generated documentation relative. 2026-02-14 15:32:59 +00:00
5e6363e6ae Fixed the horrendous 'unbound symbol nil' bug. Also work on documentation and
unit tests.
2026-02-14 11:40:52 +00:00
f6d7fcea1e Woohoo! Huge decrease in cells not cleaned up, with fixing one stupid bug. 2026-02-13 12:50:02 +00:00
004ff6737c feature-2: allocating cells with count = 1; 7 unit tests (all bignums) fail. 2026-02-12 10:17:11 +00:00
e489d02069 Mainly unit tests. 39/45 currently pass; the failures are all in bignum arithmetic and in deallocation. 2026-02-03 21:47:25 +00:00
e41ae1aa8b OK, big win: the oblist is now a hashmap, and it works. I have clear ideas now
about how to implement namespaces. There are probably regressions in this, but
progress nevertheless!
2026-02-03 17:20:55 +00:00
cbcced70b2
Just poking around and trying to remember where the problems are. 2023-04-08 11:17:18 +01:00
86961577a6
Mostly more documentation 2021-09-12 18:43:07 +01:00
a8315d649f
Made try/catch actually work 2021-09-12 16:20:13 +01:00
462c0c69b4
Fixed bug that reading map literal didn't evaluate values. 2021-09-12 15:50:29 +01:00
40e3502247
Standardised format (with make format) 2021-09-12 15:06:05 +01:00
2b8f31d2ce
Paths of #include files 2021-09-12 15:03:18 +01:00
78d2395d60
Let working, unit tested. 2021-09-08 15:01:48 +01:00
3abebe937c
Added list and unit test for it. 2021-09-08 13:55:08 +01:00
06e87f09fa
Mapcar working; really only let left to do for version 0.1 2021-09-08 13:15:06 +01:00
6771d6494c
Append works; mapcar doesn't; loop isn't even written. 2021-08-23 12:35:05 +01:00
c63c262b74
Compact path notation now expands correctly 2021-08-18 18:48:05 +01:00
5c6ac7f75d
Making progress on paths! 2021-08-18 13:40:35 +01:00
b6ae110f66
Hybrid assoc lists 2021-08-18 11:00:47 +01:00
b0a49fb71d
Restandardised formatting. 2021-08-17 16:37:04 +01:00
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
eadb125b83
Hashmaps now *mostly* work 2021-08-16 23:23:03 +01:00
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
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
3f3b596ff0
Added the beginnings of hashmap but does not yet compile. 2021-08-03 15:46:50 +01:00
70d176982b
Work on exception handling, especially around ratio arithmetic
Much simplified but will break things!
2021-07-25 17:02:28 +01:00
d2101dbd47
Started to try to get back into this; work on exceptions and loops. 2021-07-24 08:54:55 +01:00
897d5d2670 Map in function position 2019-02-07 13:57:37 +00:00
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
0687b0baeb #8: Buggy, but a lot of it works. 2019-02-06 11:17:31 +00:00
b6958bbf65 #8: compiles, but most tests fail. 2019-02-05 13:46:46 +00:00
e7ef82d23f #8: keywords as functions on associations working 2019-02-05 11:02:04 +00:00
bd4d655362 Metadata for file streams 2019-01-31 13:24:06 +00:00
f9bcac10e7 Fixed, working. 2019-01-29 22:36:20 +00:00
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
a640c9dff9 It works! 2019-01-28 18:46:24 +00:00
0e11adea1c Compiles, most tests break 2019-01-27 17:22:13 +00:00
a355a28ffa Tactical commit whilst converting to URL_FILE 2019-01-24 19:36:00 +00:00
bf72ae379d Getting closer. WARNING: GC disabled in this commit. 2019-01-22 09:48:26 +00:00
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
22fa7314d6 Mostly fixing and standardising documentation. 2019-01-20 20:37:44 +00:00
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
7f93b04b72 Various refactorings around bignum arithmetic 2019-01-17 17:04:14 +00:00
d624c671cd Major refactoring, all tests still pass
Bignum issues not yet folly resolved.
2019-01-05 11:42:17 +00:00
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
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
a02d286ad5 Spotted a bug in car of a stream, and fixed it. 2018-12-31 16:18:39 +00:00
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
72ab4af20e Seem to have fixed the 'oblist getting lost' problem. 2018-12-31 14:43:47 +00:00
e7dffcad2c Not really making progress. 2018-12-30 19:07:07 +00:00