Irmen de Jong
|
a68209be37
|
converting untyped to typed pointers in cx16 libraries
|
2025-08-24 14:13:02 +02:00 |
|
Irmen de Jong
|
fad17cc094
|
support a few other simple cases of struct instance assignment
|
2025-08-21 00:04:30 +02:00 |
|
Irmen de Jong
|
f93d957999
|
proper warning for struct instance assignment (not yet supported)
|
2025-08-20 20:35:29 +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
|
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
|
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
|
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
|
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
|
b137164fe6
|
allow str assigned to ^^ubyte without an explicit cast
|
2025-06-17 18:29:48 +02:00 |
|
Irmen de Jong
|
c71066af4c
|
fixing name lookup issue
|
2025-06-16 22:15:51 +02:00 |
|
Irmen de Jong
|
6f0a0981bd
|
fixing name lookup issue
|
2025-06-16 00:21:54 +02:00 |
|
Irmen de Jong
|
49a4d9ba37
|
allow str as struct field type (^^ubyte) and strings in struct initializers
|
2025-06-15 00:29:59 +02:00 |
|
Irmen de Jong
|
fcdfa741b9
|
Merge branch 'master' into structs
# Conflicts:
# compiler/src/prog8/compiler/astprocessing/AstPreprocessor.kt
|
2025-06-14 21:07:23 +02:00 |
|
Irmen de Jong
|
3bab177d50
|
working on pointers/binarytree example
|
2025-06-13 23:20:15 +02:00 |
|
Irmen de Jong
|
12abafb917
|
Merge branch 'master' into structs
# Conflicts:
# docs/source/todo.rst
# examples/test.p8
# gradle.properties
|
2025-06-12 00:11:58 +02:00 |
|
Irmen de Jong
|
0be90dedf2
|
check for split word array as argument
|
2025-06-11 21:35:36 +02:00 |
|
Irmen de Jong
|
e6bab3ceeb
|
IR: adding LOADFIELD and STOREFIELD instructions
|
2025-06-09 01:41:45 +02:00 |
|
Irmen de Jong
|
77584493fd
|
support a.b.ptr[i]^^.value as expression (RHS)
|
2025-05-30 20:28:10 +02:00 |
|
Irmen de Jong
|
37ecdc47b3
|
allow ptr1^^ = ptr^^ (replaces it with memcopy)
|
2025-05-29 16:34:47 +02:00 |
|