Commit Graph

4163 Commits

Author SHA1 Message Date
Irmen de Jong
0b8e3183b7 import lib paths 2018-08-13 12:08:30 +02:00
Irmen de Jong
8974a9cc2d duplicate label check 2018-08-13 11:34:14 +02:00
Irmen de Jong
dcab0d1e98 refactor interface 2018-08-13 11:01:37 +02:00
Irmen de Jong
64032d766e %option 2018-08-13 10:51:05 +02:00
Irmen de Jong
4d60506d0a fix function calls 2018-08-13 04:12:42 +02:00
Irmen de Jong
13b4afdc35 subroutines 2018-08-13 01:30:33 +02:00
Irmen de Jong
cb22d9caf2 module import mechanism and ast checking 2018-08-12 23:28:51 +02:00
Irmen de Jong
20d5eb79d0 position and parent moved out of data class constructor 2018-08-12 21:19:02 +02:00
Irmen de Jong
30c5550ece ast processing 2018-08-12 17:16:36 +02:00
Irmen de Jong
306663b991 got rid of modulo operator for now, function call arguments added 2018-08-12 02:53:49 +02:00
Irmen de Jong
aadd50cc27 optimizer first steps 2018-08-11 19:55:04 +02:00
Irmen de Jong
89ffb0021d ast mutable to prepare for expression rewriting 2018-08-11 15:19:25 +02:00
Irmen de Jong
112e05dc84 more grammar 2018-08-11 14:06:43 +02:00
Irmen de Jong
d702dd1e74 more grammar 2018-08-11 03:22:55 +02:00
Irmen de Jong
1ccc73f1f8 antlr grammar and AST for il65 2018-08-10 02:58:41 +02:00
Irmen de Jong
7e511a1fe9 antlr grammar and AST for il65 2018-08-10 00:26:41 +02:00
Irmen de Jong
437c948c05 grammar 2018-08-09 01:54:43 +02:00
Irmen de Jong
cee0f5bd2a more docs. restructure project. add antlr stuff. 2018-08-07 22:49:01 +02:00
Irmen de Jong
b34ae4c91c new docs 2018-08-07 01:23:34 +02:00
Irmen de Jong
0e785fcfb3 new docs 2018-08-06 03:35:43 +02:00
Irmen de Jong
bc8d56cbd7 rethinking some aspects and rewriting text a bit 2018-07-01 23:24:32 +02:00
Irmen de Jong
1ea7c015c8 codecs lib 2018-06-08 20:00:36 +02:00
Irmen de Jong
68dd767be8 .text -> .str 2018-04-03 16:40:24 +02:00
Irmen de Jong
4e38f7d6b3 docs 2018-04-03 15:19:48 +02:00
Irmen de Jong
ef9176df45 tinyvm codegen started 2018-03-10 20:32:34 +01:00
Irmen de Jong
4d929e00f5 restructure codegen 2018-03-06 22:30:56 +01:00
Irmen de Jong
44c0d243ef astnode properties fix 2018-03-06 22:06:30 +01:00
Irmen de Jong
6696887f0e more vm opcodes 2018-03-06 21:36:41 +01:00
Irmen de Jong
bcc1a6b91f memory mapped i/o (charin, charout) 2018-03-05 23:13:19 +01:00
Irmen de Jong
7a5813d3be comment 2018-03-04 17:03:49 +01:00
Irmen de Jong
12ae95bbbc timer irq changes 2018-03-04 16:45:52 +01:00
Irmen de Jong
8bfe21dd65 typing 2018-03-04 15:11:45 +01:00
Irmen de Jong
ab84b6012b timer things 2018-03-03 12:13:25 +01:00
Irmen de Jong
27e6749533 vm tweaks 2018-03-03 00:07:44 +01:00
Irmen de Jong
0603b93f47 call/return 2018-03-02 02:49:43 +01:00
Irmen de Jong
8e7c504a88 optimized opcode dispatch 2018-02-28 02:40:16 +01:00
Irmen de Jong
13273ce6cc timer 'irq' in vm 2018-02-28 01:26:24 +01:00
Irmen de Jong
e9b5bc8200 tinyvm 2018-02-27 21:11:08 +01:00
Irmen de Jong
ed8267b1ec tinyvm 2018-02-25 16:43:00 +01:00
Irmen de Jong
ac2ed0528f augassign dealings with value > 255 2018-02-22 01:22:32 +01:00
Irmen de Jong
e41efef204 fixed some incrdecr optimization issues 2018-02-21 00:50:09 +01:00
Irmen de Jong
920b6ca51e got rid of multi-assignments 2018-02-20 01:16:16 +01:00
Irmen de Jong
de3bca0763 const folding cleanups and explicit notion of assignment LHS 2018-02-20 00:08:41 +01:00
Irmen de Jong
a171bb998d first part of goto codegen 2018-02-16 16:43:21 +01:00
Irmen de Jong
191978c8fb slightly optimized the most called function 2018-02-16 13:59:18 +01:00
Irmen de Jong
daca1cce37 fix some errors 2018-02-16 12:42:13 +01:00
Irmen de Jong
4134400059 fix some errors 2018-02-16 00:55:58 +01:00
Irmen de Jong
5d7e31ed74 fix some errors 2018-02-13 23:11:36 +01:00
Irmen de Jong
79283a4117 cleanups 2018-02-13 22:14:59 +01:00
Irmen de Jong
fb1a4aa4ea character literals (strings of len 1) are no longer automatically converted to byte integers 2018-02-11 15:11:14 +01:00