aboutsummaryrefslogtreecommitdiffstats
path: root/tests.scm
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-10-05 22:36:06 -0400
committerGravatar Peter McGoron 2024-10-05 22:36:06 -0400
commit8d5a93a2dafd34b13b196dbae803cb9ffffa5e00 (patch)
tree6b8da2e8e9d9a4c18c59955aee281c94094b8af5 /tests.scm
parentread: make whitespace after "#" an error (diff)
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).
Diffstat (limited to 'tests.scm')
0 files changed, 0 insertions, 0 deletions