aboutsummaryrefslogtreecommitdiffstats
path: root/read.scm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* readtable: Normalize character handled by ACTIONs at the end ofGravatar Peter McGoron 2024-09-071-8/+15
| | | | | | | | | | | | sequences. Previously, if "#true" and "#t" were in the readtable as sequences, the string "#true" would call "#true"'s EXEC function after reading "e", but it would call "#t"'s EXEC function after reading a character after "t" (which could be EOF). The new behavior normalizes everything so that the ACTIONs read the character after the sequence.
* readtable: add documentation for PUSH->READGravatar Peter McGoron 2024-09-071-0/+6
|
* Readtable: fix propagation of default handlers in trie pathsGravatar Peter McGoron 2024-09-071-43/+56
| | | | | | | | | | | | | Previous version did (ACTION 'UPDATE (CDR REST) ACTION) when a new action had to be made. This caused default actions to propagate through the trie. While this isn't bad (it causes #TRU to be equal to #TRUE when that was the last prefix in the tree), it can cause unexpected errors at runtime, and no program should ever depend on its behavior. The current solution is to make a new PASS readtable with a default error action.
* readtable: correctly add trie values. Incorrectly propogates default procedureGravatar Peter McGoron 2024-09-071-17/+19
|
* readtables, first passGravatar Peter McGoron 2024-09-071-0/+300