• Joined on 2023-05-19
jeff pushed to rewrite-3 at jeff/dust 2024-08-11 20:57:57 +00:00
f5836b66dc Clean up
jeff pushed to rewrite-3 at jeff/dust 2024-08-11 19:39:56 +00:00
9a9d9458ae Clean up block/map parsing code
jeff pushed to rewrite-3 at jeff/dust 2024-08-11 19:12:42 +00:00
9338d73621 Add to_string function; Get fizzbuzz example working
jeff pushed to rewrite-3 at jeff/dust 2024-08-11 19:04:06 +00:00
28c65b0715 Clean up control flow code in the VM; Remove returns from if and if/else_if statements
0c73f80947 Implment control flow lexing and parsing
24e21aa0b5 Add test; Attempt to clean up map and block parsing
Compare 3 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-10 09:23:59 +00:00
37e3e1116d Add while loops
1687fd7fe3 Clean up; Add an analyzer test
Compare 2 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-10 08:32:46 +00:00
a46e5dd365 Fix remaining doc tests
8f0d07b546 Fix parsing bug and some docs tests
Compare 2 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-10 04:14:57 +00:00
f2823b6236 Tweak operator precedence
jeff pushed to rewrite-3 at jeff/dust 2024-08-10 04:02:13 +00:00
2ae75dcdd0 Make meticulous changes to pratt parser
9ea203f419 Use context and replace old variable map
e1b04328d5 Add context
Compare 3 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-10 00:24:31 +00:00
f50b765c1e Clean up
82fbf796f3 Implement postfix parsing
60f8aab805 Refactor pratt parser
Compare 3 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 15:41:47 +00:00
ed82f3c64f Lex, parse and run maps and blocks
f389f7e422 Implement equality operation
Compare 2 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 11:03:07 +00:00
24a2642f17 Add modulo support
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 10:46:36 +00:00
2cf580d111 Add division
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 10:33:04 +00:00
a048577143 Improve assignment parsing
929468338d Add map parsing
55a8661618 Begin adding maps
Compare 3 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 08:56:45 +00:00
d0dba35285 Add && and || operators
8c8fde94ce Refactor the abstract syntax tree
b9081f8653 Add comparison statement to replace four separate statements
580b85e2d0 Clean up tokens
83018ec5ec Improve error reports
Compare 5 commits »
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 04:49:41 +00:00
c1b71ffccc Refactor errors and clean up read_line
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 04:32:05 +00:00
9766777a47 Expand lexing of complex floats
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 03:29:11 +00:00
60bd8f5352 Implement subtraction and multiplication
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 02:45:40 +00:00
57782d3ed6 Clean up docs
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 01:59:17 +00:00
cccbe7a325 Write docs
jeff pushed to rewrite-3 at jeff/dust 2024-08-09 01:48:06 +00:00
77134e5292 Begin adding fancy errors
4805a53269 Begin expanding errors
Compare 2 commits »