Commit graph

75 commits

Author SHA1 Message Date
99d4794f3b Upversioned the C source tree to '0.0.7-SNAPSHOT', but proposing to start experimental
work towards 0.1.0 in separate source trees.
2026-03-19 13:59:06 +00:00
788cb48b37 Ready for release 0.0.6 (still lots of bugs). 2026-03-19 13:38:50 +00:00
a20c956288 'Fixed' issue #8; but done so by introducing a goto. Not entirely happy about this. 2026-03-18 21:35:34 +00:00
dc5cac0bd8 Work on the 'member?' bug - (issue #8) -- which turns out to be assoc/interned.
Progress has been made, but this is not fixed.
2026-03-18 20:44:18 +00:00
54a99b6796 Working on the member? bug. No fix, but some improvements in debug message format.
The bug is actually either in `cond` or in `cdr`, but I'm finding it extremely hard
to trace.
2026-03-18 11:53:48 +00:00
de50a30be2 Getting closer to tracking down the member bug, but cannot use debugger on laptop screen. 2026-03-16 15:26:12 +00:00
d1ce893633 This is broken, but the stack limit feature works. Some debugging needed. 2026-03-13 23:42:57 +00:00
2536e76617 Added 'depth' counter to stack frames. The idea is two-fold:
1. You can limit runaway recursion by binding a symbol *max_stack_depth* in the environment
2. You can limit the number of backtrace frames printed.

However, neither of these have been implemented yet.
2026-03-02 11:10:29 +00:00
3a1f64d7ff Well, I'm back to the same failed unit tests as the develop branch
and I *feel* that the intern code is better. But it's not without
problems and I don't think I can release at this. But it may be
ready to merge back.
2026-03-01 20:04:21 +00:00
bcb227a5f9 Still not working, but I have increasing confidence I'm on the right track. 2026-02-28 18:09:48 +00:00
a1c377bc7c Established intern bug is in getting, not setting; improved exceptions. 2026-02-28 15:15:42 +00:00
54f6f023c6 More debugging output. Getting desperate! 2026-02-28 12:24:59 +00:00
72548097cf Rewriting intern. This is badly broken, but I think on the road to better. 2026-02-28 11:21:11 +00:00
1900bca706 Very, very nearly ready for 0.0.6. Too tired to press the burron tonight. 2026-02-27 02:43:21 +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
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
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
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
5c6ac7f75d
Making progress on paths! 2021-08-18 13:40:35 +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
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
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