Commit graph

62 commits

Author SHA1 Message Date
1900bca706 Very, very nearly ready for 0.0.6. Too tired to press the burron tonight. 2026-02-27 02:43:21 +00:00
Simon Brooke
90e862cc59 let segfault bug "fixed". *But* I suspect there's memory leaking here. 2026-02-25 20:13:57 +00:00
Simon Brooke
3665326c55 Made eq and equal vararg functions, and appended ? to their names as predicates. 2026-02-25 15:24:02 +00:00
Simon Brooke
8c63272214 Fixed runaway recursion in cond. However, let is still segfaulting, and member
does not work correctly.
2026-02-25 11:17:40 +00:00
62ebaf9819 Added logical operators and, not and or. Closes #3 2026-02-24 01:45:51 +00:00
70376c6529 Careful debugging of the memory leak problem. At this stage,
stack frames for interpreted (but not primitive) functions appear not to be being
reclaimed, and the oblist doesn't seem to be being fully reclaimed.
2026-02-20 19:39:19 +00:00
8629e33f92 Added a flag, simplify to the arg list of make_ratio, so that we can
create ratios which would otherwise somplify to integers, in order to
make ratio arithmetic easier.
2026-02-15 23:47:28 +00:00
08a7c4153c Reformatted code; made paths in generated documentation relative. 2026-02-14 15:32:59 +00:00
5e6363e6ae Fixed the horrendous 'unbound symbol nil' bug. Also work on documentation and
unit tests.
2026-02-14 11:40:52 +00:00
f6d7fcea1e Woohoo! Huge decrease in cells not cleaned up, with fixing one stupid bug. 2026-02-13 12:50:02 +00:00
e41ae1aa8b OK, big win: the oblist is now a hashmap, and it works. I have clear ideas now
about how to implement namespaces. There are probably regressions in this, but
progress nevertheless!
2026-02-03 17:20:55 +00:00
cbcced70b2
Just poking around and trying to remember where the problems are. 2023-04-08 11:17:18 +01:00
86961577a6
Mostly more documentation 2021-09-12 18:43:07 +01:00
a8315d649f
Made try/catch actually work 2021-09-12 16:20:13 +01:00
462c0c69b4
Fixed bug that reading map literal didn't evaluate values. 2021-09-12 15:50:29 +01:00
40e3502247
Standardised format (with make format) 2021-09-12 15:06:05 +01:00
2b8f31d2ce
Paths of #include files 2021-09-12 15:03:18 +01:00
78d2395d60
Let working, unit tested. 2021-09-08 15:01:48 +01:00
3abebe937c
Added list and unit test for it. 2021-09-08 13:55:08 +01:00
06e87f09fa
Mapcar working; really only let left to do for version 0.1 2021-09-08 13:15:06 +01:00
6771d6494c
Append works; mapcar doesn't; loop isn't even written. 2021-08-23 12:35:05 +01:00
5c6ac7f75d
Making progress on paths! 2021-08-18 13:40:35 +01:00
b0a49fb71d
Restandardised formatting. 2021-08-17 16:37:04 +01:00
93d4bd14a0
Generally, changed working with tags as strings to as values.
This seems both cheaper and safer; what's not to like?
2021-08-17 16:09:00 +01:00
eadb125b83
Hashmaps now *mostly* work 2021-08-16 23:23:03 +01:00
4fc9545be8
Hashmaps sort-of work but there are still bugs and one test is failing that wasn't. 2021-08-16 18:55:02 +01:00
70d176982b
Work on exception handling, especially around ratio arithmetic
Much simplified but will break things!
2021-07-25 17:02:28 +01:00
d2101dbd47
Started to try to get back into this; work on exceptions and loops. 2021-07-24 08:54:55 +01:00
897d5d2670 Map in function position 2019-02-07 13:57:37 +00:00
f36436a9e1 #8: Done
I'm now of the opinion that this is done at the wrong level in the stack and needs to be redone later; but it works for now.

There's a regression in `open`, but I can't see why.
2019-02-07 09:22:44 +00:00
b6958bbf65 #8: compiles, but most tests fail. 2019-02-05 13:46:46 +00:00
e7ef82d23f #8: keywords as functions on associations working 2019-02-05 11:02:04 +00:00
bd4d655362 Metadata for file streams 2019-01-31 13:24:06 +00:00
f9bcac10e7 Fixed, working. 2019-01-29 22:36:20 +00:00
eb394d153f Setting up medatata works...
And the `inspect` function correctly shows it. However, the `metadata` function segfaults.
2019-01-29 18:31:30 +00:00
a640c9dff9 It works! 2019-01-28 18:46:24 +00:00
0e11adea1c Compiles, most tests break 2019-01-27 17:22:13 +00:00
a355a28ffa Tactical commit whilst converting to URL_FILE 2019-01-24 19:36:00 +00:00
64fc43e9fc OK, my idea that long multiplication is like long addition is wrong.
It's still broken, but it's broken because of fundamental misunderstanding which tinkering won't solve.
2019-01-20 23:34:46 +00:00
22fa7314d6 Mostly fixing and standardising documentation. 2019-01-20 20:37:44 +00:00
7f93b04b72 Various refactorings around bignum arithmetic 2019-01-17 17:04:14 +00:00
d624c671cd Major refactoring, all tests still pass
Bignum issues not yet folly resolved.
2019-01-05 11:42:17 +00:00
a02d286ad5 Spotted a bug in car of a stream, and fixed it. 2018-12-31 16:18:39 +00:00
e5f40032e9 Now safely detecting (but not dealing with) integer overflow.
Also printing and reading integers with comma separators.
2018-12-31 16:15:14 +00:00
72ab4af20e Seem to have fixed the 'oblist getting lost' problem. 2018-12-31 14:43:47 +00:00
e7dffcad2c Not really making progress. 2018-12-30 19:07:07 +00:00
02fe5669d8 Complete reworking of the REPL
which is good in itself, but not what I was meant to be working on.
2018-12-30 17:56:15 +00:00
489f008044 Printing of bignums basically done, not tested. 2018-12-29 23:44:28 +00:00
c21a762413 Much better GC, still a few things being missed. 2018-12-29 20:34:31 +00:00
7b126ea979 Garbage collection now much better, not good
There's clearly still a lot of things getting incremented but not decremented.
2018-12-29 09:35:29 +00:00