index
:
interpreter
this commit
master
Simple interpreter written in Zig
summary
refs
log
tree
commit
diff
log msg
author
committer
range
Commit message (
Expand
)
Author
Age
Files
Lines
*
Feature: Add support for negation
HEAD
master
Baitinq
20 hours
4
-7
/
+11
*
Feature: Add support for division and multiplication
Baitinq
20 hours
5
-5
/
+50
*
Feature: Add support for while statements
Baitinq
20 hours
5
-9
/
+64
*
Tokenizer: Rename NOT token to BANG
Baitinq
24 hours
2
-4
/
+4
*
Misc: Add `zig build example` step
Baitinq
24 hours
1
-1
/
+23
*
Bug: Fix bug with priority of parsing expressions
Baitinq
24 hours
1
-1
/
+1
*
Grammar: Fix typo
Baitinq
43 hours
1
-1
/
+1
*
Parser: Remove unused expression node
Baitinq
44 hours
1
-10
/
+0
*
Feature: Add support for NOT unary expression
Baitinq
44 hours
5
-5
/
+37
*
Parser: Add support for parenthesis grouping
Baitinq
44 hours
3
-12
/
+12
*
Parser: Make additive expression left associative
Baitinq
44 hours
3
-9
/
+13
*
Example: Add example for while loop
Baitinq
3 days
1
-0
/
+13
*
Start working on proper operator precedence
Baitinq
3 days
3
-3
/
+10
*
Bug: Fix bug with accept_parse
Baitinq
3 days
1
-1
/
+3
*
Feature: Add basic support for equality expression
Baitinq
3 days
5
-25
/
+54
*
Feature: Add support for boolean values
Baitinq
3 days
5
-34
/
+57
*
Example: Get fibonacci example working
Baitinq
4 days
1
-4
/
+4
*
Feature: Add support for substraction
Baitinq
4 days
5
-7
/
+13
*
Feature: Add basic support for if statements
Baitinq
4 days
5
-36
/
+104
*
Examples: add future examples :^)
Manuel Palenzuela Merino
4 days
2
-0
/
+25
*
Evaluator: implement support for function arguments
Manuel Palenzuela Merino
4 days
3
-64
/
+75
*
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
2
-22
/
+82
*
Misc: Start working on scopes
Baitinq
4 days
1
-8
/
+13
*
Examples: Add variable scopes example
Baitinq
4 days
2
-4
/
+17
*
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
4
-44
/
+15
*
Lang: Start introducing support for function arguments
Baitinq
5 days
5
-13
/
+73
*
Examples: new example
Manuel Palenzuela Merino
6 days
1
-0
/
+9
*
Tokenizer: Add support for comments
Manuel Palenzuela Merino
6 days
2
-0
/
+11
*
Evaluator: variables as values
Manuel Palenzuela Merino
6 days
2
-14
/
+25
*
Get function calls kind of working :)
Manuel Palenzuela Merino
6 days
5
-48
/
+68
*
Evaluator: Start working on new function-capable evaluator
Baitinq
7 days
4
-48
/
+86
*
Parser: clean
Baitinq
7 days
2
-22
/
+17
*
Add basic support for parsing functions
Baitinq
8 days
5
-81
/
+181
*
Parser: clean
Baitinq
10 days
1
-1
/
+1
*
Tokenizer: Add suport for underscores in identifier parsing
Baitinq
10 days
2
-3
/
+3
*
Tokenizer: Add support for tokenizing functions
Baitinq
10 days
3
-5
/
+27
*
Implement "return"
Baitinq
10 days
5
-4
/
+41
*
Evaluator: Store variables with value instead of reference
Baitinq
10 days
4
-13
/
+11
*
Add support for sum operator
Baitinq
10 days
6
-58
/
+99
*
Evaluator: Fix bug when variables are initialized with the same identifier as...
Baitinq
10 days
2
-2
/
+2
*
Tokenizer: Fix tokenizer invalid strings
Baitinq
10 days
5
-5
/
+9
*
Misc: Improve error messages and add todos
Baitinq
10 days
7
-5
/
+34
*
Evaluator: Add simple test
Baitinq
11 days
1
-0
/
+25
*
Misc: Improve lsp errors
Baitinq
11 days
2
-0
/
+12
*
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
[next]