Irmen de Jong
|
79b8bb5c9f
|
Merge branch 'master' into structs6502
|
2025-08-19 01:12:50 +02:00 |
|
Irmen de Jong
|
fc5889ec0b
|
kotlin 2.2.10, kotest
|
2025-08-19 01:04:24 +02:00 |
|
Irmen de Jong
|
826fb3e9c2
|
implemented assign indexed ptr byte
|
2025-08-17 13:21:31 +02:00 |
|
Irmen de Jong
|
a3d7b8a899
|
fix detection of string comparisons (make it aware of new pointer types equivalent to STR)
|
2025-08-16 17:04:59 +02:00 |
|
Irmen de Jong
|
0cc36ed6e4
|
pointer TODO's all as stub methods in the PointerAssignmentsGen class
|
2025-08-16 16:21:06 +02:00 |
|
Irmen de Jong
|
4ea8b4d445
|
fix unknown field test and redundant errors
|
2025-08-14 21:01:25 +02:00 |
|
Irmen de Jong
|
e800c165f9
|
fix 6502 inplace pointer variable assignment
|
2025-08-14 20:38:18 +02:00 |
|
Irmen de Jong
|
fd9bd23449
|
6502 statementreorderer: str -> ^^ubyte
|
2025-08-13 18:45:29 +02:00 |
|
Irmen de Jong
|
8880ed1393
|
fix address-of struct fields
|
2025-08-08 23:08:47 +02:00 |
|
Irmen de Jong
|
5ada80779d
|
Merge branch 'refs/heads/master' into structs6502
# Conflicts:
# examples/test.p8
|
2025-08-07 21:25:07 +02:00 |
|
Irmen de Jong
|
8972235a0e
|
fix missing peekbool() and pokebool() code gen
|
2025-08-07 21:22:48 +02:00 |
|
Irmen de Jong
|
324fb7dbf7
|
more basic pointer inplace operations (float)
basic pointers unit test now passes
|
2025-08-06 22:26:23 +02:00 |
|
Irmen de Jong
|
44285b9b5d
|
more basic pointer inplace operations
|
2025-08-06 00:32:15 +02:00 |
|
Irmen de Jong
|
a68f477d61
|
Merge branch 'master' into structs6502
# Conflicts:
# docs/source/todo.rst
# examples/test.p8
|
2025-08-05 23:29:58 +02:00 |
|
Irmen de Jong
|
7c0fb10197
|
fix bug: VM MULR float error, another pointer dependency checker error
|
2025-08-05 22:00:05 +02:00 |
|
Irmen de Jong
|
9e85571a7b
|
fix pointer variable usage detection in other block
|
2025-08-05 17:39:22 +02:00 |
|
Irmen de Jong
|
83ec437e8a
|
testpointers unit test now also for 6502 targets
implementing first simple pointer operations
pointer vars also allocated in ZP for dontcare
|
2025-08-03 22:12:03 +02:00 |
|
Irmen de Jong
|
bbd06c0c99
|
implement peekbool/pokebool on 6502, fix float assignment register error
|
2025-08-02 21:38:29 +02:00 |
|
Irmen de Jong
|
d4e83b28bb
|
error messages and trying to improve support for struct allocs in arrays
added sorting example
|
2025-08-02 19:22:58 +02:00 |
|
Irmen de Jong
|
bc58a25765
|
allow sizeof(^^type) to return the size of a pointer
|
2025-08-02 11:33:15 +02:00 |
|
Irmen de Jong
|
38645022c9
|
actually disallow ^^str
|
2025-08-02 05:49:12 +02:00 |
|
Irmen de Jong
|
dee761a99e
|
fix compiler crash on certain pointer assignments
|
2025-08-01 22:22:43 +02:00 |
|
Irmen de Jong
|
88ee7a8187
|
fix expected outcome of function call arg type pointer test
|
2025-08-01 00:23:10 +02:00 |
|
Irmen de Jong
|
eb8b408b82
|
fix countries[2]^^ = 0 compiler crash
|
2025-07-31 02:03:18 +02:00 |
|
Irmen de Jong
|
c39d570b72
|
make more use of ISubType interface itself rather than casting it to StructDecl all the time
|
2025-07-29 22:59:31 +02:00 |
|
Irmen de Jong
|
4ccd7f9f3a
|
improve docs about recursion
|
2025-07-29 22:49:24 +02:00 |
|
Irmen de Jong
|
1c9c5aeef7
|
todos
|
2025-07-28 23:29:18 +02:00 |
|
Irmen de Jong
|
08810c2749
|
proper error message for unsupported &&subroutine
|
2025-07-27 23:44:24 +02:00 |
|
Irmen de Jong
|
a52966f327
|
rollback implicit casts to boolean in struct initializers and function call arguments
|
2025-07-27 03:27:26 +02:00 |
|
Irmen de Jong
|
842b11ed9e
|
struct docs
|
2025-07-27 00:00:40 +02:00 |
|
Irmen de Jong
|
82267b3f56
|
Merge branch 'master' into structs
# Conflicts:
# compiler/test/codegeneration/TestVariables.kt
# docs/source/_static/symboldumps/skeletons-c128.txt
# docs/source/_static/symboldumps/skeletons-c64.txt
# docs/source/_static/symboldumps/skeletons-cx16.txt
# docs/source/_static/symboldumps/skeletons-pet32.txt
# docs/source/_static/symboldumps/skeletons-virtual.txt
# docs/source/todo.rst
# examples/test.p8
|
2025-07-26 12:43:13 +02:00 |
|
Irmen de Jong
|
67fb45a55b
|
don't produce invalid boolean initalization error. Fixes #173
|
2025-07-26 12:35:23 +02:00 |
|
Irmen de Jong
|
817f4f8e7c
|
Merge branch 'master' into structs
# Conflicts:
# compiler/src/prog8/compiler/Compiler.kt
# compiler/src/prog8/compiler/astprocessing/AstExtensions.kt
# compiler/src/prog8/compiler/astprocessing/StatementReorderer.kt
# docs/source/todo.rst
# examples/test.p8
|
2025-07-24 22:27:29 +02:00 |
|
Irmen de Jong
|
866313209b
|
fixed zp vars 0 initialization
|
2025-07-24 00:17:31 +02:00 |
|
Irmen de Jong
|
893e16d814
|
replace str or ubyte[] param and returnvalue type into ^^ubyte rather than uword
|
2025-07-21 22:59:14 +02:00 |
|
Irmen de Jong
|
c3be7ab4b3
|
fix if expression type problems with pointers
|
2025-07-18 23:44:55 +02:00 |
|
Irmen de Jong
|
a9b8fbc6c6
|
Merge branch 'master' into structs
# Conflicts:
# examples/test.p8
|
2025-07-18 22:37:36 +02:00 |
|
Irmen de Jong
|
720988ae72
|
proper warnings for using pure builtin functions as a statement (discarding the result)
swallow a defer warning for a very common use case
|
2025-07-18 22:37:07 +02:00 |
|
Irmen de Jong
|
b0981a5fae
|
pointers no longer implicitly converted to boolean in expressions, to be consistent with how integers are handled in conditionals
adding particles fountain examples
|
2025-07-18 01:43:35 +02:00 |
|
Irmen de Jong
|
dc434d034a
|
fix address-of identifier alias replacement stripping array index away
|
2025-07-14 23:54:26 +02:00 |
|
Irmen de Jong
|
9c63ef39c7
|
fix pointer test
|
2025-07-07 23:09:45 +02:00 |
|
Irmen de Jong
|
9f6106452e
|
revert & to untyped pointer, added && for typed pointer address-of
|
2025-07-07 16:17:07 +02:00 |
|
Irmen de Jong
|
b6c0bac96f
|
identified problems with pointer array as parameter
|
2025-07-06 20:33:20 +02:00 |
|
Irmen de Jong
|
8ede098154
|
fix pointer array initialization
|
2025-07-06 19:42:54 +02:00 |
|
Irmen de Jong
|
2a4a3b786e
|
cleanup error message for currently unsupported deref'd pointer assignments
|
2025-07-06 14:59:42 +02:00 |
|
Irmen de Jong
|
b4e0a2019e
|
fixed assignment to a[i]^^
|
2025-07-06 13:38:22 +02:00 |
|
Irmen de Jong
|
54d41b7f6f
|
fixed a[i]^^
|
2025-07-05 23:54:08 +02:00 |
|
Irmen de Jong
|
bd72eaad4c
|
Merge branch 'refs/heads/master' into structs
# Conflicts:
# examples/test.p8
|
2025-06-18 17:53:20 +02:00 |
|
Irmen de Jong
|
b5d1575823
|
added boolean typed versions of the cx16.r0-r15 virtual registers
|
2025-06-18 00:05:10 +02:00 |
|
Irmen de Jong
|
1d306e5cdc
|
moved new animalgame
|
2025-06-17 23:21:54 +02:00 |
|