Commit Graph

21 Commits

Author SHA1 Message Date
cdo 7b62b58c4f Disable optimisations (-Og isn't cutting it) 2024-10-24 21:39:47 +01:00
cdo 9988f6dcb8 Support * and / in reader 2024-10-24 21:39:47 +01:00
cdo 06bf0a1930 Return 0xdead instead of -1 on error 2024-10-24 21:39:47 +01:00
cdo 7b0f94ce98 Add * and / support to evaluator 2024-10-24 21:39:47 +01:00
cdo 9932aa7ef1 Make + and - left-associative 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 5ea066b75e Refactor parsing routines 2024-10-24 21:39:47 +01:00
cdo bb622a0766 Implement subtraction in evaluator 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 79494cd0ba Add support for sum expressions in evaluate() 2024-10-24 21:39:47 +01:00
cdo 8ba4035afc Add basic sum parsing 2024-10-24 21:39:47 +01:00
cdo 2e43bad1a1 Write main application code 2024-10-24 21:39:47 +01:00
cdo 8d5f5e4ede Create basic REPL module 2024-10-24 21:39:45 +01:00
cdo 810feee55e Simplify test framework and improve test script 2024-10-24 16:47:18 +01:00
cdo 29deffdce9 Implement number evaluation 2024-10-24 16:47:18 +01:00
cdo 3bc640b656 Skip .git directory in format and entr scripts 2024-10-24 16:47:18 +01:00
cdo d1b350f6ec Create test script and run from entr.sh 2024-10-24 16:24:49 +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
cdo 3d0008b496 Write test framework 2024-10-24 16:24:49 +01:00
cdo 64c3aaf077 Create project skeleton 2024-10-24 12:28:40 +01:00