Irmen de Jong
|
d65670cc7b
|
fix 6502 address-of for array-indexed pointers (pointer arithmetic)
|
2025-08-18 20:24:39 +02:00 |
|
Irmen de Jong
|
f74eeaee0f
|
fix IR address-of for array-indexed pointers (pointer arithmetic)
|
2025-08-18 03:24:32 +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
|
4a8d5def84
|
code cleanups, pointer TODOs, docs dark mode
|
2025-08-16 11:25:18 +02:00 |
|
Irmen de Jong
|
2f60716082
|
6502 struct allocation to asm file, struct name and field prefixing (maybe unneeded...)
|
2025-08-16 01:49:22 +02:00 |
|
Irmen de Jong
|
729efb04e1
|
fix code size regressions
|
2025-08-14 23:59:59 +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
|
f7fde070ca
|
fix boolean pointer condition in if expression
|
2025-08-08 22:15:58 +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
|
e56f533e38
|
more basic pointer inplace operations
|
2025-08-07 00:36: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
|
ae9f99448e
|
fix pointer subtract arithmetic
|
2025-08-05 23:23:29 +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
|
9e10c15e2e
|
working on 6502 pointer inplace assignments
|
2025-08-04 23:32:17 +02:00 |
|
Irmen de Jong
|
6bd7752bac
|
working on 6502 pointer dereferencing
|
2025-08-04 20:22:13 +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
|
4a1d05dd46
|
first 6502 codegen results
|
2025-08-03 16:10:00 +02:00 |
|
Irmen de Jong
|
aa324e355a
|
remove 6502 pointer check, TODOs for pointer assignments
|
2025-08-03 13:28:39 +02:00 |
|
Irmen de Jong
|
5cb8bcead7
|
todo
|
2025-08-03 00:54:43 +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
|
651830ea82
|
update syntax files
|
2025-08-02 21:00:16 +02:00 |
|
Irmen de Jong
|
c70146f1dc
|
Merge branch 'master' into structs
# Conflicts:
# docs/source/todo.rst
|
2025-08-02 19:26:54 +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
|
647cd0fbe1
|
fix pointer[i].field compiler crash
|
2025-08-02 05:29:16 +02:00 |
|
Irmen de Jong
|
ea8935a346
|
doc
|
2025-08-02 00:02:29 +02:00 |
|
Irmen de Jong
|
7ea80babfc
|
todo
|
2025-08-01 23:38:49 +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
|
3d10882f57
|
fix ast printing
|
2025-07-30 23:42:45 +02:00 |
|
Irmen de Jong
|
1988496512
|
correct commit hash
|
2025-07-30 01:08:22 +02:00 |
|
Irmen de Jong
|
88b074c208
|
pointer types should just be uwords in IR
|
2025-07-30 01:07:37 +02:00 |
|
Irmen de Jong
|
c4c5636a81
|
fixing array indexing on pointers
|
2025-07-29 23:41:38 +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
|
23ad540aa5
|
fix IR codegen type error on array pointer dereference
|
2025-07-28 20:25:56 +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 |
|