Commit Graph

943 Commits

Author SHA1 Message Date
Irmen de Jong
28ab7bbe34 fix symbol usage tracking, also track scopes themselves. Fix directive option comparisons. 2018-09-05 23:07:23 +02:00
Irmen de Jong
cd6327850e improve datatype checks, auto convert some value types 2018-09-05 02:23:49 +02:00
Irmen de Jong
a81c1485d7 fix globalnamespace after change 2018-09-05 00:11:52 +02:00
Irmen de Jong
d9865a4b97 bunch of new builtin functions, const expression evaluation now also done for array literals 2018-09-04 23:37:21 +02:00
Irmen de Jong
76d07a2de8 recursion checking and bugfix in subroutine usage determination 2018-09-03 23:19:25 +02:00
Irmen de Jong
6ed6a3a552 stackvm program parser 2018-09-03 15:36:19 +02:00
Irmen de Jong
6d7d5a4d13 tweaks 2018-09-03 00:30:11 +02:00
Irmen de Jong
e39ae3c346 branching instructions 2018-09-02 18:32:48 +02:00
Irmen de Jong
492c64f348 vm stuff 2018-09-02 16:38:18 +02:00
Irmen de Jong
d4341b7afe more builtin functions 2018-09-02 12:34:50 +02:00
Irmen de Jong
dc3095956a parent now lateinit (not-null) 2018-09-01 23:24:25 +02:00
Irmen de Jong
6701f2a3a4 fix lib and gitignore 2018-09-01 20:38:01 +02:00
Irmen de Jong
640457f35a stuff 2018-09-01 19:40:28 +02:00
Irmen de Jong
3e11d45883 removal of unused nodes 2018-09-01 00:03:32 +02:00
Irmen de Jong
cc73d90d6e cbm charset codecs, name checking 2018-08-31 18:36:13 +02:00
Irmen de Jong
bc558019ee fix float generation 2018-08-31 00:08:47 +02:00
Irmen de Jong
8368633ed2 mflpt5 but not correct yet 2018-08-17 01:47:07 +02:00
Irmen de Jong
26a7a3c8d0 zeropage 2018-08-16 23:10:28 +02:00
Irmen de Jong
4dc594a046 setup for compilation 2018-08-16 18:32:05 +02:00
Irmen de Jong
f98b9c3cb9 fix import losing statements 2018-08-16 17:08:26 +02:00
Irmen de Jong
d28ce881e4 restructure 2018-08-16 16:35:16 +02:00
Irmen de Jong
b6ea33efa3 error reporting improved 2018-08-16 15:55:56 +02:00
Irmen de Jong
50bbbc67e2 range initializers 2018-08-14 16:46:34 +02:00
Irmen de Jong
4b7d656a2f range initializers 2018-08-14 16:29:08 +02:00
Irmen de Jong
397fdc61cd if statement 2018-08-14 14:33:36 +02:00
Irmen de Jong
bd6a05df73 names 2018-08-14 13:08:27 +02:00
Irmen de Jong
69ff680eaf fix functions 2018-08-14 02:22:59 +02:00
Irmen de Jong
666b9b2263 functions 2018-08-14 01:15:11 +02:00
Irmen de Jong
74fd5d29b8 evals 2018-08-14 00:27:43 +02:00
Irmen de Jong
4c250fdc17 namespaces 2018-08-13 20:28:15 +02:00
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