Commit graph

94 commits

Author SHA1 Message Date
1900bca706 Very, very nearly ready for 0.0.6. Too tired to press the burron tonight. 2026-02-27 02:43:21 +00:00
b720211b7b Made the string returned by c_type null-character terminated. Fixes #6.
This is probably the wrong fix; probably I should have fixed read_string
so that it did not create null-character terminated strings, but it will
do for now. Probably will revisit.
2026-02-26 21:14:39 +00:00
Simon Brooke
3665326c55 Made eq and equal vararg functions, and appended ? to their names as predicates. 2026-02-25 15:24:02 +00:00
Simon Brooke
8c63272214 Fixed runaway recursion in cond. However, let is still segfaulting, and member
does not work correctly.
2026-02-25 11:17:40 +00:00
62ebaf9819 Added logical operators and, not and or. Closes #3 2026-02-24 01:45:51 +00:00
70376c6529 Careful debugging of the memory leak problem. At this stage,
stack frames for interpreted (but not primitive) functions appear not to be being
reclaimed, and the oblist doesn't seem to be being fully reclaimed.
2026-02-20 19:39:19 +00:00
d7e0220674 Arithmetic equality fixed. 2026-02-15 13:30:27 +00:00
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
351ca5bd17 Work on reducing allocation leaks in read_number(). This is now improved, but not yet satisfactory. 2026-02-04 22:57:10 +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
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
2c96e7c30d
Sanitising debug-printf formats, mostly. 2021-09-12 13:41:27 +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
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
b0a49fb71d
Restandardised formatting. 2021-08-17 16:37:04 +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
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
27411689c9 Removed the print_use_colours feature.
More nuisance than help at this stage; removed.
2019-02-07 15:42:01 +00:00
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
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
23e4f0befa A bit of work on time, but it doesn't actually work yet. 2019-02-05 09:59:05 +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
b15c0e8f89 Tactical commit 2019-01-28 15:02:46 +00:00
8334e2bf1f Still segfaults on read from URL. 2019-01-28 10:32:34 +00:00
d9acb277bf Tests now pass
at least, all the ones that did before!
2019-01-27 17:51:28 +00:00
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