Commit graph

31 commits

Author SHA1 Message Date
f7eabb9b62 Working on eval/apply. Unfinished, does not build. More significantly,
as the focus ot this prototype is supposed to be building things in
Lisp,
I've started deliberately copying stuff that mostly works directly from
the 0.0.6 branch into this branch. After all, if it's going to be
replaced in Lisp, it doesn't have to be the most elegant C.
2026-04-25 21:52:05 +01:00
63906fe817 Print is less badly broken. Read is less badly broken. GC is too aggressive. 2026-04-24 21:20:23 +01:00
22b0160a26 Builds and runs, but print is badly broken. Need some rethink. 2026-04-24 09:22:06 +01:00
9425506e2a OK, garbage collection is now working a little bit. 2026-04-23 17:34:07 +01:00
235d455b80 More memory debugging, but what it shows is that deallocation is not happening. 2026-04-23 14:45:51 +01:00
aa0d60bbed It compiles. It runs. Nothing works, but it also doesn't crash. Victory! 2026-04-23 11:50:30 +01:00
8d2acbeb0f Still making progress. Dropped the archive because it was causing problems. 2026-04-22 21:09:15 +01:00
eed4711fee Another inconclusive session: still nothing works, still making progress. 2026-04-22 18:16:00 +01:00
aa5b34368e Modified make_cons and make_frame to illustrate the pattern I
want to apply generally. This does not compile!
2026-04-20 23:21:30 +01:00
6148d3699f Right, I'm committing this session because I'm too cold and tired to go on.
It does not at present build (and it's going to take a good bit more work
before it does).
2026-04-20 18:29:28 +01:00
f05d1af9d6 Successfully added mutexes protecting freelist access. No behaviour change. 2026-04-20 13:59:47 +01:00
c59825d7fe Closes #18. Change to char32_t everywhere; builds fine, behaviour as before. 2026-04-20 12:10:38 +01:00
0e8712a076 Further work on print; still not working properly. 2026-04-18 17:20:19 +01:00
9a0f186f29 Things working much better now. assoc works. Currently printing of
string-like-things does not work, but I suspect that's shallow.
2026-04-18 15:44:14 +01:00
02a4bc3e28 Hot damn! When you see an obvious, stupid bug you created, you can't unsee it! 2026-04-18 11:02:35 +01:00
ca5671f613 String-like-things are being created and printed correctly; bind is broken. 2026-04-17 18:40:32 +01:00
cf05e30540 Well, we have a REPL. It blows up horribly, but we have one. 2026-04-17 14:20:31 +01:00
4efe9eab87 Very close to a basic REPL now. 2026-04-16 22:32:02 +01:00
f915a9993f Fixed assigning arguments to slots in the frame; also fixed a bug in bind...
But did that by switching away from using Lisp calling convention, because
that broke horribly. This is bad news and must be sorted out.
2026-04-16 17:13:20 +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
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
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
60921be3d4 Much more progress, still doesn't compile. 2026-03-30 09:35:34 +01: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
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