Irmen de Jong
|
3a99115070
|
Initial variable values semantics changed: now always sets value at program (re)start (except strings/arrays).
This may change later by introducing a compiler option to choose a strategy, perhaps.
|
2020-03-22 15:12:26 +01:00 |
|
Irmen de Jong
|
63c073c93f
|
got rid of the Simulator / AST VM
|
2020-03-22 02:50:34 +01:00 |
|
Irmen de Jong
|
4929c198ba
|
tweak error reporting, expanded lines and circles example
|
2020-03-22 00:43:46 +01:00 |
|
Irmen de Jong
|
21dbc6da97
|
doc
|
2020-03-21 12:51:32 +01:00 |
|
Irmen de Jong
|
f265199fbe
|
replaced typecastsAdder with version based on astwalker
|
2020-03-20 22:28:18 +01:00 |
|
Irmen de Jong
|
a326ffa00a
|
added warning about sgn() of unsigned type
|
2020-03-14 21:09:34 +01:00 |
|
Irmen de Jong
|
1de328b2e8
|
added forever-loop and optimizer
|
2020-03-14 18:11:04 +01:00 |
|
Irmen de Jong
|
4fd14f1366
|
doc updates
|
2020-03-14 15:20:04 +01:00 |
|
Irmen de Jong
|
64d682bfde
|
todo
|
2020-03-13 02:33:02 +01:00 |
|
Irmen de Jong
|
b182f7e693
|
optimizer removes unreachable code following call to exit()
|
2020-03-13 02:31:53 +01:00 |
|
Irmen de Jong
|
e6be428589
|
compiler warning for unreachable code following a call to exit()
|
2020-03-13 02:21:37 +01:00 |
|
Irmen de Jong
|
85c7f8314b
|
added exit(rc) builtin function to immediately exit the program with a return code in A register
|
2020-03-13 02:08:18 +01:00 |
|
Irmen de Jong
|
796d07a7f8
|
fix crash in asm code generated for bitshift operation with memory address operand
|
2020-03-13 01:26:53 +01:00 |
|
Irmen de Jong
|
2af86a10b2
|
remove stack error comments
|
2020-03-13 00:52:52 +01:00 |
|
Irmen de Jong
|
7fbe486dff
|
fix eval stack register X error in print_uw
|
2020-03-13 00:50:30 +01:00 |
|
Irmen de Jong
|
fbecedaf41
|
added error for unsupported sort(floatarray)
|
2020-03-11 23:33:06 +01:00 |
|
Irmen de Jong
|
8d1a4588d3
|
added 'downto' range expression
|
2020-03-11 20:59:14 +01:00 |
|
Irmen de Jong
|
66d2af4453
|
added '@' alternative string/char encoding
|
2020-03-11 00:41:58 +01:00 |
|
Irmen de Jong
|
ef6c731bb3
|
added '@' alternative string/char encoding
|
2020-03-11 00:32:50 +01:00 |
|
Irmen de Jong
|
98a638a2f3
|
split asmsub and romsub declarations
|
2020-03-10 23:09:31 +01:00 |
|
Irmen de Jong
|
e2cb031386
|
added 'void' keyword to explicitly ignore subroutine return values (and no longer get a warning)
|
2020-02-09 01:29:09 +01:00 |
|
Irmen de Jong
|
a0bc97b90c
|
fix byte array iteration for bb in [1,2,3]
improved array literal datatype detection
|
2020-02-09 00:45:53 +01:00 |
|
Irmen de Jong
|
885b22df40
|
fixed while and repeat warning messages line number
fixed invalid while and repeat asm label names
fixed boolean checking of numbers
|
2020-02-08 19:45:30 +01:00 |
|
Irmen de Jong
|
b8816a0e2f
|
got rid of separate str_s datatype
|
2020-02-07 20:47:38 +01:00 |
|
Irmen de Jong
|
772e48105e
|
fixed some type cast compiler errors in for loops
|
2019-08-26 23:38:59 +02:00 |
|
Irmen de Jong
|
89d469e77e
|
examples
|
2019-08-25 00:46:46 +02:00 |
|
Irmen de Jong
|
aa94300bdd
|
added output directory command line option
improved cli parser by using kotlinx.cli
|
2019-08-23 00:11:08 +02:00 |
|
Irmen de Jong
|
b79af624ae
|
added more asmgen for bitshift operations
|
2019-08-22 00:34:17 +02:00 |
|
Irmen de Jong
|
0f1485f30b
|
added sorted, sgn, reverse to the AstVm
|
2019-08-18 16:39:08 +02:00 |
|
Irmen de Jong
|
eb94c678bd
|
doc
|
2019-08-18 14:18:46 +02:00 |
|
Irmen de Jong
|
50d792a121
|
fix doc about for loops
|
2019-08-18 14:14:14 +02:00 |
|
Irmen de Jong
|
bb7b063757
|
revert inline var declaration in for loops
|
2019-08-18 03:16:23 +02:00 |
|
Irmen de Jong
|
1cc1f2d91d
|
reverse() added (byte+word)
|
2019-08-18 02:05:51 +02:00 |
|
Irmen de Jong
|
27f987f0ae
|
fixed bit shifts, added sgn() function
|
2019-08-17 16:44:28 +02:00 |
|
Irmen de Jong
|
3ae2597261
|
irq driven music player example
|
2019-08-17 13:13:15 +02:00 |
|
Irmen de Jong
|
68df1730f5
|
cleaned up some stuff, improved checking of asmsub statement body
|
2019-08-14 23:17:50 +02:00 |
|
Irmen de Jong
|
d62ab93b24
|
word >> 8 optimized to msb(word)
|
2019-08-14 22:28:44 +02:00 |
|
Irmen de Jong
|
b5c5560af8
|
info
|
2019-08-11 18:21:15 +02:00 |
|
Irmen de Jong
|
b44e76db57
|
fix any/all assembly routine, added asm for min/max/sum/ etc aggregates
removed avg function because of hidden internal overflow issues
|
2019-08-11 16:13:09 +02:00 |
|
Irmen de Jong
|
fe5b225732
|
asmsub stack arg
|
2019-08-11 12:29:18 +02:00 |
|
Irmen de Jong
|
d499e40a4b
|
doc tweaks
|
2019-08-11 10:56:36 +02:00 |
|
Irmen de Jong
|
7ddc01f883
|
added continuous compilation mode (file watching)
|
2019-08-05 23:36:24 +02:00 |
|
Irmen de Jong
|
2c3b8a9819
|
more ++ and -- code, 'dontuse' zeropage option
|
2019-08-04 22:35:27 +02:00 |
|
Irmen de Jong
|
a1cd202cd2
|
some more array asm
|
2019-08-04 15:33:00 +02:00 |
|
Irmen de Jong
|
b842493cf0
|
trying to fix arithmetic and funcion calls and var scoping issues
|
2019-08-03 13:21:38 +02:00 |
|
Irmen de Jong
|
4718f09cb7
|
trying to fix arithmetic and funcion calls
|
2019-08-03 01:51:12 +02:00 |
|
Irmen de Jong
|
fba149ee28
|
removed the ~ before block names
|
2019-07-29 23:11:13 +02:00 |
|
Irmen de Jong
|
411bedcc46
|
fixed assignment type error with structs
added structs example
|
2019-07-16 23:56:00 +02:00 |
|
Irmen de Jong
|
07d8caf884
|
string literal concatenation and repeating added again
|
2019-07-16 23:34:43 +02:00 |
|
Irmen de Jong
|
17be722e2b
|
arrays without init value are once again cleared with zeros
|
2019-07-15 23:05:04 +02:00 |
|