index
:
interpreter
this commit
master
Simple interpreter written in Zig
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Feature: Add support for negation
HEAD
master
Baitinq
22 hours
2
-5
/
+9
*
Feature: Add support for division and multiplication
Baitinq
23 hours
3
-3
/
+46
*
Feature: Add support for while statements
Baitinq
23 hours
3
-8
/
+60
*
Tokenizer: Rename NOT token to BANG
Baitinq
26 hours
2
-4
/
+4
*
Bug: Fix bug with priority of parsing expressions
Baitinq
27 hours
1
-1
/
+1
*
Parser: Remove unused expression node
Baitinq
46 hours
1
-10
/
+0
*
Feature: Add support for NOT unary expression
Baitinq
46 hours
3
-3
/
+32
*
Parser: Add support for parenthesis grouping
Baitinq
47 hours
1
-9
/
+9
*
Parser: Make additive expression left associative
Baitinq
47 hours
1
-7
/
+11
*
Start working on proper operator precedence
Baitinq
3 days
1
-1
/
+8
*
Bug: Fix bug with accept_parse
Baitinq
3 days
1
-1
/
+3
*
Feature: Add basic support for equality expression
Baitinq
3 days
2
-19
/
+47
*
Feature: Add support for boolean values
Baitinq
3 days
3
-33
/
+46
*
Feature: Add support for substraction
Baitinq
4 days
3
-3
/
+11
*
Feature: Add basic support for if statements
Baitinq
4 days
3
-32
/
+95
*
Evaluator: implement support for function arguments
Manuel Palenzuela Merino
4 days
2
-60
/
+69
*
Evaluator: create and drop scopes when entering/leaving functions
Manuel Palenzuela Merino
4 days
1
-4
/
+9
*
Evaluator: Create environment abstraction for handling scopes
Baitinq
4 days
1
-21
/
+77
*
Misc: Start working on scopes
Baitinq
4 days
1
-8
/
+13
*
Tokenizer: Fix comment skipping
Baitinq
4 days
1
-0
/
+1
*
Evaluator: Improve how functions and variables are handled
Baitinq
4 days
2
-36
/
+38
*
Misc: Implement print function as "native" function
Baitinq
4 days
3
-41
/
+14
*
Lang: Start introducing support for function arguments
Baitinq
5 days
3
-10
/
+67
*
Tokenizer: Add support for comments
Manuel Palenzuela Merino
6 days
1
-0
/
+9
*
Evaluator: variables as values
Manuel Palenzuela Merino
6 days
1
-12
/
+23
*
Get function calls kind of working :)
Manuel Palenzuela Merino
6 days
1
-39
/
+43
*
Evaluator: Start working on new function-capable evaluator
Baitinq
7 days
3
-46
/
+79
*
Parser: clean
Baitinq
7 days
1
-20
/
+13
*
Add basic support for parsing functions
Baitinq
8 days
2
-66
/
+162
*
Parser: clean
Baitinq
10 days
1
-1
/
+1
*
Tokenizer: Add suport for underscores in identifier parsing
Baitinq
10 days
1
-1
/
+1
*
Tokenizer: Add support for tokenizing functions
Baitinq
10 days
2
-5
/
+20
*
Implement "return"
Baitinq
10 days
3
-1
/
+36
*
Evaluator: Store variables with value instead of reference
Baitinq
10 days
1
-6
/
+6
*
Add support for sum operator
Baitinq
10 days
3
-53
/
+91
*
Evaluator: Fix bug when variables are initialized with the same identifier as...
Baitinq
10 days
1
-1
/
+2
*
Tokenizer: Fix tokenizer invalid strings
Baitinq
10 days
2
-3
/
+8
*
Misc: Improve error messages and add todos
Baitinq
10 days
3
-5
/
+24
*
Evaluator: Add simple test
Baitinq
11 days
1
-0
/
+25
*
Parser: fix tests
Baitinq
12 days
1
-51
/
+61
*
Tokenizer: Improve tests
Baitinq
12 days
1
-24
/
+45
*
Tokenizer: Fix parsing end-of-buf strings
Baitinq
13 days
1
-0
/
+2
*
Misc: Support evaluating sequentially in REPL
Baitinq
13 days
2
-10
/
+12
*
Evaluator: Implement variable declaration and definition and variable printing
Baitinq
14 days
1
-7
/
+27
*
Evaluator: Implement first version of evaluator that handles print statements
Baitinq
14 days
3
-1
/
+69
*
Misc: Dont crash REPL if parsing fails
Baitinq
14 days
1
-1
/
+3
*
Parser: general cleanup
Baitinq
14 days
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
[next]