Sean Sube
|
ee7272bf5e
|
new style parsing for all bin exprs
|
2022-09-29 20:16:32 -05:00 |
Sean Sube
|
b285803e36
|
start switching to new style eval
|
2022-09-29 19:43:35 -05:00 |
Sean Sube
|
8b71d759ad
|
support and ignore whitespace in exprs
|
2022-09-29 08:55:03 -05:00 |
Sean Sube
|
43e11f92a8
|
more commentary
|
2022-09-29 08:30:16 -05:00 |
Sean Sube
|
ff41fa8717
|
split eval to its own module, clean up a bit
|
2022-09-29 08:24:38 -05:00 |
Sean Sube
|
9a0c106b6f
|
add helpers to emit result and empty
|
2022-09-28 21:31:34 -05:00 |
Sean Sube
|
beecbff936
|
implement mult and div
|
2022-09-28 20:57:05 -05:00 |
Sean Sube
|
5cc7ce195c
|
implement minus operator
|
2022-09-28 18:16:26 -05:00 |
Sean Sube
|
93a0a0bfd5
|
evaluate terms and exprs in correct order
|
2022-09-28 18:16:15 -05:00 |
Sean Sube
|
cb7b1486fc
|
evaluate exprs in input order
|
2022-09-28 18:06:44 -05:00 |
Sean Sube
|
3707654ec2
|
keep all statements, put numbers the right way around
|
2022-09-28 18:04:00 -05:00 |
Sean Sube
|
01148d8193
|
use a char list for operators
|
2022-09-28 17:34:13 -05:00 |
Sean Sube
|
0ecc7467fe
|
switch split char to semicolon, remove some debug lines
|
2022-09-28 17:32:35 -05:00 |
Sean Sube
|
b3951c37cf
|
fix some subscripts
|
2022-09-28 17:09:14 -05:00 |
Sean Sube
|
4b4a2fddd3
|
implement +
|
2022-09-28 17:06:38 -05:00 |
Sean Sube
|
c50f49ebcb
|
some actual calc stuff
|
2022-09-28 00:05:16 -05:00 |
Sean Sube
|
1e94ee8299
|
basics
|
2022-09-27 23:12:48 -05:00 |