Commit graph

209 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
af21e506ef Whoops! Had the wrong debug tag on debug calls in equal.c 2026-02-25 22:16:14 +00:00
Simon Brooke
ffceda5edc Greatly improved performance of equal for string like things. 2026-02-25 22:10:37 +00:00
Simon Brooke
90e862cc59 let segfault bug "fixed". *But* I suspect there's memory leaking here. 2026-02-25 20:13:57 +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
d34d891211 Fixed subtraction regression; added new subtraction unit test. 2026-02-24 09:08:41 +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
8629e33f92 Added a flag, simplify to the arg list of make_ratio, so that we can
create ratios which would otherwise somplify to integers, in order to
make ratio arithmetic easier.
2026-02-15 23:47:28 +00:00
169afc9eb4 add_ratio_ratio fixed. 2026-02-15 17:38:54 +00:00
d7e0220674 Arithmetic equality fixed. 2026-02-15 13:30:27 +00:00
b97401bfde Work on the equality of numbers. The good news: two additional unit tests pass.
The bad news: I'm getting segfaults.
2026-02-15 00:50:30 +00:00
08a7c4153c Reformatted code; made paths in generated documentation relative. 2026-02-14 15:32:59 +00:00
222368bf64 Stage one clean up of test files. Some unit tests are still creating temporary files in
the project root directory, which is still to be fixed; and *I think* known-failing
tests which I don't intend to fix immediately should be marked in some way.
2026-02-14 14:04:41 +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
3659103dd7 Another small fix. Previous fix resulted in 4 more tests failing (now 11);
this fix does not change that, and the regressions must be resolved.
2026-02-13 13:07:43 +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
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
7b2deae88c Second pass on fixing up documentation. Still some links not fixed. 2025-07-06 11:13:01 +01:00
34ef8cd4c1 Merge branch 'develop' of ssh://git.journeyman.cc:4022/simon/post-scarcity into develop 2025-07-05 14:10:40 +01:00
36696254f2 Work on the bignum problem, ongoing. 2025-07-05 13:58:18 +01:00
fa99dd6990 Mainly, work on investigating the bignum arithmetic problem(s). 2025-07-05 09:52:03 +01:00
7c84cb433a Changed from using bit-shifts to using arithmetic operators. More tests fail, but... 2025-03-16 09:38:00 +00:00
bef9be4914 Merge branch 'master' into develop 2025-03-14 10:27:30 +00:00
4e76fad655 Revert to 60-bit bignum chunks; better make test rigging
Still failing the three-chunk bignum unit tests
2025-03-14 10:24:38 +00:00
e9f49d06a6 Added code::blocks project experimentally; also, added macro for bits 2025-03-13 18:26:38 +00:00
ce1c72973d Defensive commit before experimenting with code::blocks 2025-03-13 12:47:54 +00:00
cbcced70b2
Just poking around and trying to remember where the problems are. 2023-04-08 11:17:18 +01:00
ea0d9a2629
Fixed two coredump issues 2021-09-17 09:57:38 +01:00
1823e0679d
Merge remote-tracking branch 'origin/master' 2021-09-12 18:56:01 +01:00
2ef0824967
Upversioned to 0.0.6-SNAPSHOT 2021-09-12 18:55:15 +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
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
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