-
d2e865adfc
fix for latest zig
master
Luna
2019-11-02 10:22:20 -0300
-
036e76d3a5
fix for latest zig
Luna
2019-06-30 00:01:03 -0300
-
d7b78e09e3
finish impl for local vars
Luna
2019-06-03 16:24:54 -0300
-
26d299cd23
add local/global "switch"
Luna
2019-06-03 16:10:49 -0300
-
5138410be4
compiler: add scope support
Luna
2019-06-03 15:17:07 -0300
-
25ee586acb
compiler: add local scope basics
Luna
2019-06-03 15:10:12 -0300
-
69dda36d16
add SetGlobal/SetGlobalLong opcodes
Luna
2019-06-03 01:41:22 -0300
-
9f45dea2c0
vm: remove uneeded hack
Luna
2019-06-03 00:58:44 -0300
-
8bc220d2f8
chunk: split writing side-effects into own function
Luna
2019-06-03 00:55:50 -0300
-
922f3c530c
chunk: fix disasm on the new const-load op codes
Luna
2019-06-03 00:07:11 -0300
-
3936b4a426
main: keep a long-running vm instance for REPL
Luna
2019-06-03 00:02:07 -0300
-
005981fbbd
vm: add getglobal support
Luna
2019-06-02 23:57:28 -0300
-
887cb1adea
add emitting of GetGlobal/GetGlobalLong
Luna
2019-06-02 23:43:12 -0300
-
e3ac28d84e
vm: deinit globals on vm deinit
Luna
2019-06-02 23:13:42 -0300
-
3a6df2d9ea
add basic global variable support
Luna
2019-06-02 22:52:19 -0300
-
aa94396e51
compiler: add nicer error handling
Luna
2019-06-02 18:11:23 -0300
-
06df2d37ee
add expression statements
Luna
2019-06-02 18:04:36 -0300
-
bea6e34365
add print statement
Luna
2019-06-02 17:28:54 -0300
-
3f2a8f3801
add object list cleaning on VM.deinit
Luna
2019-06-02 15:39:04 -0300
-
cf53b6fc86
add basics of virtual machine object list
Luna
2019-06-02 14:52:19 -0300
-
38715af200
vm: add string concatenation
Luna
2019-06-02 14:18:01 -0300
-
9ac5fccc2b
add objects and string comparison
Luna
2019-06-02 14:01:54 -0300
-
44c27f43b7
move new_scanner.zig to scanner.zig
Luna
2019-06-02 13:17:32 -0300
-
71dba5c77d
vm: add greater and less
Luna
2019-06-02 00:23:50 -0300
-
15c58a2216
comparison operators, part 1
Luna
2019-06-02 00:16:33 -0300
-
39e28f01ac
chunk: add printing of OP_NOT
Luna
2019-06-02 00:03:54 -0300
-
c5d704a34f
add not operator
Luna
2019-06-02 00:02:37 -0300
-
1d774c6011
add support for nil, true and false literal values
Luna
2019-06-01 23:44:59 -0300
-
ec652b29d9
remove print debug
Luna
2019-06-01 23:35:13 -0300
-
589413488c
move towards dynamically typed values
Luna
2019-06-01 23:33:53 -0300
-
0f8e19adf1
compiler: finish parser (for math expressions)
Luna
2019-06-01 21:32:25 -0300
-
230fef20b5
add other bytecode emitters
Luna
2019-06-01 20:48:26 -0300
-
2736bee8d8
scanner: remove debug print
Luna
2019-06-01 20:34:09 -0300
-
e1d0e3ec0b
add basic compiler code
Luna
2019-06-01 20:33:43 -0300
-
7d7aabbdd7
scanner: add keyword handling (copied off the old scanner)
Luna
2019-06-01 17:20:50 -0300
-
d62c58a195
scanner: add identifiers
Luna
2019-06-01 17:15:27 -0300
-
566d8313f3
add number tokens
Luna
2019-06-01 17:13:50 -0300
-
9d1d253c94
scanner: fix peekNext
Luna
2019-06-01 17:12:00 -0300
-
27b04e1612
scanner: add basic error handling, strings, comments
Luna
2019-06-01 17:07:22 -0300
-
f4f1fe1fbc
scanner: add whitespace handling
Luna
2019-06-01 16:54:15 -0300
-
2c7cf356b3
scanner: add basic tokens and matched-tokens
Luna
2019-06-01 16:50:48 -0300
-
6b9cc575d9
add draft scanner, remove messy Token union, replace by struct
Luna
2019-06-01 16:37:24 -0300
-
63045e4df5
add src/new_scanner.zig
Luna
2019-06-01 16:21:36 -0300
-
b80cd52c50
main: readd runPrompt and runFile
Luna
2019-06-01 16:17:28 -0300
-
a9dca436bd
remove chunk running code, add draft compiler struct
Luna
2019-06-01 16:12:39 -0300
-
088674bf0b
vm: add dynamically-sized growing stack
Luna
2019-06-01 15:45:30 -0300
-
3377d1675c
vm, chunk: add binary operators
Luna
2019-06-01 15:40:18 -0300
-
2822676707
vm: add negate opcode
Luna
2019-06-01 15:27:19 -0300
-
61e463713c
vm: add stack
Luna
2019-06-01 15:23:23 -0300
-
456bc95138
vm: add debug flags
Luna
2019-06-01 15:01:39 -0300
-
dae3c259fd
add basic virtual machine code
Luna
2019-06-01 14:55:11 -0300
-
14fa63e1f6
finish impl for ConstantLong
Luna
2019-06-01 14:18:44 -0300
-
2d33e03efb
add incomplete ConstantLong instruction
Luna
2019-06-01 02:06:23 -0300
-
ba78b39300
add constant values to the virtual machine
Luna
2019-06-01 01:46:01 -0300
-
c4401dc8cf
moving to the virtual machine part of the book, pt 1
Luna
2019-06-01 01:20:06 -0300
-
727a259638
rm make_exprs.py, moving to the c part
Luna
2019-06-01 00:04:04 -0300
-
6ff75a0926
finish make_exprs.py script
Luna
2019-05-31 23:43:46 -0300
-
8007df6853
add mypy_cache to gitignore
Luna
2019-05-31 23:38:21 -0300
-
3b73978f40
add make_exprs.py script
Luna
2019-05-31 23:37:45 -0300
-
756f85d77d
add multiline block comments
Luna
2019-05-31 22:45:23 -0300
-
bba969922f
add reading of keywords on doIdentifier
Luna
2019-05-31 22:39:53 -0300
-
9d4c1249b4
add keyword map when scanner is initialized
Luna
2019-05-31 22:34:10 -0300
-
69aa7b493d
add number tokens
Luna
2019-05-31 22:08:41 -0300
-
d1db7a0bd9
add consumption of comments and strings
Luna
2019-05-31 21:46:18 -0300
-
9a2c50a53e
add basic tokens and a basic lexer
Luna
2019-05-31 21:23:51 -0300
-
31b0fa783c
add file reads and main prompt
Luna
2019-05-31 17:07:08 -0300
-
b3ea9637bd
move to zig
Luna
2019-05-31 16:15:27 -0300
-
3d26da0144
remove examples and main parser grammar
Luna
2019-05-31 16:04:09 -0300
-
a7034db0eb
finish "parsing" of hello.jt
Luna
2019-03-10 03:04:37 -0300
-
c2678fe360
better ast cleanup
Luna
2019-03-10 02:47:02 -0300
-
92a365d908
ast_nodes: add ReturnType, Identifier, Import
Luna
2019-03-10 02:38:52 -0300
-
b7d5646bad
add classes for AST nodes
Luna
2019-03-10 02:13:22 -0300
-
7ce0565de7
add basics of a handwritten parser
Luna
2019-03-10 01:55:12 -0300
-
9fda0b31c3
grammaer: more changes
Luna
2019-03-09 20:05:03 -0300
-
abdff4f65c
put more things in grammar
Luna
2019-03-09 18:58:28 -0300
-
09f230985e
remove unused grammar file
Luna
2019-03-09 16:58:46 -0300
-
fe507437ea
add install and usage to README
Luna
2019-03-09 16:54:47 -0300
-
9e8a5abdaa
package jortsc with setup.py
Luna
2019-03-09 16:52:34 -0300
-
a11d21873a
finish basic token list
Luna
2019-03-09 00:02:13 -0300
-
ece290e064
Merge branch 'master' of https://gitdab.com/luna/jorts
Luna
2019-03-08 23:43:56 -0300
-
-
588b63fabe
add basic lexer
Luna
2019-03-08 23:43:17 -0300
-
d12c913679
Merge branch 'master' of betseg/jorts into master
Luna
2019-03-08 22:15:09 +0000
-
-
3caef4e7d6
Update 'examples/higher-order-functions.jt'
#1
betseg
2019-03-08 22:14:08 +0000
-
-
3c983b004c
add jortsc/main.py
Luna
2019-03-08 18:50:58 -0300
-
05c2563c7f
remove c source
Luna
2019-03-08 18:47:00 -0300
-
-
2d91393a1c
add extending-structs.jt, struct-functions.jt
Luna
2019-03-08 18:45:33 -0300
-
a4685423a4
add more examples
Luna
2019-03-08 18:30:30 -0300
-
b3ac29fd3b
add some stuff
Luna
2019-03-08 05:22:52 -0300
-
b9439a921a
Initial commit
Luna
2019-03-08 07:47:28 +0000