index
:
interpreter
this commit
master
Simple interpreter written in Zig
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
examples
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Feature: Add support for negation
HEAD
master
Baitinq
23 hours
1
-1
/
+1
*
Feature: Add support for division and multiplication
Baitinq
23 hours
1
-1
/
+1
*
Feature: Add support for while statements
Baitinq
23 hours
1
-0
/
+1
*
Feature: Add support for NOT unary expression
Baitinq
47 hours
1
-1
/
+2
*
Parser: Add support for parenthesis grouping
Baitinq
47 hours
1
-1
/
+1
*
Parser: Make additive expression left associative
Baitinq
47 hours
1
-1
/
+1
*
Example: Add example for while loop
Baitinq
3 days
1
-0
/
+13
*
Start working on proper operator precedence
Baitinq
3 days
1
-1
/
+1
*
Feature: Add basic support for equality expression
Baitinq
3 days
2
-3
/
+3
*
Feature: Add support for boolean values
Baitinq
3 days
1
-0
/
+10
*
Example: Get fibonacci example working
Baitinq
4 days
1
-4
/
+4
*
Feature: Add support for substraction
Baitinq
4 days
1
-1
/
+1
*
Feature: Add basic support for if statements
Baitinq
4 days
1
-1
/
+1
*
Examples: add future examples :^)
Manuel Palenzuela Merino
4 days
2
-0
/
+25
*
Evaluator: implement support for function arguments
Manuel Palenzuela Merino
4 days
1
-4
/
+6
*
Evaluator: Create environment abstraction for handling scopes
Baitinq
4 days
1
-1
/
+5
*
Examples: Add variable scopes example
Baitinq
4 days
2
-4
/
+17
*
Lang: Start introducing support for function arguments
Baitinq
5 days
1
-1
/
+0
*
Examples: new example
Manuel Palenzuela Merino
6 days
1
-0
/
+9
*
Tokenizer: Add support for comments
Manuel Palenzuela Merino
6 days
1
-0
/
+2
*
Evaluator: variables as values
Manuel Palenzuela Merino
6 days
1
-2
/
+2
*
Get function calls kind of working :)
Manuel Palenzuela Merino
6 days
4
-9
/
+25
*
Evaluator: Start working on new function-capable evaluator
Baitinq
7 days
1
-2
/
+7
*
Parser: clean
Baitinq
7 days
1
-2
/
+4
*
Add basic support for parsing functions
Baitinq
8 days
2
-9
/
+5
*
Tokenizer: Add suport for underscores in identifier parsing
Baitinq
10 days
1
-2
/
+2
*
Tokenizer: Add support for tokenizing functions
Baitinq
10 days
1
-0
/
+7
*
Implement "return"
Baitinq
10 days
1
-2
/
+2
*
Evaluator: Store variables with value instead of reference
Baitinq
10 days
1
-2
/
+4
*
Add support for sum operator
Baitinq
10 days
1
-4
/
+2
*
Misc: Improve error messages and add todos
Baitinq
10 days
2
-0
/
+8
*
Evaluator: Implement variable declaration and definition and variable printing
Baitinq
14 days
2
-2
/
+2
*
Parser: Improvements?
Manuel Palenzuela Merino
2025-01-06
1
-0
/
+1
*
examples: add another example
Baitinq
2025-01-06
1
-0
/
+5
*
File reading
Baitinq
2025-01-05
1
-0
/
+3