depot
this commit
canon
subtree-staging
monorepo for the virus lounge
The Virus Lounge
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
users
/
tazjin
/
rlox
/
src
/
interpreter.rs
Age
Commit message (
Expand
)
Author
Files
Lines
2021-01-17
r/2118
refactor(tazjin/rlox): Call resolver from interpreter
Vincent Ambo
1
-6
/
+12
2021-01-16
r/2114
feat(tazjin/rlox): Use variable depth for env lookup
Vincent Ambo
1
-11
/
+27
2021-01-16
r/2113
feat(tazjin/rlox): Implement variable depth resolver
Vincent Ambo
1
-2
/
+2
2021-01-14
r/2109
feat(tazjin/rlox): Implement support for closures
Vincent Ambo
1
-24
/
+35
2021-01-14
r/2108
feat(tazjin/rlox): Implement early return from functions
Vincent Ambo
1
-1
/
+18
2021-01-14
r/2107
refactor(tazjin/rlox): Let scanner tokens own their lexeme
Vincent Ambo
1
-41
/
+41
2021-01-14
r/2106
feat(tazjin/rlox): Implement function definitions
Vincent Ambo
1
-2
/
+9
2021-01-14
r/2105
feat(tazjin/rlox): Implement calling user-defined functions
Vincent Ambo
1
-7
/
+20
2021-01-14
r/2104
refactor(tazjin/rlox): Thread lifetimes through interpreter
Vincent Ambo
1
-35
/
+38
2021-01-14
r/2103
feat(tazjin/rlox): Parse function declarations
Vincent Ambo
1
-0
/
+1
2021-01-14
r/2100
test(tazjin/rlox): Add a handful of interpreter tests
Vincent Ambo
1
-0
/
+3
2021-01-14
r/2099
feat(tazjin/rlox): Implement PartialEq for interpreter::Value
Vincent Ambo
1
-0
/
+10
2021-01-14
r/2098
feat(tazjin/rlox): Always return values from interpreter
Vincent Ambo
1
-20
/
+23
2021-01-14
r/2097
refactor(tazjin/rlox): Constructor for interpreter with globals
Vincent Ambo
1
-1
/
+19
2021-01-14
r/2096
feat(tazjin/rlox): Implement function call evaluation
Vincent Ambo
1
-2
/
+33
2021-01-14
r/2095
feat(tazjin/rlox): Scaffolding for builtin functions
Vincent Ambo
1
-0
/
+24
2021-01-13
r/2093
refactor(tazjin/rlox): Wrap interpreter values in new enum
Vincent Ambo
1
-25
/
+52
2021-01-13
r/2092
feat(tazjin/rlox): Parse function calls
Vincent Ambo
1
-0
/
+1
2021-01-06
r/2062
feat(tazjin/rlox): Parse & interpret while statements
Vincent Ambo
1
-0
/
+9
2021-01-06
r/2061
feat(tazjin/rlox): Parse & interpret logical operators
Vincent Ambo
1
-0
/
+15
2021-01-06
r/2060
feat(tazjin/rlox): Interpret if statements
Vincent Ambo
1
-1
/
+13
2021-01-06
r/2059
feat(tazjin/rlox): Parse if statements
Vincent Ambo
1
-0
/
+1
2020-12-31
r/2039
refactor(tazjin/rlox): Hold shared environment ptr in interpreter
Vincent Ambo
1
-17
/
+37
2020-12-31
r/2038
feat(tazjin/rlox): Implement block scope in interpreter
Vincent Ambo
1
-1
/
+28
2020-12-31
r/2037
feat(tazjin/rlox): Implement block parsing
Vincent Ambo
1
-2
/
+3
2020-12-31
r/2036
refactor(tazjin/rlox): Unify parser::Statement & parser::Declaration
Vincent Ambo
1
-12
/
+10
2020-12-31
r/2035
feat(tazjin/rlox): Add support for scoped environments
Vincent Ambo
1
-8
/
+26
2020-12-31
r/2034
refactor(tazjin/rlox): Separate assignment and definition
Vincent Ambo
1
-1
/
+14
2020-12-31
r/2033
feat(tazjin/rlox): Implement mutable variable assignment
Vincent Ambo
1
-31
/
+38
2020-12-31
r/2032
refactor(tazjin/rlox): Retain interpreter state in REPL
Vincent Ambo
1
-28
/
+3
2020-12-31
r/2031
feat(tazjin/rlox): Add global variable support in interpreter
Vincent Ambo
1
-76
/
+135
2020-12-22
r/2027
feat(tazjin/rlox): Parse variable assignment & access
Vincent Ambo
1
-0
/
+2
2020-12-22
r/2025
refactor(tazjin/rlox): Introduce declarations in parser
Vincent Ambo
1
-10
/
+18
2020-12-22
r/2024
feat(tazjin/rlox): Add support for statements
Vincent Ambo
1
-17
/
+25
2020-12-20
r/2019
feat(tazjin/rlox): Add runtime type error handling
Vincent Ambo
1
-14
/
+31
2020-12-20
r/2018
feat(tazjin/rlox): Implement tree-walk interpreter of exprs
Vincent Ambo
1
-3
/
+67
2020-12-06
r/1991
feat(tazjin/rlox): Synchronise parser state after errors
Vincent Ambo
1
-1
/
+1
2020-12-06
r/1990
feat(tazjin/rlox): Wire up parser to the REPL
Vincent Ambo
1
-2
/
+10
2020-11-28
r/1956
refactor(tazjin/rlox): Thread through scanner errors
Vincent Ambo
1
-2
/
+17
2020-11-28
r/1952
fix(tazjin/rlox): Clear previous line in REPL mode
Vincent Ambo
1
-2
/
+3
2020-11-27
r/1927
chore(tazjin/rlox): Wire scanner to interpreter to reduce warnings
Vincent Ambo
1
-1
/
+5
2020-11-23
r/1913
feat(tazjin/rlox): Add basic program structure
Vincent Ambo
1
-0
/
+4