• 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/vig 2019-06-05 01:11:36 +00:00
71cef32fb0 add basic ast, parser files
c19f6df834 split main code into a runner struct
Compare 2 commits »
luna pushed to master at luna/vig 2019-06-05 00:16:58 +00:00
a44f04c7c8 scanner: finish off with identifiers and keywords
luna pushed to master at luna/vig 2019-06-04 21:08:00 +00:00
498ea72da4 add support for ++ and +=
285f0b8410 add string support
Compare 2 commits »
luna pushed to master at luna/vig 2019-06-04 20:40:55 +00:00
8a9522d954 add multiline comment support
luna pushed to master at luna/vig 2019-06-04 20:29:14 +00:00
1e47b29685 fix scanner peek/peekNext
765cef87db add number and comment support
Compare 2 commits »
luna pushed to master at luna/vig 2019-06-04 18:22:21 +00:00
1453bef6c5 add nicer error handling, whitespace skipping
59083198c6 add basic scanner logic
Compare 2 commits »
luna pushed to master at luna/vig 2019-06-04 02:12:49 +00:00
3d243eefff add runPrompt / runFile / run functions
luna pushed to master at luna/vig 2019-06-04 00:31:11 +00:00
ceb89f61bc add LICENSE
luna pushed to master at luna/vig 2019-06-04 00:30:32 +00:00
ba9b1064f2 initial commit
luna created repository luna/vig 2019-06-04 00:30:13 +00:00
luna pushed to master at luna/jorts 2019-06-03 19:27:57 +00:00
d7b78e09e3 finish impl for local vars
26d299cd23 add local/global "switch"
5138410be4 compiler: add scope support
25ee586acb compiler: add local scope basics
Compare 4 commits »
luna pushed to master at luna/jorts 2019-06-03 04:42:13 +00:00
69dda36d16 add SetGlobal/SetGlobalLong opcodes
luna pushed to master at luna/jorts 2019-06-03 03:58:53 +00:00
9f45dea2c0 vm: remove uneeded hack
8bc220d2f8 chunk: split writing side-effects into own function
922f3c530c chunk: fix disasm on the new const-load op codes
Compare 3 commits »
luna pushed to master at luna/jorts 2019-06-03 03:03:38 +00:00
3936b4a426 main: keep a long-running vm instance for REPL
005981fbbd vm: add getglobal support
887cb1adea add emitting of GetGlobal/GetGlobalLong
e3ac28d84e vm: deinit globals on vm deinit
Compare 4 commits »
luna pushed to master at luna/jorts 2019-06-03 01:56:49 +00:00
3a6df2d9ea add basic global variable support
luna pushed to master at luna/jorts 2019-06-02 21:11:47 +00:00
aa94396e51 compiler: add nicer error handling
06df2d37ee add expression statements
bea6e34365 add print statement
Compare 3 commits »
luna pushed to master at luna/jorts 2019-06-02 18:40:02 +00:00
3f2a8f3801 add object list cleaning on VM.deinit
cf53b6fc86 add basics of virtual machine object list
Compare 2 commits »
luna pushed to master at luna/jorts 2019-06-02 17:18:27 +00:00
38715af200 vm: add string concatenation
luna pushed to master at luna/jorts 2019-06-02 17:02:14 +00:00
9ac5fccc2b add objects and string comparison
luna pushed to master at luna/jorts 2019-06-02 16:18:07 +00:00
44c27f43b7 move new_scanner.zig to scanner.zig