1
0
Fork 0
Commit graph

94 commits

Author SHA1 Message Date
97ae0e5ce6
Add tests for variable declaration 2025-01-31 16:50:51 +02:00
640b4b8b10
Add parsing for blocks 2025-01-31 16:19:28 +02:00
b36a4b2bdf
Add tests for block expression parsing 2025-01-31 16:09:47 +02:00
9e8df0750f
Add comments with precedence levels 2025-01-31 15:42:09 +02:00
22083ae1f2
Add assignment parsing 2025-01-31 14:19:01 +02:00
3080313e8c
Add unary op parsing 2025-01-31 14:04:17 +02:00
ca254a34c6
Expand unary and assign tests 2025-01-31 14:03:20 +02:00
385dc98255
Expand unary and assign tests 2025-01-31 13:58:04 +02:00
bb3c13372f
Add tests for unary ops and assignment 2025-01-31 13:30:05 +02:00
0691c22487
Add support for all left-associative binary ops 2025-01-31 13:19:40 +02:00
04e390c6f9
Safe refactor 2025-01-31 13:05:47 +02:00
afbfdc7caa
Change parser tests to use tokenizer 2025-01-31 13:03:38 +02:00
8ea712df0b
Reorganize parser tests 2025-01-29 16:51:33 +02:00
2fac914fda
Split parser into three files, to simplify navigation 2025-01-29 16:46:28 +02:00
4c085e89d4
Move parser util functions into separate module 2025-01-29 16:34:18 +02:00
101437d9fe
Clean up and refactor parser code so far 2025-01-29 16:26:24 +02:00
f4921294e6
Tweaks and macros to make code more compact 2025-01-29 15:14:27 +02:00
bdb59aaee0
Minor non-functional tweaks 2025-01-29 14:34:40 +02:00
2bc9b0aa8d
Add function parsing 2025-01-29 14:34:21 +02:00
a7adbe0f5b
Expand and adjust function parsing tests 2025-01-29 14:33:25 +02:00
c133ced4fc
Add tests for function parsing 2025-01-29 13:27:29 +02:00
8d4f452f34
Add parsing for conditionals 2025-01-28 19:33:15 +02:00
f3a252b510
Add tests for if-then-else before adding parsing 2025-01-28 18:57:51 +02:00
e4ffd1ab55
Add more tests. Handle garbage input 2025-01-28 18:28:48 +02:00
d05156d300
Add parsing and tests for parenthesized expressions 2025-01-28 17:57:19 +02:00
10f7e32046
Add precedent operators * and / 2025-01-28 17:15:28 +02:00
3c45dcbb4c
Parse multiple BinaryOps and fix associated tests 2025-01-28 17:04:19 +02:00
b10f5f39fd
Add identifier parsing for BinaryOp 2025-01-28 16:55:34 +02:00
ca5204d4b2
Add tests for future parser features 2025-01-28 16:47:11 +02:00
ffc0e812a2
Add very minimal +/- binary op parsing 2025-01-24 14:41:23 +02:00
dec0a0e154
Change tokens to use &str w/lifetime instead of String 2025-01-21 20:26:18 +02:00
65d437b324
Update tokenizer tests 2025-01-21 18:59:47 +02:00
28a8ae69be
Add proper line/char location for tokens 2025-01-21 18:59:20 +02:00
c9ef000cd0
Add python3 to shell.nix 2025-01-21 18:55:03 +02:00
7b423fe18a
Add location info to tokens 2025-01-18 19:13:55 +02:00
66bdd5f917
Initial tokenizer implementation 2025-01-18 19:03:05 +02:00
f6ac3e60a9
Rust TCP/JSON server implementation 2025-01-18 15:21:24 +02:00
7093aa4c9c
Add simple Docker build for project 2025-01-16 04:06:59 +02:00
8f8565e07d
Add command for building local nix package 2025-01-15 15:47:46 +02:00
1b9b93bd5b
Change to raw fetchGit for dev purposes 2025-01-15 15:42:30 +02:00
dd43867391
Minimal nix package definition for project 2025-01-15 15:35:14 +02:00
33d279ef26
Minimal rust toolchain shell.nix 2025-01-15 15:02:16 +02:00
5d9aab2043
Init cargo project 2025-01-15 14:53:34 +02:00
54f092ad6a Initial commit 2025-01-15 02:30:35 +02:00