Commit graph

14 commits

Author SHA1 Message Date
2b0bcecc66 Fix incorrectly cons'd token source 2025-07-09 14:37:35 +02:00
dd3fe5369d Fix column off-by-one error in source tracking 2025-07-09 14:37:25 +02:00
c3dc447fe4 Remove any trace of the attempt to parse in C6L comments 2025-07-09 14:36:47 +02:00
857fa43df0 Allow names to start with underscore 2025-07-08 13:41:16 +02:00
4d6ad30eae Add some proper error handling to user-side compiler 2025-07-07 19:44:57 +02:00
615c66f304 Add remaining arithmetic comparisons (and test program) to USC 2025-07-07 15:51:11 +02:00
3f3d94367f Add PRINT-OBJECT method to TOKEN-NUMBER 2025-05-22 13:14:55 +02:00
38406c80ee Add various transformation rules 2025-05-22 13:14:55 +02:00
1307e31268 Better handling of operators, source, and comments in tokenizer
...among other minor changes to accomodate the parser.
2025-05-22 13:14:55 +02:00
8acbf2caec Define more atomic tokens, and add shortcut macro for doing it 2025-05-22 13:14:55 +02:00
ae39a48890 Add PRINT-OBJECT method for TOKEN-NAME 2025-05-22 13:14:55 +02:00
25fd7675d0 Rename TOKEN-NAME's TEXT slot to NAME to match TOKEN-KEYWORD 2025-05-22 13:14:55 +02:00
45a66ce323 Give tokens an INITFORM for SOURCE (to NIL) 2025-05-22 13:14:55 +02:00
3211f6d441 Add primitive tokenizer for USC 2025-05-16 12:31:18 +02:00