Irmen de Jong
45f48d2e88
amiga: added %option amiga_chipram in blocks to allocate them in CHIP ram (for sound and graphics data)
2026-08-08 02:01:04 +02:00
Irmen de Jong
88b3291785
added ELF/RAW output type selection for m68k, fix div garbage register data
2026-07-07 21:49:45 +02:00
Andy De George
2c10e2b102
Fix the swap documentation now that it's a statement and no longer a function ( #229 )
...
* [docs] Remove swap from built in functions
* Move swap info to programming doc
* Reintroduce swap statement documentation
* Apply suggestion from @Thraka
2026-07-07 00:08:29 +02:00
Irmen de Jong
73fb04aaf5
Add support for unique call-site IDs in banked subroutines
2026-06-23 00:28:22 +02:00
Irmen de Jong
d83ece397d
add configurable default launcher types for custom compilation targets
2026-06-19 18:58:05 +02:00
Irmen de Jong
b5fc25b2f4
Merge branch 'v12.2.1'
...
# Conflicts:
# compiler/test/TestCompilerOnExamples.kt
# docs/source/_static/symboldumps/skeletons-cx16.txt
2026-06-17 19:41:34 +02:00
Irmen de Jong
5a593b9ef3
Preserve cx16.r15 register in % for words. Update related code and documentation accordingly.
2026-06-17 19:23:19 +02:00
Irmen de Jong
b411914624
Document virtual register clobbering details and update related comments.
2026-06-17 03:00:33 +02:00
Irmen de Jong
8e6a27d7c1
@bank now also allows the name of a subroutine for dynamic / overlay banking
2026-06-12 23:47:16 +02:00
Irmen de Jong
17ee233e8b
tweak import path search order and document it
2026-06-08 20:34:17 +02:00
Irmen de Jong
191a240d0d
adjust extsub jump table offsets to more closely match reality
2026-05-30 23:42:52 +02:00
Irmen de Jong
f8b5037924
spelling corrections
2026-05-29 20:58:06 +02:00
Irmen de Jong
83aeb8846c
add support for private keyword for structs, enums, aliases, variables, and subroutines
2026-05-22 02:27:38 +02:00
Irmen de Jong
c32e7ee57b
improve docs about operator precedence
2026-04-22 02:46:17 +02:00
Irmen de Jong
5dcc11d67e
try to avoid crash when importing modules twice (via symlink for instance).
2026-04-18 18:06:41 +02:00
Irmen de Jong
4fb3df977e
fix correct evaluation of floats in multi-value returns
2026-04-07 05:41:27 +02:00
Irmen de Jong
a326c6f079
adding multivalue vardecls and assignments
2026-03-03 00:06:48 +01:00
Irmen de Jong
63cba4825a
doc tweaks
2026-02-26 01:44:36 +01: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
77f0cf8e89
defer stack doc and better error message for invalid range syntax
2026-02-16 23:00:50 +01:00
Irmen de Jong
3f181b0ede
allow alias to blocks
2026-02-10 22:51:05 +01:00
Andrew Gillham
2bd74b8c44
Add an index and set some non-ASCII fonts to improve the resulting pdf. ( #210 )
...
* Add an index and set some non-ASCII fonts to improve the resulting pdf.
* Fix coroutines index interfering with code block
* Add genindex which is needed to get a link to the html index.
2026-01-30 22:03:40 +01:00
Irmen de Jong
78d6d2d59a
breaking change: renamed R0R1_32 etc combined register parameters to just R0R1, R2R3, etc etc (_32 suffix is removed to make it more consistent with the other existing register names)
2026-01-07 21:56:16 +01:00
Irmen de Jong
e74162671a
clarify doc, fix possible poke() ast rewrite error
2026-01-02 19:11:57 +01:00
Irmen de Jong
6ad435df1f
mention main block size restriction
2025-12-22 05:28:55 +01:00
Irmen de Jong
a64f27c6b0
add cx16.r0r1sl, cx16.r2r3sl, ... that memory-map signed longs on the virtual registers
2025-11-25 21:13:03 +01:00
Irmen de Jong
314e7f5691
doc updates
2025-11-10 23:42:29 +01:00
Irmen de Jong
9c2bcab4a5
fix more ptr/long issues
2025-10-28 23:08:12 +01:00
Irmen de Jong
7027304597
put some upper bounds on more internal compiler loops
2025-10-23 20:37:44 +02:00
Irmen de Jong
f5ce744748
undo the math crc param optimization that now causes the footgun warning when you import math. + doc fix about arithmetic expressions
2025-10-14 00:31:29 +02:00
Irmen de Jong
7e26ecb0b6
allow 'then' in if-expressions to separate condition and result value
2025-10-10 23:26:53 +02:00
Irmen de Jong
71ffbe2ba7
document the long type
2025-10-04 22:33:43 +02:00
Irmen de Jong
ad0c767ea8
%breakpoint! introduced to place after an assignment to make it parse correctly
2025-09-20 00:46:15 +02: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
79419a98d0
add if-expression versions for the conditionals if_cc, if_cs, if_vc etc
2025-09-11 01:57:30 +02:00
Irmen de Jong
b52cee3154
use RST chapter notation to attempt to fix PDF chapters
2025-08-28 21:19:16 +02:00
Irmen de Jong
4ccd7f9f3a
improve docs about recursion
2025-07-29 22:49:24 +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
c2bf9024f8
start writing docs about structs and pointers, update syntax files with ^^
2025-06-18 19:00:18 +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
e8795859c5
added sorting library for target virtual
...
added sorting routines that sort a values array together with the keys array
optimized gnomesort a little
2025-06-07 19:42:40 +02:00
Irmen de Jong
31c1bf8bc5
added on..goto/call statement
2025-05-11 21:37:44 +02:00
Irmen de Jong
78b1076110
some more software links
2025-05-11 19:39:20 +02:00
Irmen de Jong
d04164c0a6
fix const evaluation of bitwise logical expressions (&, |, ^, <<, >>) of signed operands
2025-04-30 22:27:31 +02:00
Irmen de Jong
5a7bc04816
update docs about library jump table
2025-04-19 13:49:03 +02:00
Irmen de Jong
bd1894580e
allow floating point value as part of a multi-value return
2025-04-18 22:45:05 +02:00
Irmen de Jong
9df899eb63
document romable option and that strings+initialized arrays become read-only
2025-04-17 21:05:46 +02:00
Irmen de Jong
79cda544c8
allow integer range as when choice value
2025-03-17 22:26:27 +01:00
Irmen de Jong
40423911ef
added footgun warning when calling labels as subroutine
2025-03-04 22:14:21 +01:00
Irmen de Jong
e55ce5504e
added %option romable to enable romable mode, but only generate a bunch of warnings for problematic codegeneration atm
2025-02-20 23:40:44 +01:00