Irmen de Jong
|
b95608f68a
|
new common ICodeGeneratorBackend interface for all code generator classes
|
2023-02-12 23:52:54 +01:00 |
|
Irmen de Jong
|
b6e5dbd06c
|
optimized away VarDecl.subroutineParameter
|
2023-02-12 23:19:35 +01:00 |
|
Irmen de Jong
|
f09bcf3fcf
|
Merge branch 'master' into codegen-on-new-ast
|
2023-02-12 17:36:18 +01:00 |
|
Irmen de Jong
|
d0b18dec8e
|
shuffle variable sorting around to attempt smaller compiled programs
|
2023-02-12 17:34:33 +01:00 |
|
Irmen de Jong
|
75d486b124
|
fix variable node casting
|
2023-02-12 17:04:58 +01:00 |
|
Irmen de Jong
|
4914609485
|
local varnames and fix uninitialized parents
|
2023-02-12 16:00:58 +01:00 |
|
Irmen de Jong
|
75bd66326a
|
fix variable zpwish
|
2023-02-11 15:18:57 +01:00 |
|
Irmen de Jong
|
8f904f75bb
|
Merge branch 'master' into codegen-on-new-ast
|
2023-02-11 14:40:23 +01:00 |
|
Irmen de Jong
|
549c598f51
|
variables sorted in asm
|
2023-02-11 14:35:56 +01:00 |
|
Irmen de Jong
|
ed68d604d6
|
fix break as indirect jump
fix subroutine param scoped name
|
2023-02-11 01:21:27 +01:00 |
|
Irmen de Jong
|
f83752f43b
|
update compiler internals diagram
|
2023-02-09 23:15:19 +01:00 |
|
Irmen de Jong
|
86c22636eb
|
Merge branch 'master' into codegen-on-new-ast
|
2023-02-09 23:05:54 +01:00 |
|
Irmen de Jong
|
30d20a453b
|
tweak SymbolTable and fix its unittest
|
2023-02-09 22:58:21 +01:00 |
|
Irmen de Jong
|
fe29d8a23f
|
tweak codegen of inline sub
|
2023-02-09 21:59:09 +01:00 |
|
Irmen de Jong
|
694d088160
|
some cleanups about asmsub return registers and types
|
2023-02-09 03:19:57 +01:00 |
|
Irmen de Jong
|
6aabbffc62
|
some cleanups
|
2023-02-09 02:34:18 +01:00 |
|
Irmen de Jong
|
7b59bc8d12
|
avoid division by zero if host fs hyperload is used which loads instantly
|
2023-02-08 01:37:49 +01:00 |
|
Irmen de Jong
|
79d0fb0b52
|
cx16.numbanks() now returns a word because the result can be >255
|
2023-02-08 00:51:34 +01:00 |
|
Irmen de Jong
|
edf56d34f8
|
doc about no conditional compilation, fixes #93
also added a note to MEMTOP about 0 result
|
2023-02-06 23:36:19 +01:00 |
|
Irmen de Jong
|
623329fb33
|
fix
|
2023-02-05 17:08:24 +01:00 |
|
Irmen de Jong
|
9f0074eef9
|
Merge branch 'master' into codegen-on-new-ast
# Conflicts:
# codeCore/src/prog8/code/ast/AstStatements.kt
|
2023-02-05 16:44:30 +01:00 |
|
Irmen de Jong
|
6733253826
|
added printer for Pt Ast tree
|
2023-02-05 16:42:06 +01:00 |
|
Irmen de Jong
|
f117805129
|
order
|
2023-02-05 12:36:32 +01:00 |
|
Irmen de Jong
|
c75b1581d2
|
lookup via new ST
|
2023-02-05 01:15:23 +01:00 |
|
Irmen de Jong
|
109e118aba
|
fix sub return register
|
2023-02-03 21:16:44 +01:00 |
|
Irmen de Jong
|
201b77d5b6
|
boolean vs byte cast fixing, and pointervar error
|
2023-02-02 00:57:20 +01:00 |
|
Irmen de Jong
|
a5ca08f33d
|
fix popCpuStack to load values into asmsub register params
|
2023-02-01 22:00:37 +01:00 |
|
Irmen de Jong
|
86210c4513
|
clarification
|
2023-02-01 20:58:40 +01:00 |
|
Irmen de Jong
|
988a3e4446
|
group the three Pt nodes that represent a variable in the p8 source under single interface IPtVariable
|
2023-01-31 23:29:15 +01:00 |
|
Irmen de Jong
|
0f5cd22bb7
|
more codegen fixes
|
2023-01-31 22:57:26 +01:00 |
|
Irmen de Jong
|
2f5bed36b3
|
remove bool to ubyte typecasts
|
2023-01-31 01:25:44 +01:00 |
|
Irmen de Jong
|
5b6534bb28
|
fix symbol lookup in new ast and minor codegen errors
|
2023-01-31 00:18:21 +01:00 |
|
Irmen de Jong
|
e31e5b2477
|
got rid of PtScopeVarsDecls
|
2023-01-29 13:49:27 +01:00 |
|
Irmen de Jong
|
07d5fafe2e
|
Merge branch 'master' into codegen-on-new-ast
# Conflicts:
# compiler/src/prog8/compiler/astprocessing/IntermediateAstMaker.kt
|
2023-01-29 13:34:00 +01:00 |
|
Irmen de Jong
|
e08da659e5
|
got rid of PtScopeVarsDecls node, just insert variable nodes directly
|
2023-01-29 13:25:15 +01:00 |
|
Irmen de Jong
|
8a4979f44c
|
vm target 'zeropage' more robust
|
2023-01-29 12:47:12 +01:00 |
|
Irmen de Jong
|
e67464325f
|
fix missing symboltable entries for asmgen
|
2023-01-28 00:00:23 +01:00 |
|
Irmen de Jong
|
94c9b0d23b
|
Merge branch 'master' into codegen-on-new-ast
|
2023-01-27 22:14:57 +01:00 |
|
Irmen de Jong
|
e9ec310d8a
|
upgrade to kotlin 1.8.0
|
2023-01-27 22:14:10 +01:00 |
|
Irmen de Jong
|
c78d1e3c39
|
implemented Pt findTarget and siblings
|
2023-01-27 01:51:21 +01:00 |
|
Irmen de Jong
|
e94319145f
|
test
|
2023-01-26 01:41:44 +01:00 |
|
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 |
|