Commit graph

48 commits

Author SHA1 Message Date
cf655e8020 Investigating why symbols created by read are not equal to those created in C. 2026-05-06 09:16:46 +01:00
818293d4f1 Moved everything from ops/stack_ops (which were not ops) to payloads/stack.
Added io functions to function_bindings.
2026-05-05 19:16:44 +01:00
4d480798e8 Tactical commit: things in 'stack_ops' really didn't belong in ops; moving. 2026-05-05 17:21:16 +01:00
d2efc8ba78 Now happy with what's appearing in the oblist. Reader is very broken. 2026-05-04 19:26:09 +01:00
5ec1c926b0 And, of course, I'd forgotten to add the files for quote. 2026-05-04 18:24:38 +01:00
fcfdb43b05 I *think* that's all the bootstrap functions being bound in the environment. 2026-05-04 18:23:46 +01:00
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
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
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
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
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
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
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
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
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
1afb1b9fad Added work on making namespaces threadsafe. 2026-03-28 11:56:36 +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
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