• I am one of the two people behind lavatech, hello.
  • https://l4.pm
  • skirts

  • Joined on 2018-11-12
luna pushed to master at luna/jorts 2019-06-02 03:25:37 +00:00
71dba5c77d vm: add greater and less
15c58a2216 comparison operators, part 1
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-02 03:04:07 +00:00
39e28f01ac chunk: add printing of OP_NOT
c5d704a34f add not operator
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-02 02:45:15 +00:00
1d774c6011 add support for nil, true and false literal values
luna pushed to master at luna/jorts 2019-06-02 02:35:23 +00:00
ec652b29d9 remove print debug
589413488c move towards dynamically typed values
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-02 00:33:04 +00:00
0f8e19adf1 compiler: finish parser (for math expressions)
230fef20b5 add other bytecode emitters
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-01 23:34:27 +00:00
2736bee8d8 scanner: remove debug print
e1d0e3ec0b add basic compiler code
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-01 20:22:02 +00:00
7d7aabbdd7 scanner: add keyword handling (copied off the old scanner)
d62c58a195 scanner: add identifiers
566d8313f3 add number tokens
Compare 3 commits »
luna pushed to master at luna/jorts 2019-06-01 20:12:10 +00:00
9d1d253c94 scanner: fix peekNext
27b04e1612 scanner: add basic error handling, strings, comments
f4f1fe1fbc scanner: add whitespace handling
2c7cf356b3 scanner: add basic tokens and matched-tokens
Compare 4 commits »
luna pushed to master at luna/jorts 2019-06-01 19:37:53 +00:00
6b9cc575d9 add draft scanner, remove messy Token union, replace by struct
63045e4df5 add src/new_scanner.zig
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-01 19:18:09 +00:00
b80cd52c50 main: readd runPrompt and runFile
a9dca436bd remove chunk running code, add draft compiler struct
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-01 18:45:48 +00:00
088674bf0b vm: add dynamically-sized growing stack
luna pushed to master at luna/jorts 2019-06-01 18:41:05 +00:00
3377d1675c vm, chunk: add binary operators
luna pushed to master at luna/jorts 2019-06-01 18:27:34 +00:00
2822676707 vm: add negate opcode
61e463713c vm: add stack
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-01 18:04:31 +00:00
456bc95138 vm: add debug flags
luna pushed to master at luna/jorts 2019-06-01 17:55:26 +00:00
dae3c259fd add basic virtual machine code
luna pushed to master at luna/jorts 2019-06-01 17:20:18 +00:00
14fa63e1f6 finish impl for ConstantLong
luna pushed to master at luna/jorts 2019-06-01 05:06:46 +00:00
2d33e03efb add incomplete ConstantLong instruction
luna pushed to master at luna/jorts 2019-06-01 04:46:21 +00:00
ba78b39300 add constant values to the virtual machine
luna pushed to master at luna/jorts 2019-06-01 04:21:21 +00:00
c4401dc8cf moving to the virtual machine part of the book, pt 1
luna pushed to master at luna/jorts 2019-06-01 03:04:14 +00:00
727a259638 rm make_exprs.py, moving to the c part
6ff75a0926 finish make_exprs.py script
8007df6853 add mypy_cache to gitignore
3b73978f40 add make_exprs.py script
Compare 4 commits »