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
|
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
|
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
|
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
|
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
|
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
|
624220e9a3
|
fix boolean struct field as if conditional
|
2025-07-27 01:58:18 +02:00 |
|
Irmen de Jong
|
842b11ed9e
|
struct docs
|
2025-07-27 00:00:40 +02:00 |
|
Irmen de Jong
|
11186f1dbe
|
make sure that the virtual target -emu (vm) only runs the actual .p8ir file (fixes #172)
added emudbg.console_nl()
|
2025-07-26 11:19:01 +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
|
33470c47fc
|
last changes to virtual diskio to make untyped pointers typed
|
2025-07-21 22:13:36 +02:00 |
|
Irmen de Jong
|
ce8006992a
|
changing virtual diskio to use typed pointers
|
2025-07-21 22:10:04 +02:00 |
|
Irmen de Jong
|
23058b51a1
|
started changing libs to typed pointers
|
2025-07-21 20:50:33 +02:00 |
|
Irmen de Jong
|
2f90c53ad0
|
started changing libs to typed pointers
|
2025-07-20 23:59:59 +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
|
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
|
f9fbfe30e3
|
fix &x +/- offset pointer arithmetic expression
|
2025-07-07 13:11:57 +02:00 |
|
Irmen de Jong
|
b6c0bac96f
|
identified problems with pointer array as parameter
|
2025-07-06 20:33:20 +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
|
c2bf9024f8
|
start writing docs about structs and pointers, update syntax files with ^^
|
2025-06-18 19:00:18 +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
|
67d4ad50e1
|
add new animals example (that uses a pointer tree)
|
2025-06-17 01:08:36 +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
|
e3e395836d
|
fix splitting of array decl and initializer for non numeric types
|
2025-06-13 23:31:56 +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 |
|