Commit graph

18 commits

Author SHA1 Message Date
b101b5af51 Fix them rounding errors! 2025-09-06 16:07:09 +12:00
86c6c96909 Checkpoint 2 (seems to compile now) 2025-09-06 15:36:22 +12:00
cd493f8d32 Checkpoint 2025-09-06 15:08:40 +12:00
74b29455e5 Constants work and *finally* fix the off-by-one in lexing 2025-09-05 23:58:06 +12:00
47477732ba finish up lexing & do some parsing improvements (functions now require parens for multiple args :(, I'll see if I can change that later) 2025-09-05 23:32:21 +12:00
cbf35e9746 improve number lexing (temporarily breaking function lexing) 2025-09-05 22:26:06 +12:00
adf97d4b20 implement logic for logN 2025-09-05 21:56:46 +12:00
328ec0bfdc functions are no longer infix, and more 2025-09-05 21:50:22 +12:00
199bce4f90 simplify 2025-09-05 21:14:04 +12:00
9c9172d4c9 fix exponent precedence 2025-09-05 21:09:31 +12:00
4f6063bf72 WIP ui 2025-09-05 20:58:21 +12:00
b7b466b774 *Mostly* works, apart from 4 sqrt 4 being 1.4142135623730951 for some reason (messed up unary operators or something) 2025-09-05 20:40:49 +12:00
25644b9d4e Add get_val 2025-09-05 19:39:48 +12:00
849393fbd1 Parsing seems to work now! 2025-09-05 19:35:18 +12:00
c2f210c32c WIP pratt parsing 2025-09-05 16:45:57 +12:00
fe539a637e Fix build 2025-09-05 16:11:11 +12:00
0725850ad0 WIP 2025-09-04 08:54:21 +12:00
de1d9931b1 initial calculator stuff 2025-06-22 12:10:40 +12:00