Irmen de Jong
|
3f3b01b5f6
|
Merge branch 'master' into codegen-on-new-ast
|
2023-01-26 01:40:30 +01:00 |
|
Irmen de Jong
|
19a2791c65
|
vm target can't use asmsub at all, give better error for that
|
2023-01-26 01:38:13 +01:00 |
|
Irmen de Jong
|
4e8ccf0ef3
|
Merge branch 'master' into codegen-on-new-ast
|
2023-01-26 00:38:54 +01:00 |
|
Irmen de Jong
|
f1a7d5ecf7
|
docs
|
2023-01-26 00:37:30 +01:00 |
|
Irmen de Jong
|
8b05abb80d
|
proper error when attempting to refer to parameters of asmsub by name
|
2023-01-25 23:41:08 +01:00 |
|
Irmen de Jong
|
48c9349ce9
|
working on codegen fixes
|
2023-01-25 01:57:25 +01:00 |
|
Irmen de Jong
|
117d848466
|
consolidate builtin function definitions into codeCore
|
2023-01-25 00:23:00 +01:00 |
|
Irmen de Jong
|
9a2df072cc
|
tiny correction
|
2023-01-24 22:48:44 +01:00 |
|
Irmen de Jong
|
99c62aab36
|
Merge branch 'master' into codegen-on-new-ast
# Conflicts:
# examples/test.p8
|
2023-01-24 01:51:20 +01:00 |
|
Irmen de Jong
|
224278e07a
|
correct openjdk-11 sdk setting in project files instead of just 11
|
2023-01-24 01:49:38 +01:00 |
|
Irmen de Jong
|
74b69e191e
|
restructure keyboardhandler example due to X register bug, discussed in #94
|
2023-01-24 01:30:57 +01:00 |
|
Irmen de Jong
|
8cda8a727c
|
update vtui example to vtui 1.0
|
2023-01-24 01:00:21 +01:00 |
|
Irmen de Jong
|
a3c0c7c96f
|
Merge branch 'master' into codegen-on-new-ast
# Conflicts:
# codeGenIntermediate/src/prog8/codegen/intermediate/IRCodeGen.kt
# examples/test.p8
|
2023-01-22 18:30:37 +01:00 |
|
Irmen de Jong
|
4403e4ed62
|
optimize node renames
|
2023-01-22 18:26:37 +01:00 |
|
Irmen de Jong
|
9b209823f6
|
simple test
|
2023-01-22 17:10:52 +01:00 |
|
Irmen de Jong
|
b2cb125bd4
|
more 6502 codegen on new Pt-AST.
|
2023-01-22 17:10:52 +01:00 |
|
Irmen de Jong
|
5e8f767642
|
6502 codegen on new Pt-AST.
|
2023-01-22 17:10:52 +01:00 |
|
Irmen de Jong
|
6ee270d9d8
|
make name a var in new ast to allow cheap renames
|
2023-01-22 17:10:04 +01:00 |
|
Irmen de Jong
|
44fa309d20
|
tweak action
|
2023-01-21 15:29:11 +01:00 |
|
Irmen de Jong
|
58d88f3dd4
|
github action and update tool docs
|
2023-01-21 14:47:32 +01:00 |
|
Irmen de Jong
|
e980c23177
|
github action
|
2023-01-21 14:25:17 +01:00 |
|
Irmen de Jong
|
75224321bb
|
github action
|
2023-01-21 14:19:01 +01:00 |
|
Irmen de Jong
|
801af05b20
|
github action
|
2023-01-21 14:02:08 +01:00 |
|
Irmen de Jong
|
7611dbbddc
|
fix action
|
2023-01-21 13:47:09 +01:00 |
|
Irmen de Jong
|
6d40ca15bc
|
github action
|
2023-01-21 13:39:30 +01:00 |
|
Irmen de Jong
|
32c1c19224
|
tweak sys.wait() routines on various targets
add warning to docs about FP usage in IRQ
|
2023-01-20 03:29:10 +01:00 |
|
Irmen de Jong
|
bbf6357222
|
remove workaround for black cursor at boot as this was recently fixed in the kernal rom.
|
2023-01-17 23:27:27 +01:00 |
|
Irmen de Jong
|
dc16629c24
|
todo
|
2023-01-04 23:57:59 +01:00 |
|
Irmen de Jong
|
3718b9d768
|
less joins
|
2023-01-02 02:10:38 +01:00 |
|
Irmen de Jong
|
c25eb088ec
|
redo 8e730ef93d to avoid larger code generated
|
2023-01-01 23:43:33 +01:00 |
|
Irmen de Jong
|
3feb3e52f8
|
optimizing scoped names in zeropage
|
2022-12-31 03:57:51 +01:00 |
|
Irmen de Jong
|
8e730ef93d
|
optimizing scoped names more and fix scoping of identifier names in arrays (pointers) in SymbolTable
|
2022-12-31 03:20:20 +01:00 |
|
Irmen de Jong
|
e0913a39ab
|
optimizing
|
2022-12-30 18:50:45 +01:00 |
|
Irmen de Jong
|
7a27fbc001
|
add params for future changes
|
2022-12-30 17:43:55 +01:00 |
|
Irmen de Jong
|
ee0dbdad35
|
don't reshuffle 'start' routine to the top. Fixes zsound examples.
|
2022-12-30 17:12:01 +01:00 |
|
Irmen de Jong
|
9225f88f89
|
diskio comments
|
2022-12-30 15:49:53 +01:00 |
|
Irmen de Jong
|
a04839dd6b
|
vm: add property for custom breakpoint handler
|
2022-12-30 15:10:13 +01:00 |
|
Irmen de Jong
|
002006517a
|
rewrite bool=bool^1 into bool=not bool
|
2022-12-29 19:42:38 +01:00 |
|
Irmen de Jong
|
f5b202d438
|
fix ast type error in float cast to bool
|
2022-12-28 22:18:21 +01:00 |
|
Irmen de Jong
|
a7df094ff4
|
don't allow ~ on booleans, also introduce SZ and SNZ instructions in IR to complete the conditional-set instruction list.
|
2022-12-28 21:19:38 +01:00 |
|
Irmen de Jong
|
1e6fa77633
|
ir: 4 new instructions to branch on signed <0, >0, <=0, >=0
|
2022-12-28 13:14:20 +01:00 |
|
Irmen de Jong
|
eb4cff202c
|
removed redundant branch opcodes in IR: BLT(S), BLE(S). Just use swapped BGT(S), BGE(S).
|
2022-12-28 12:41:05 +01:00 |
|
Irmen de Jong
|
7ee777f405
|
vm/ir: for loop is now correctly skipped if loopvar>endvar
this is different still in the 6502 codegen, where it wraps around $00!
|
2022-12-27 18:12:41 +01:00 |
|
Irmen de Jong
|
81bd5c784e
|
don't remove consecutive assigns to IO space location
|
2022-12-24 18:01:54 +01:00 |
|
Irmen de Jong
|
b526e132a7
|
better warning + don't remove non-trivial initializer expression for unused variables
|
2022-12-24 17:22:30 +01:00 |
|
Irmen de Jong
|
1860f66de5
|
allow "x not in array" as equivalent to "not x in array"
update antlr parsing lib
|
2022-12-23 17:59:56 +01:00 |
|
Irmen de Jong
|
ded9ada9bc
|
allow "not xx in array" expression in 6502 codegen
fix compiler crash on certain bool to byte casts
|
2022-12-23 17:07:34 +01:00 |
|
Irmen de Jong
|
d0e6a2eb8b
|
fix compiler crash on hoisting certain vardecls from inner scopes
|
2022-12-22 18:49:53 +01:00 |
|
Irmen de Jong
|
4e103a1963
|
making snow example more interesting
|
2022-12-22 13:04:26 +01:00 |
|
Irmen de Jong
|
475e927178
|
version 8.8
|
2022-12-17 23:00:49 +01:00 |
|