index
:
interpreter
this commit
master
Simple interpreter written in Zig
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
evaluator.zig
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Feature: Add support for negation
Baitinq
26 hours
1
-1
/
+4
*
Feature: Add support for division and multiplication
Baitinq
26 hours
1
-0
/
+7
*
Feature: Add support for while statements
Baitinq
26 hours
1
-0
/
+21
*
Feature: Add support for NOT unary expression
Baitinq
2 days
1
-0
/
+5
*
Feature: Add basic support for equality expression
Baitinq
3 days
1
-4
/
+8
*
Feature: Add support for boolean values
Baitinq
4 days
1
-32
/
+33
*
Feature: Add support for substraction
Baitinq
4 days
1
-1
/
+2
*
Feature: Add basic support for if statements
Baitinq
4 days
1
-14
/
+46
*
Evaluator: implement support for function arguments
Manuel Palenzuela Merino
4 days
1
-25
/
+32
*
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
5 days
1
-8
/
+13
*
Evaluator: Improve how functions and variables are handled
Baitinq
5 days
1
-33
/
+36
*
Misc: Implement print function as "native" function
Baitinq
5 days
1
-12
/
+12
*
Lang: Start introducing support for function arguments
Baitinq
5 days
1
-0
/
+1
*
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
1
-38
/
+71
*
Implement "return"
Baitinq
10 days
1
-1
/
+14
*
Evaluator: Store variables with value instead of reference
Baitinq
10 days
1
-6
/
+6
*
Add support for sum operator
Baitinq
10 days
1
-0
/
+6
*
Evaluator: Fix bug when variables are initialized with the same identifier as...
Baitinq
10 days
1
-1
/
+2
*
Misc: Improve error messages and add todos
Baitinq
11 days
1
-3
/
+18
*
Evaluator: Add simple test
Baitinq
11 days
1
-0
/
+25
*
Evaluator: Implement variable declaration and definition and variable printing
Baitinq
2025-01-09
1
-7
/
+27
*
Evaluator: Implement first version of evaluator that handles print statements
Baitinq
2025-01-08
1
-0
/
+62