Commit Graph

8 Commits

Author SHA1 Message Date
cdo acb4cd38d7 Extract line reading logic to reader and remove REPL tests
Reading a line into the buffer was the only logic complex enough to be
worth testing really, and exposing the necessary parts of it to test
it effectively was a pain.  Makes more sense to move read_line out and
throw away most of the tests.
2024-10-24 22:09:33 +01:00
cdo ecd50c76c5 Reinitialize memory pool on each loop of the REPL 2024-10-24 21:39:47 +01:00
cdo b491a1a782 Add basic EOF handling to REPL 2024-10-24 21:39:47 +01:00
cdo d4855813a2 Handle nesting and subtraction in reader 2024-10-24 21:39:47 +01:00
cdo 8d5f5e4ede Create basic REPL module 2024-10-24 21:39:45 +01:00
cdo 29deffdce9 Implement number evaluation 2024-10-24 16:47:18 +01:00
cdo f251fd04cc Implement decimal integer reading 2024-10-24 16:24:49 +01:00
cdo 077245b3c7 Create expression struct and memory pool 2024-10-24 16:24:49 +01:00