Commit graph

370 commits

Author SHA1 Message Date
efa6a3246d Started work on binding functions. Not yet complete. 2026-05-04 16:15:57 +01:00
f4303247b9 Added files which were missed by the last commit. 2026-05-04 13:15:30 +01:00
8c5dccb5c8 My monster, she builds! 2026-05-04 10:34:07 +01:00
92490ebd5f Still grinding incrementally forward, through barbed wire entanglements.
Morale fading.
2026-05-03 17:26:53 +01:00
ab0ea09bd4 Still still doesn't compile. Progress is being made, but it's fair awfy slow. 2026-05-03 14:17:31 +01:00
aac4669a3d Still doesn't compile, but I think excellent progress. 2026-04-28 11:54:15 +01:00
dbeb99759a Merge branch 'feature/reengineering-17-21' of ssh://git.journeyman.cc:4022/simon/post-scarcity into feature/reengineering-17-21 2026-04-26 09:44:59 +01:00
aff1430762 Brought dump in from 0.0.6. This may be a mistake and I may reverse it. 2026-04-26 09:44:09 +01:00
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
dd4176e20b Not much progess. Priority has to be in fixing debug_printf. 2026-04-23 12:29:10 +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
ef59563e25 Still in progress. Nothing workds. 2026-04-21 14:43:09 +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
812a1be7d9 Work on simplifying the Doxygen CSS; which was entirely a side project. 2026-04-20 10:12:55 +01:00
d952623266 Preparing for the great documentation reskinning! 2026-04-19 16:28:50 +01:00
521c5d2285 Work on customising Doxygen output. 2026-04-19 13:32:00 +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
83537391a6 Written the constructor for exceptions; in the process, added a
metadata slot as a first class slot of exceptions.
2026-04-16 21:33:48 +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
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