/

>
path: root/miniscm/init.scm (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-10-13read.scm: readtable:read-ident -> read:read-identGravatar Peter McGoron 1-4/+5
2024-10-13number reader: add to toplevelGravatar Peter McGoron 1-7/+58
2024-10-13add decimal number to toplevel readtableGravatar Peter McGoron 1-0/+21
2024-10-13fix signs, make radix push more preciseGravatar Peter McGoron 1-5/+15
2024-10-13Revert "attempt to read numbers with a readtable"Gravatar Peter McGoron 2-374/+7
This reverts commit 8d5a93a2dafd34b13b196dbae803cb9ffffa5e00.
2024-10-13add basic number readerGravatar Peter McGoron 1-23/+280
2024-10-05attempt to read numbers with a readtableGravatar Peter McGoron 2-7/+374
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-09-27read: make whitespace after "#" an errorGravatar Peter McGoron 1-4/+4
2024-09-27read: character constantsGravatar Peter McGoron 1-5/+52
2024-09-27read: bytevectorsGravatar Peter McGoron 1-1/+11
2024-09-27read: hash constants and directivesGravatar Peter McGoron 2-13/+38
2024-09-27read: properly restore state when reading datum commentsGravatar Peter McGoron 1-8/+20
2024-09-27read: document datum labelGravatar Peter McGoron 1-0/+8
2024-09-27read: change datum label to object, that returns an encapsulated datum labelGravatar Peter McGoron 1-33/+47
2024-09-27read: add object encapsulating identifierGravatar Peter McGoron 3-24/+49
2024-09-27Revert "add object helper functions"Gravatar Peter McGoron 3-159/+129
This reverts commit 0d5f4545d0d3db7c9ec63cac005bb71b85fe6b23.
2024-09-27Revert "object: change to a stateful table"Gravatar Peter McGoron 4-95/+42
This reverts commit 3c34c4a5a7253df4417420bf276a78f8e9e1969b.
2024-09-27Revert "object: rename"Gravatar Peter McGoron 3-12/+8
This makes things much slower for questionable benefit. A better version might use a hash table. A better interpreter would use some form of partial evaluation to optimize the EQ? chain. This reverts commit 4acea69841ad62ec5d46eb565bbb5d98f84b3d38.
2024-09-26object: renameGravatar Peter McGoron 3-8/+12
2024-09-26object: change to a stateful tableGravatar Peter McGoron 4-42/+95
2024-09-24add object helper functionsGravatar Peter McGoron 3-129/+159
2024-09-22miniscm: string->symbol and symbol->stringGravatar Peter McGoron 1-1/+17