Commit graph

48 commits

Author SHA1 Message Date
Simon Brooke eef64ab08c
Documentation tidyup 2023-03-26 16:26:50 +01:00
Simon Brooke 6a8417a367
Working assignment, reader macros, mexpr interpretation. 2023-03-26 16:04:22 +01:00
Simon Brooke b5e418118b Modularised the reader; some general improvement 2023-03-26 11:50:56 +01:00
Simon Brooke 9b532d39a8 Merge branch 'develop' into HEAD 2023-03-25 18:18:30 +00:00
Simon Brooke 820eef33ee Work on bootstrapping 2023-03-25 17:11:15 +00:00
Simon Brooke ce7fe8f3ef
Beginning work on infix operators in mexprs. 2023-03-25 16:26:07 +00:00
Simon Brooke 434276ecea
READ now copes correctly with nil input! 2023-03-24 22:39:23 +00:00
Simon Brooke a87dbfb8fd
Merge remote-tracking branch 'origin/develop' into develop 2023-03-24 22:29:44 +00:00
Simon Brooke c0a362f213
Huge amount of work, not much real progress. 2023-03-24 22:18:18 +00:00
Simon Brooke d049c7ec40 Reader now reads from file, and ignores (some) comments 2021-02-05 18:01:48 +00:00
Simon Brooke 78f2cc39f0 Interop still doesn't work, but it's an extension and I'm wasting time.
All other tests pass
2021-02-05 12:56:33 +00:00
Simon Brooke 9ee343d1ad Progress, not working
Now that EVAL is working better, it's clear that INTEROP is not actually working.
2021-02-04 23:55:41 +00:00
Simon Brooke 971a86e384 Interop now working. Not all tests pass. 2021-02-04 20:48:11 +00:00
Simon Brooke d6801ee443 Added the beginnings of interop tests
This demonstrates that the idea of naming Lisp 1.5 functions implemented
in Clojure with all-upper names will not work with the present INTEROP
operator, so some rethink is going to be needed.
2019-08-30 14:30:54 +01:00
Simon Brooke 75da14790c Many host functions written, some tested. 2019-08-23 13:03:19 +01:00
Simon Brooke 877e9ba00a Added unit tests for RPLACA and RPLACD 2019-08-23 11:34:42 +01:00
Simon Brooke 3d2c524f3f Pure Clojure solution to the rplaca/rplacd problem. 2019-08-23 11:16:27 +01:00
Simon Brooke ffa3ecd1fe Added rplaca as a method - this does not work. 2019-08-22 19:16:36 +01:00
Simon Brooke fd7cc71480 Outlines of host functions 2019-08-21 16:30:11 +01:00
Simon Brooke ecbb4c2218 INTEROP written, but not yet wired in. 2019-08-21 09:35:40 +01:00
Simon Brooke b0c14e0b3b Ooops... 2019-08-20 17:51:02 +01:00
Simon Brooke f6087f23df Links to project website 2019-08-20 17:50:29 +01:00
Simon Brooke 2929c53cd3 Merge branch 'release/0.2.0' into develop 2019-08-20 17:22:14 +01:00
Simon Brooke 14e0383b82 Version 0.2.1-SNAPSHOT 2019-08-20 17:21:29 +01:00
Simon Brooke 8e6ddba492 Version 0.2.0 2019-08-20 17:21:06 +01:00
Simon Brooke d66b79ca3c Much documentation. 2019-08-20 17:17:22 +01:00
Simon Brooke 7a5596dc55 170 assertions, no failures, generating docs. 2019-08-20 16:42:44 +01:00
Simon Brooke fe6fba87e0 Strict mode now works... 2019-08-20 11:35:47 +01:00
Simon Brooke 75bf19e38e Added command-line flags, some of which actually work. 2019-08-19 17:06:10 +01:00
Simon Brooke 692eefeece Further very minor titvation of the repl 2019-08-17 14:11:31 +01:00
Simon Brooke 526b71bce7 Considerably improved REPL, with better parse error handling 2019-08-17 13:48:49 +01:00
Simon Brooke 609e2c3a6e Béowulf is mín nama
My monster, it lives!
2019-08-17 11:14:40 +01:00
Simon Brooke bf83fd3d91 (car-nil-legal t)
This is a joke only afficionados of Portable Standard Lisp will understand.
2019-08-17 11:02:25 +01:00
Simon Brooke dbab7651a3 Names of Clojure implementations of Lisp functions upper cased.
Makes it a damn sight easier to remember whether a function you're calling is Clojure or Lisp; avoids confusion and gets rid of those ugly 'primitive-' names.
2019-08-17 10:55:24 +01:00
Simon Brooke b92a24c089 Woohoo!! Only got APPLY and EVAL yet to test! 2019-08-17 10:21:08 +01:00
Simon Brooke a0aa434933 Now up to seventy assertions... 2019-08-17 10:08:26 +01:00
Simon Brooke 10b2ad5322 Added unit tests for about half the bootstrap functions 2019-08-16 19:16:44 +01:00
Simon Brooke 3f4e873e74 Removal of redundant code. 2019-08-16 17:03:17 +01:00
Simon Brooke dfe4333dfa Much improvement; printing works, and bootstrap tests started
There's probably redundant code in this, but I want to commit here just in case what I think is redundant isn't!
2019-08-16 16:56:13 +01:00
Simon Brooke 12bbd0076a Read works, print works, eval is horribly broken. 2019-08-15 21:14:17 +01:00
Simon Brooke 325e991f1f Read/print tests all working nicely! Now for eval... 2019-08-15 16:52:27 +01:00
Simon Brooke d01bb68c0f Dotted pairs reading/printing correctly 2019-08-15 16:46:34 +01:00
Simon Brooke 0321401c2a Full mexpr parsing working, number parsing working 2019-08-15 16:35:46 +01:00
Simon Brooke b4091f28dc Fixed seqability of cons cell, added quote read macro 2019-08-15 09:47:48 +01:00
Simon Brooke 6853c6c29c Added the bones of EVAL; tried to make cons-cell Seqable - failed 2019-08-14 20:41:45 +01:00
Simon Brooke 9f669d2d50 Now homoiconic for SEXPRS. 2019-08-14 18:12:06 +01:00
Simon Brooke 4d09151ab2 An extremely small bug 2019-08-14 17:41:11 +01:00
Simon Brooke 35a7d2ff62 Initial commit: It's sort-of beginning to work... 2019-08-14 16:38:26 +01:00