455f60fb84
for loop and comparison expression fixes
2018-09-20 01:13:21 +02:00
00d74551b3
fix for loop code generation.
...
added flt conversion function.
attempt at implementing break and continue.
var initializer value can be omitted for numeric vars (and default to 0)
subroutine return statement not needed when no return values.
2018-09-18 23:14:32 +02:00
63492a1805
stackvm functions
2018-09-18 00:38:29 +02:00
266f98a888
doc
2018-09-16 11:25:37 +02:00
3426593a06
fixed a load of type checks regarding arrays and matrixes and strings
...
added more builtin functions to the compiler to access the syscalls in the stackVm
2018-09-16 00:06:06 +02:00
c05cd72d23
vm tweaks
2018-09-15 18:43:23 +02:00
e382be89db
changed source file suffix to .p8
2018-09-15 16:35:15 +02:00
8ff72167a4
renamed project to Prog8
2018-09-15 16:21:05 +02:00
6da048ba4c
some type conversion opcodes added
2018-09-15 04:07:42 +02:00
70fe43a6ac
improved type checking of builtin functions
2018-09-15 03:12:30 +02:00
28aaf38f22
made position required to avoid some bugs where it was not specified
...
fixed some type checking bugs
2018-09-15 01:28:01 +02:00
efd3b1f5c6
matrix decl parsing and fixes
2018-09-12 03:07:49 +02:00
8ef61ffc88
various syntax checks added
...
first steps code generation
2018-09-08 00:07:25 +02:00
3933fdab13
added lsb, msb functions.
...
fixed missing errormessages.
changed some zp options.
2018-09-06 21:13:49 +02:00
0b4135698e
reorder statments to please the compiler later
2018-09-06 01:35:26 +02:00
d9865a4b97
bunch of new builtin functions, const expression evaluation now also done for array literals
2018-09-04 23:37:21 +02:00
76d07a2de8
recursion checking and bugfix in subroutine usage determination
2018-09-03 23:19:25 +02:00
e39ae3c346
branching instructions
2018-09-02 18:32:48 +02:00
d4341b7afe
more builtin functions
2018-09-02 12:34:50 +02:00
4b7d656a2f
range initializers
2018-08-14 16:29:08 +02:00
397fdc61cd
if statement
2018-08-14 14:33:36 +02:00
69ff680eaf
fix functions
2018-08-14 02:22:59 +02:00
666b9b2263
functions
2018-08-14 01:15:11 +02:00
64032d766e
%option
2018-08-13 10:51:05 +02:00
437c948c05
grammar
2018-08-09 01:54:43 +02:00
cee0f5bd2a
more docs. restructure project. add antlr stuff.
2018-08-07 22:49:01 +02:00
b34ae4c91c
new docs
2018-08-07 01:23:34 +02:00
0e785fcfb3
new docs
2018-08-06 03:35:43 +02:00