Commit graph

383 commits

Author SHA1 Message Date
6b89779bab Substantial work on read-list, not yet fully working. 2026-05-06 23:42:25 +01:00
80049f2272 Ran a 'make format', because !'m close to being able to merge this feature. 2026-05-06 16:45:56 +01:00
5e64a33965 Major step forward: equal is now working, and consequently so is assoc. 2026-05-06 16:42:18 +01:00
271b7da46a Right, I have finally undone the issue #18 change. It was a nice idea,
but I have not made it work.
2026-05-06 15:32:35 +01:00
c29a95b00d Got dump working, to try to investigate the assoc bug. Much better
dump output, but `assoc` still doesn't work for read symbols, and
we now have a segfault on exit.
2026-05-06 12:23:46 +01:00
cf655e8020 Investigating why symbols created by read are not equal to those created in C. 2026-05-06 09:16:46 +01:00
1cfd333e26 Merge branch 'feature/reengineering-17-21' of ssh://git.journeyman.cc:4022/simon/post-scarcity into feature/reengineering-17-21 2026-05-05 19:37:02 +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
f895a8e359 Added an end of the day not to state of play 2026-05-04 21:26:36 +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
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