Commit graph

209 commits

Author SHA1 Message Date
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
bfd7304da1
Bother. It looks like I'd already fully implemented hashmaps...
May need to back out a whole hill of work.
2021-08-16 15:12:05 +01:00
132f5fb268
More work on hashmaps 2021-08-06 00:24:19 +01:00
6f54b92d32
check_tag now works for vectorspace as well as consspace tags
All tests except bignum boundary tests still pass.
2021-08-05 23:35:21 +01:00
492460f37e
Compiles and tests, but there are still major problems. 2021-08-04 11:16:00 +01:00
3f3b596ff0
Added the beginnings of hashmap but does not yet compile. 2021-08-03 15:46:50 +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
16f78f4077
Print output for lambda and nlambda cells was misleading. 2021-07-19 10:57:22 +01:00
8522e50f42
Really shouldn't have the same VERSION in 'develop' as in 'master'! 2021-07-19 09:53:08 +01:00
e0f6e0a42a
Added information on command line flags
because picking this up again after five years is HARD!
2021-07-19 09:49:30 +01:00
baf8d6669d OK, it is BETTER, but not FIXED.
(expt 2 63) goes weirdly wrong - returns T.

Internal representation is correct, so fault is in print.
2019-02-15 18:49:52 +00:00
71354d0f86 Woohoo! Actual goddamned progress! Multiply might be working!
Print definitely isn't!
2019-02-15 14:19:41 +00:00
27411689c9 Removed the print_use_colours feature.
More nuisance than help at this stage; removed.
2019-02-07 15:42:01 +00:00
af814d8f03 #time: Fixed
Major (unexpected) problem was collision between the name of my header file and that of the system header file!
2019-02-07 15:32:06 +00:00
897d5d2670 Map in function position 2019-02-07 13:57:37 +00:00
3043829745 #17: Fixed 2019-02-07 13:40:34 +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
0687b0baeb #8: Buggy, but a lot of it works. 2019-02-06 11:17:31 +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
2bebee6002 #8: Bare bones 2019-02-05 10:27:16 +00:00
23e4f0befa A bit of work on time, but it doesn't actually work yet. 2019-02-05 09:59:05 +00:00
8cab28f6c8 Proper fix for the junk characters bug. 2019-01-31 22:49:25 +00:00
83accb2be4 #13: Fixed 2019-01-31 22:39:32 +00:00
0fea9580fa Investigating the junk character problem. 2019-01-31 14:17:29 +00:00
bd4d655362 Metadata for file streams 2019-01-31 13:24:06 +00:00
86319fd1c3 That seems to fix it! 2019-01-30 01:26:41 +00:00
eb49ca4e2d Improvements to URL metadata collection
Still not perfect - some corruption of data.
2019-01-30 00:32:55 +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
b15c0e8f89 Tactical commit 2019-01-28 15:02:46 +00:00
8334e2bf1f Still segfaults on read from URL. 2019-01-28 10:32:34 +00:00
3470f27585 Can now read files from the filesystem. 2019-01-27 18:54:23 +00:00
d9acb277bf Tests now pass
at least, all the ones that did before!
2019-01-27 17:51:28 +00:00
0e11adea1c Compiles, most tests break 2019-01-27 17:22:13 +00:00
b8f241c2c5 Progress, not working 2019-01-27 12:23:51 +00:00
a355a28ffa Tactical commit whilst converting to URL_FILE 2019-01-24 19:36:00 +00:00
f8c20ab3b1 Still broken, but I believe we're moving in the right direction. 2019-01-24 10:12:08 +00:00
bf72ae379d Getting closer. WARNING: GC disabled in this commit. 2019-01-22 09:48:26 +00:00
3fd322af6f Major progress, multiply now almost works
There's a premature free() somewhere, and I'm not sure why.

Print depends on divide, which is easy, but also on mod and floor (of rationals) which isn't.
2019-01-21 16:14:25 +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
0f8bc990f2 Much investigation of bignum problems
bignum multiply is still not working, but as bignum read and bignum divide depend on it, it's the problem to hit first.
2019-01-19 16:28:15 +00:00
46a4132823 Made it easier to run individual unit tests 2019-01-18 20:55:03 +00:00
c209abb4f9 Added unit tests to establish that bignum addition and print work
the bug must be in multiplication.
2019-01-18 13:39:12 +00:00
7f93b04b72 Various refactorings around bignum arithmetic 2019-01-17 17:04:14 +00:00