Will Hawkins
7c35b2b6e5
Binary Operators (and Grouping in Expressions)
...
Add support for <, <=, >, >=, && and ||.
Also, add support for grouping (with ( and )) in expressions.
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-23 07:53:41 -04:00
Will Hawkins
aac007f1f2
Allow Declaring Instances of Structs
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-20 04:29:44 -04:00
Will Hawkins
8ee20fcf9f
Add Support For Parsing Struct Field Access
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-16 08:30:57 -04:00
Will Hawkins
1982fda677
Array Identifier Should Be Expression
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-13 09:40:45 -04:00
Will Hawkins
4a3a6bdf56
Add Tree Sitter Tests For Expressions
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-13 08:26:47 -04:00
Will Hawkins
4e9927c601
Add Tree Sitter Tests for Annotations (And General Test Updates)
...
Update Tests
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-10 05:52:04 -04:00
Will Hawkins
8ca03cdca5
Add booleanLiteralExpression To Make Compiling Easier
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-06 08:01:41 -05:00
Will Hawkins
991e20917c
P4 Parser States Do Not Have Local Elements
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-03-02 08:32:09 -05:00
Will Hawkins
cfe78a9b29
Semicolon Cleanup
...
1. Semicolons were required in the wrong spot.
2. Make semicolons "invisible" (from the tree-sitter perspective).
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-02-27 08:23:27 -05:00
Will Hawkins
a2335a01ed
Initial Support For If Statements
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-02-24 06:08:12 -05:00
Will Hawkins
d9c8c5aeb0
Refactor Runtime
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-02-19 22:50:19 -05:00
Will Hawkins
bc700509c1
Add Instantations to Grammar
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-02-06 07:45:29 -05:00
Will Hawkins
d8f6ff3b0b
Update Variable Declarations
...
Refactor a literal '=' to a production and allow expressions
of string-literal type.
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-01-30 08:24:44 -05:00
Will Hawkins
f9ed3e7fbd
Support (One) Local Element
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-01-23 23:29:38 -05:00
Will Hawkins
c78afa5418
Flesh Out P4 Grammar
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-01-17 00:02:43 -05:00
Will Hawkins
08beba6cb1
Initial Commit
...
Signed-off-by: Will Hawkins <hawkinsw@obs.cr >
2026-01-14 12:49:49 -05:00