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
*
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
5 days
1
-21
/
+77
*
Misc: Start working on scopes
Baitinq
5 days
1
-8
/
+13
*
Tokenizer: Fix comment skipping
Baitinq
5 days
1
-0
/
+1
*
Evaluator: Improve how functions and variables are handled
Baitinq
5 days
2
-36
/
+38
*
Misc: Implement print function as "native" function
Baitinq
5 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
11 days
1
-1
/
+2
*
Tokenizer: Fix tokenizer invalid strings
Baitinq
11 days
2
-3
/
+8
*
Misc: Improve error messages and add todos
Baitinq
11 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
2025-01-09
1
-7
/
+27
*
Evaluator: Implement first version of evaluator that handles print statements
Baitinq
2025-01-08
3
-1
/
+69
*
Misc: Dont crash REPL if parsing fails
Baitinq
2025-01-08
1
-1
/
+3
*
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
2
-28
/
+3
*
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
2
-68
/
+72
*
Parser: Small improvements
Baitinq
2025-01-07
2
-14
/
+17
*
Add REPL
Baitinq
2025-01-07
1
-7
/
+21
*
Parser: Fix mem leaks
Baitinq
2025-01-07
1
-4
/
+16
*
Parser: Memory improvements
Baitinq
2025-01-07
2
-37
/
+51
*
Parser: Improvements?
Manuel Palenzuela Merino
2025-01-06
2
-56
/
+84
*
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
2
-4
/
+55
*
Start writing parser
Baitinq
2025-01-06
2
-0
/
+69
*
Implement basic tokenizer
Baitinq
2025-01-06
2
-11
/
+49
*
Add tokenizer test
Baitinq
2025-01-06
2
-5
/
+72
*
File reading
Baitinq
2025-01-05
2
-1
/
+35
[next]