Irmen de Jong
9621552056
add 'arena' allocator library
...
6502 targets use uword sizes with no alignment overhead; m68k/virtual use
long sizes with even-address alignment. Updated the six pointer examples that used to have their own arena implementation.
2026-09-13 05:43:57 +02:00
Irmen de Jong
9587e1b724
Merge branch 'master' into new-codegens
2026-07-11 22:17:25 +02:00
Irmen de Jong
e5865a1446
fix delete root node bug in binarytree.p8
2026-07-11 22:16:51 +02:00
Irmen de Jong
57714efb40
added pushp() and popp() builtin functions
2026-07-11 21:49:22 +02:00
Irmen de Jong
093be9f2dd
sys.push(), sys.pop() etc etc are now builtin functions again push() pop() to avoid storing value in temporary variables
...
this means that all of the syslib.p8 library files no longer contain all those stack related asmsubs
2026-02-21 02:11:34 +01:00
Irmen de Jong
a8bede17b2
fix defer() with the arena allocator ("return values are evaluated before the defer is executed")
2025-09-17 23:59:32 +02:00
Irmen de Jong
9461e4088c
fixed the hashtable example and workarounds for misbehaving defer in allocators
2025-09-17 22:53:01 +02:00
Irmen de Jong
3ef09d7d9a
use LOADFIELD instruction more instead of an extra explicit ADD
...
add implicit @zp to pointer variables if they don't have a preference
2025-08-31 15:53:44 +02:00
Irmen de Jong
369303c46d
fix register clobbering in pointer deref
2025-08-18 23:36:35 +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
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