Irmen de Jong
|
78c71bbf0e
|
adding file selector example
|
2024-12-30 00:00:31 +01:00 |
|
Irmen de Jong
|
37c2c1bf0b
|
support &, &< and &> on array elements from split word arrays, not just on the array as a whole
|
2024-12-30 00:00:31 +01:00 |
|
Irmen de Jong
|
056c0a24d9
|
better way of doing BIT instructions
|
2024-12-30 00:00:31 +01:00 |
|
Irmen de Jong
|
827df04b32
|
IR: BIT instruction added
|
2024-12-30 00:00:31 +01:00 |
|
Irmen de Jong
|
bdccffbb8e
|
stricter type checking in multivalue assigns, avoids possible invalid output due to missing type cast
|
2024-12-26 22:20:08 +01:00 |
|
Irmen de Jong
|
4daa909f32
|
fix path normalization problems,
allow ~ in srcdirs compiler flag
|
2024-12-26 17:42:20 +01:00 |
|
Irmen de Jong
|
529ea5bf58
|
added coroutines library and multitasking example. Added sys.push_returnaddress().
|
2024-12-26 00:57:39 +01:00 |
|
Irmen de Jong
|
0653d430a7
|
fix compiler crash related to uword array parameters type checking
|
2024-12-25 12:12:20 +01:00 |
|
Irmen de Jong
|
5071da6784
|
retain constants in IR
some IR related cleanups
|
2024-12-24 00:30:08 +01:00 |
|
Irmen de Jong
|
4c1e2f3110
|
refactor package nesting of ast exception classes
|
2024-12-23 18:14:46 +01:00 |
|
Irmen de Jong
|
2727a4dcb3
|
tweak DataType class and memsizer related to subtypes/elementtypes
|
2024-12-23 17:28:25 +01:00 |
|
Irmen de Jong
|
d70cfbb661
|
added sorting module and sortingbench example
|
2024-12-21 06:18:35 +01:00 |
|
Irmen de Jong
|
5482ac0302
|
simplify grammar of @tags, also improving their error message
|
2024-12-21 01:44:58 +01:00 |
|
Irmen de Jong
|
131d5ceb4f
|
avoid re-reading all source files when sourcelines are requested in the asm
|
2024-12-21 00:06:18 +01:00 |
|
Irmen de Jong
|
512ddd1694
|
cleanups
|
2024-12-20 22:59:20 +01:00 |
|
Irmen de Jong
|
73baaeff1f
|
avoid compiler crash when using char literal in str initialization
fix compiler crash when using str var in an expression without &
|
2024-12-18 15:08:45 +01:00 |
|
Irmen de Jong
|
7c79cdbd2f
|
fix symbol prefixing on goto with expression
added coroutines example
|
2024-12-17 16:16:38 +01:00 |
|
Irmen de Jong
|
02f3f5d0f5
|
@split is back to force splitting of word arrays
|
2024-12-16 14:51:32 +01:00 |
|
Irmen de Jong
|
1e85f7812f
|
removed anyall library module altogether. The routines weren't very optimized and didn't work on split word arrays.
|
2024-12-15 17:45:31 +01:00 |
|
Irmen de Jong
|
80d88b3c61
|
fix many split array issues
|
2024-12-15 17:08:07 +01:00 |
|
Irmen de Jong
|
28c721fa7d
|
add a split-array version for word containment check
|
2024-12-15 13:45:47 +01:00 |
|
Irmen de Jong
|
8f799567cf
|
make word arrays split by default (w.i.p.)
|
2024-12-15 08:12:34 +01:00 |
|
Irmen de Jong
|
697d54e10a
|
fix asmgen for call $3000
|
2024-12-13 22:33:26 +01:00 |
|
Irmen de Jong
|
1679ca79b4
|
can now use boolean params mapped to Rx register
|
2024-12-13 20:47:23 +01:00 |
|
Irmen de Jong
|
f8aaa2d13c
|
explicit integer type check for @R0-R15 parameters
avoids weird type inconsistency for boolean parameters that would get aliased as unsigned byte instead invisibly
|
2024-12-10 23:19:41 +01:00 |
|
Irmen de Jong
|
b2e821755c
|
optimized palette module
removed palette.set_monochrome(), added start color index to several color set functions
removed mcf example
update gradle wrapper
|
2024-12-08 15:30:42 +01:00 |
|
Irmen de Jong
|
2e303041c1
|
fix crash when using undefined variable in for loop
|
2024-12-06 21:50:22 +01:00 |
|
Irmen de Jong
|
86d4a4309f
|
cleanups
|
2024-12-05 21:56:00 +01:00 |
|
Irmen de Jong
|
1a1ab0dac6
|
changed the data type system to composite types
|
2024-12-05 21:48:51 +01:00 |
|
Irmen de Jong
|
617ea15c3a
|
fix failing optimization of 'not' in if statements
|
2024-12-04 19:03:24 +01:00 |
|
Irmen de Jong
|
1ebfff7c7b
|
add -plaintext and -ignorefootguns options
|
2024-12-03 19:12:30 +01:00 |
|
Irmen de Jong
|
50c3d809dc
|
fix type casting issues and unary ^ operator
signed numbers are no longer implicitly converted to unsigned
proper range check on bankof()
|
2024-12-01 17:43:53 +01:00 |
|
Irmen de Jong
|
6aaa0f928e
|
IR: fix invalid asm name matching that resulted in not removing subs with a name matching an IR asm instruction
|
2024-11-30 00:10:57 +01:00 |
|
Irmen de Jong
|
53558f5c1d
|
add zmskit example for zsmkit v2
|
2024-11-29 00:04:57 +01:00 |
|
Irmen de Jong
|
2eed75f602
|
call convention for @Rx parameters, also use cpu registers if possible, like normal parameters
|
2024-11-25 22:22:24 +01:00 |
|
Irmen de Jong
|
d58f9f56c4
|
tests for register args for normal subs
some warnings demoted into infos
|
2024-11-24 19:21:45 +01:00 |
|
Irmen de Jong
|
5c6bd9c091
|
register params support for normal subroutines
|
2024-11-24 15:56:54 +01:00 |
|
Irmen de Jong
|
857d2eefca
|
added floats.interpolate(), math.interpolate(), and LERP example
|
2024-11-24 10:00:21 +01:00 |
|
Irmen de Jong
|
906b137a7c
|
renamed 'string' module to 'strings' for consistency
|
2024-11-23 15:51:38 +01:00 |
|
Irmen de Jong
|
42e2c5f605
|
fix some deprecated code in tests
silence redundant error about unused txt block
|
2024-11-23 15:48:18 +01:00 |
|
Irmen de Jong
|
cc13a51493
|
fix import order problem related to %option merge
|
2024-11-23 12:15:15 +01:00 |
|
Irmen de Jong
|
f569ce6141
|
setting a byte >=128 or word >=32768 now results in an out-of-range error, instead of an invalid casted value
|
2024-11-22 21:24:04 +01:00 |
|
Irmen de Jong
|
4958463e75
|
moved floats.MIN/MAX to sys.MIN_FLOAT/MAX_FLOAT
added txt.print_f as alias to floats.print
|
2024-11-22 00:46:23 +01:00 |
|
Irmen de Jong
|
9fd9e9ab5f
|
change block sort order so that blocks with address are now sorted last
|
2024-11-20 23:23:26 +01:00 |
|
Irmen de Jong
|
35c477b5a6
|
Make extsub address a (constant) expression instead of a numeric literal
this makes it easier to define API jump tables
|
2024-11-20 23:23:26 +01:00 |
|
Irmen de Jong
|
ae0cadb383
|
added bnk() builtin function
|
2024-11-20 23:23:21 +01:00 |
|
Irmen de Jong
|
a874aec6a1
|
implementing const long
|
2024-11-20 23:22:56 +01:00 |
|
Irmen de Jong
|
ea1daa97d3
|
remove the 'addmissingrts' compiler option
|
2024-11-20 23:22:56 +01:00 |
|
Irmen de Jong
|
9da70bdf05
|
simplify ReturnConvention a little
|
2024-11-20 23:22:56 +01:00 |
|
Irmen de Jong
|
51a05ec4b7
|
removed BuiltinFunctionCall redundant ast node type
|
2024-11-20 23:22:56 +01:00 |
|