Commit graph

337 commits

Author SHA1 Message Date
cb3dcb352e OK, the problem is that make_frame fails to put the arguments into the frame.
I do not (yet) know why not, but that is the problem.
2026-04-16 12:34:47 +01:00
ba985474f6 Initialisation almost succeeds. nil and t are successfully instantiated.
We then go into a mess of exceptions which trigger exceptions until we run out
of allocatable memory, but all those exceptions and stack frames are correctly
allocated and torn down again afterwards, so.... sort of good?
2026-04-16 11:39:01 +01:00
04aa32bd5a Whoops! several new files missed from recent commits. 2026-04-16 00:24:03 +01:00
25c87aac6e Added debug messages to initialisation functions, but getting a segfault.
Not going to debug that tonight!
2026-04-16 00:22:24 +01:00
f751fc8a09 More code, closer to working, still builds. 2026-04-15 22:47:44 +01:00
c9f50572ab Many more ops written, and it compiles. Nothing works yet. 2026-04-15 19:50:10 +01:00
b5a2e09763 Things that are self-evaluating can self-evaluate. 2026-04-13 14:52:05 +01:00
f5f8e38b91 Added a note on things to read for the compiler. 2026-04-03 11:14:39 +01:00
b6480aebd5 Converted everything to the new lisp calling convention.
Fixes #19
2026-04-01 17:11:10 +01:00
f3a26bc02e Added bind; but mainly, tactical commit before changinh lisp calling
convention
2026-04-01 16:35:06 +01:00
9eb0d3c5a0 I think read will now read integers and symbols, but it's untested.
Everything compiles.
2026-04-01 16:06:16 +01:00
cc8e96eda4 Further small changes on the way to a reader. 2026-04-01 08:50:35 +01:00
a302663b32 Well, I really made a mess with the last commit; this one sorts it out. 2026-03-31 20:09:37 +01:00
1196b3eb1d read isn't written yet, but I think all the building blocks I need for it are.
Compiles and runs; does nothing yet.
2026-03-31 20:01:01 +01:00
364d7d2c7b Compiles again, now with bootstrap-layer print implemented, but not yet tested.
To get print implemented, I also had to implement a lot of other things.
2026-03-31 15:05:44 +01:00
2b22780ccf This once again does NOT compile. I've done work on macros; they don't work yet.. 2026-03-30 21:49:08 +01:00
e3f922a8bf Added character as a first class object. Stepped through a run; it all works. 2026-03-30 13:29:26 +01:00
a8b4a6e69d My monster, it not only compiles, it now runs! 2026-03-30 11:52:41 +01:00
60921be3d4 Much more progress, still doesn't compile. 2026-03-30 09:35:34 +01:00
1ce9fbda77 Still not fixed... 2026-03-29 17:25:08 +01:00
04bf001652 Progress, but it still doesn't build. I think I'm close, now... 2026-03-29 12:03:31 +01:00
00997d3c90 Down to to compilation errors. Had to reinstate individual size-class headers. 2026-03-29 11:07:30 +01:00
cae27731b7 Huge amount of work. Does not even nearly compile, but it's nearer. 2026-03-28 23:46:14 +00:00
1afb1b9fad Added work on making namespaces threadsafe. 2026-03-28 11:56:36 +00:00
154cda8da3 Added a 'state of play' update; changed the strapline in Home.md 2026-03-26 09:20:41 +00:00
57c5fe314a Things which should have been saved before the last commit. Sigh. 2026-03-26 09:03:27 +00:00
6c4be8f283 Lots more code written, and I think most of it's OK; but it doesn't compile yet. 2026-03-26 09:01:46 +00:00
604fca3c24 Got most of the new memory architecture roughed out. 2026-03-25 11:24:33 +00:00
19d6b0df29 Firming up the roadmap for the 0.1.X prototype 2026-03-24 16:53:54 +00:00
914c35ead0 Moved legacy code into archive, ready for a new rapid(?) prototype.
I may regret doing this!
2026-03-24 16:25:09 +00:00
09051a3e63 Added an essay on the design of paged space objects; started experimenting in Zig. 2026-03-23 18:47:00 +00:00
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
7d0ce67373 Fixed a segfault when the system can initialise no more pages.
Still not fixed the `member?` bug.
2026-03-18 13:27:19 +00:00
69b199fecd Found and fixed a bug I did not previously know about in println. 2026-03-18 12:22:12 +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
109d400f00 Added the unit test for member! 2026-03-16 15:28:09 +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
d42ece5711 Tactical commit while working on the bignum bug, AGAIN. 2026-03-14 21:20:23 +00:00
7f34601523 Well, that was easy! Stack limit now working. 2026-03-14 16:58:55 +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
72a8bc09e0 Very minor fixes/ 2026-03-01 20:37:16 +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