Simon Brooke
27411689c9
Removed the print_use_colours
feature.
...
More nuisance than help at this stage; removed.
2019-02-07 15:42:01 +00:00
Simon Brooke
93c40b7d27
Merge branch 'feature/time' into develop
2019-02-07 15:32:15 +00:00
Simon Brooke
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
Simon Brooke
0a9d54f97d
Merge branch 'develop' into feature/time
2019-02-07 14:29:05 +00:00
Simon Brooke
b35eb8f5c7
Unit tests for maps
2019-02-07 14:19:49 +00:00
Simon Brooke
897d5d2670
Map in function position
2019-02-07 13:57:37 +00:00
Simon Brooke
86ccdfa4be
Merge branch 'feature/17' into develop
2019-02-07 13:40:43 +00:00
Simon Brooke
3043829745
#17 : Fixed
2019-02-07 13:40:34 +00:00
Simon Brooke
a0e698db5c
Merge branch 'feature/8' into develop
2019-02-07 10:28:33 +00:00
Simon Brooke
e35bc643a7
Ignore unit test detritus
2019-02-07 10:28:20 +00:00
Simon Brooke
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
Simon Brooke
0687b0baeb
#8 : Buggy, but a lot of it works.
2019-02-06 11:17:31 +00:00
Simon Brooke
b6958bbf65
#8 : compiles, but most tests fail.
2019-02-05 13:46:46 +00:00
Simon Brooke
e7ef82d23f
#8 : keywords as functions on associations working
2019-02-05 11:02:04 +00:00
Simon Brooke
2bebee6002
#8 : Bare bones
2019-02-05 10:27:16 +00:00
Simon Brooke
23e4f0befa
A bit of work on time, but it doesn't actually work yet.
2019-02-05 09:59:05 +00:00
Simon Brooke
8cab28f6c8
Proper fix for the junk characters bug.
2019-01-31 22:49:25 +00:00
Simon Brooke
83accb2be4
#13 : Fixed
2019-01-31 22:39:32 +00:00
Simon Brooke
0fea9580fa
Investigating the junk character problem.
2019-01-31 14:17:29 +00:00
Simon Brooke
bd4d655362
Metadata for file streams
2019-01-31 13:24:06 +00:00
Simon Brooke
5e1ec1181a
Merge remote-tracking branch 'origin/develop' into develop
2019-01-30 01:26:54 +00:00
Simon Brooke
86319fd1c3
That seems to fix it!
2019-01-30 01:26:41 +00:00
Simon Brooke
45af898f5e
That seems to fix it!
2019-01-30 00:39:43 +00:00
Simon Brooke
eb49ca4e2d
Improvements to URL metadata collection
...
Still not perfect - some corruption of data.
2019-01-30 00:32:55 +00:00
Simon Brooke
2258b13cc9
Merge branch 'feature/stream-metadata' into develop
2019-01-29 22:36:38 +00:00
Simon Brooke
f9bcac10e7
Fixed, working.
2019-01-29 22:36:20 +00:00
Simon Brooke
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
Simon Brooke
10098a83bf
Made the slurp unit test more robust.
2019-01-28 19:00:29 +00:00
Simon Brooke
3618368f63
Merge branch 'feature/stream-io' into develop
2019-01-28 18:49:43 +00:00
Simon Brooke
6849b87c5f
Merge branch 'feature/stream-io'
...
Conflicts:
unit-tests/integer-allocation.sh
2019-01-28 18:48:28 +00:00
Simon Brooke
a640c9dff9
It works!
2019-01-28 18:46:24 +00:00
Simon Brooke
b15c0e8f89
Tactical commit
2019-01-28 15:02:46 +00:00
Simon Brooke
8334e2bf1f
Still segfaults on read from URL.
2019-01-28 10:32:34 +00:00
Simon Brooke
3470f27585
Can now read files from the filesystem.
2019-01-27 18:54:23 +00:00
Simon Brooke
d9acb277bf
Tests now pass
...
at least, all the ones that did before!
2019-01-27 17:51:28 +00:00
Simon Brooke
0e11adea1c
Compiles, most tests break
2019-01-27 17:22:13 +00:00
Simon Brooke
b8f241c2c5
Progress, not working
2019-01-27 12:23:51 +00:00
Simon Brooke
a355a28ffa
Tactical commit whilst converting to URL_FILE
2019-01-24 19:36:00 +00:00
Simon Brooke
f8c20ab3b1
Still broken, but I believe we're moving in the right direction.
2019-01-24 10:12:08 +00:00
Simon Brooke
bf72ae379d
Getting closer. WARNING: GC disabled in this commit.
2019-01-22 09:48:26 +00:00
Simon Brooke
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
Simon Brooke
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
Simon Brooke
22fa7314d6
Mostly fixing and standardising documentation.
2019-01-20 20:37:44 +00:00
Simon Brooke
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
Simon Brooke
000ae3c392
Not really a unit test, just trying to find where the problem is
2019-01-19 10:55:24 +00:00
Simon Brooke
46a4132823
Made it easier to run individual unit tests
2019-01-18 20:55:03 +00:00
Simon Brooke
b433171fb6
Problem is that reading bignums depends on multiplying bignums...
...
Which doesn't work for the second digit into bignum territory - so it's fine at the boundary...
2019-01-18 14:25:32 +00:00
Simon Brooke
d8991e8823
H'mmm. But although two-cell bignums work, n-cell do not.
...
Both add and print fail with numbers larger than 2^120
2019-01-18 14:09:26 +00:00
Simon Brooke
c74b9cc162
Bignum subtraction does NOT work
...
Also subtraction of large numbers which are not beyond the bignum barrier does not work.
2019-01-18 13:57:41 +00:00
Simon Brooke
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