Commit Graph

8 Commits

Author SHA1 Message Date
Peter McGoron f5bd882429 Revert "attempt to read numbers with a readtable"
This reverts commit 8d5a93a2da.
2024-10-13 10:32:28 -04:00
Peter McGoron 8d5a93a2da attempt to read numbers with a readtable
Saving this because I might use it. The implementation is fragile.

SCHEME numbers are in infix notation, so forcing them into the
readtable implementation (which works best for prefix operators) is
like fitting a square peg into a round hole.

I'm going to try tokenizing the expression and parsing using an
operator-precedence parser (things like "+", "@", and "." are infix
operators).
2024-10-05 22:36:06 -04:00
Peter McGoron 5271cc67c6 readtable: add lists 2024-09-20 19:11:36 -04:00
Peter McGoron 6945841d1c readtable: case folding 2024-09-07 21:10:40 -04:00
Peter McGoron 53a174f8e2 readtables, first pass 2024-09-07 17:47:10 -04:00
Peter McGoron 1b56759726 miniscm: add mutable string emulation and char->integer 2024-08-26 17:52:19 -04:00
Peter McGoron 93cfe0d94a minischeme: add char 2024-08-22 21:51:25 -04:00
Peter McGoron 45cfd8ff11 add doubly linked lists, tests, minischeme 2024-08-22 20:05:49 -04:00