index
:
interpreter
this commit
master
Simple interpreter written in Zig
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
parser.zig
(
follow
)
Commit message (
Collapse
)
Author
Age
Files
Lines
*
Tokenizer: Improve Token type
Baitinq
5 hours
1
-25
/
+9
|
*
Feature: Add support for negation
Baitinq
28 hours
1
-4
/
+5
|
*
Feature: Add support for division and multiplication
Baitinq
29 hours
1
-3
/
+33
|
*
Feature: Add support for while statements
Baitinq
29 hours
1
-2
/
+30
|
*
Tokenizer: Rename NOT token to BANG
Baitinq
32 hours
1
-1
/
+1
|
*
Bug: Fix bug with priority of parsing expressions
Baitinq
33 hours
1
-1
/
+1
|
*
Parser: Remove unused expression node
Baitinq
2 days
1
-10
/
+0
|
*
Feature: Add support for NOT unary expression
Baitinq
2 days
1
-3
/
+24
|
*
Parser: Add support for parenthesis grouping
Baitinq
2 days
1
-9
/
+9
|
*
Parser: Make additive expression left associative
Baitinq
2 days
1
-7
/
+11
|
*
Start working on proper operator precedence
Baitinq
3 days
1
-1
/
+8
|
*
Bug: Fix bug with accept_parse
Baitinq
4 days
1
-1
/
+3
|
*
Feature: Add basic support for equality expression
Baitinq
4 days
1
-15
/
+39
|
*
Feature: Add support for boolean values
Baitinq
4 days
1
-1
/
+9
|
*
Feature: Add support for substraction
Baitinq
4 days
1
-2
/
+6
|
*
Feature: Add basic support for if statements
Baitinq
4 days
1
-18
/
+46
|
*
Evaluator: implement support for function arguments
Manuel Palenzuela Merino
4 days
1
-35
/
+37
|
*
Misc: Implement print function as "native" function
Baitinq
5 days
1
-26
/
+2
|
*
Lang: Start introducing support for function arguments
Baitinq
5 days
1
-10
/
+63
|
*
Evaluator: Start working on new function-capable evaluator
Baitinq
7 days
1
-1
/
+1
|
*
Parser: clean
Baitinq
7 days
1
-20
/
+13
|
*
Add basic support for parsing functions
Baitinq
8 days
1
-58
/
+154
|
*
Parser: clean
Baitinq
10 days
1
-1
/
+1
|
*
Implement "return"
Baitinq
10 days
1
-0
/
+19
|
*
Add support for sum operator
Baitinq
10 days
1
-21
/
+50
|
*
Misc: Improve error messages and add todos
Baitinq
11 days
1
-1
/
+6
|
*
Parser: fix tests
Baitinq
12 days
1
-51
/
+61
|
*
Misc: Support evaluating sequentially in REPL
Baitinq
13 days
1
-2
/
+2
|
*
Evaluator: Implement first version of evaluator that handles print statements
Baitinq
2025-01-08
1
-1
/
+1
|
*
Parser: general cleanup
Baitinq
2025-01-08
1
-34
/
+22
|
*
Parser: Cleanup node creation
Baitinq
2025-01-08
1
-29
/
+20
|
*
Parser: Add grammar docs
Baitinq
2025-01-08
1
-2
/
+4
|
*
Parser: Add support for parsing variable statements
Baitinq
2025-01-08
1
-4
/
+24
|
*
Parser: Use arena allocator
Baitinq
2025-01-08
1
-25
/
+0
|
*
Parser: Prepare for variable statement parsing
Baitinq
2025-01-08
1
-11
/
+29
|
*
Parser: Implement print statement parsing properly and cleanup
Baitinq
2025-01-07
1
-67
/
+71
|
*
Parser: Small improvements
Baitinq
2025-01-07
1
-14
/
+16
|
*
Parser: Fix mem leaks
Baitinq
2025-01-07
1
-4
/
+16
|
*
Parser: Memory improvements
Baitinq
2025-01-07
1
-35
/
+49
|
*
Parser: Improvements?
Manuel Palenzuela Merino
2025-01-06
1
-53
/
+79
|
*
Parser: Change grammar and implement print and expression parsing
Baitinq
2025-01-06
1
-8
/
+70
|
*
Parser: implement parse_number
Baitinq
2025-01-06
1
-1
/
+24
|
*
Parser: implement parse_identifier
Baitinq
2025-01-06
1
-3
/
+54
|
*
Start writing parser
Baitinq
2025-01-06
1
-0
/
+56