Commit graph

4 commits

Author SHA1 Message Date
Ilja 0a2894f07a Fix bug when starting with $-sign
When a text token was running, it wouldn't stop on a $-sign if it wasn't followed with a "[".
This is good.

But when a token was finished and the next char was a $-sign, it would consider it an MFMOpen, even when not followed by a "[".
This is now fixed.
2022-07-25 01:21:02 +02:00
Ilja 45519a3c2a Make parser work for single token input
We can handle all needed tokens.
We still need to test for multiple tokens and for nesting.
2022-07-24 07:55:55 +02:00
Ilja 733388fa6e Change Lexer to use a data structure for tokens 2022-07-23 20:17:34 +02:00
Ilja 4748d833b2 Make Reader and Lexer work 2022-07-23 19:15:08 +02:00