Irmen de Jong
1ba5587404
allow syntax for declaring variables with struct instance type
2025-05-03 16:14:22 +02:00
Irmen de Jong
6fc2902895
fixing ptr traversal typecheck issues
2025-05-02 00:41:42 +02:00
Irmen de Jong
2661d3c489
allow array syntax on pointers
2025-05-02 00:41:42 +02:00
Irmen de Jong
b89bbb9281
allow pointers in subroutines params and return values
2025-05-02 00:41:42 +02:00
Irmen de Jong
0162e7a0c1
fix the scoping problems on subtypes
2025-05-02 00:41:42 +02:00
Irmen de Jong
6ce099f176
IR: fix ptr type checks and struct field assignment errors
2025-05-02 00:41:42 +02:00
Irmen de Jong
803e6bd81a
fix uword vs pointer type errors and casts
2025-05-02 00:41:42 +02:00
Irmen de Jong
88269628a2
had to turn ^type syntax into ^^type to avoid confusion with the eor operator once again
2025-05-02 00:41:42 +02:00
Irmen de Jong
2ae3bd68eb
more pointer dereferencing for chains
2025-05-02 00:41:42 +02:00
Irmen de Jong
e328520588
initial struct and typed pointer support
2025-05-02 00:41:40 +02:00
Irmen de Jong
99ae8ea52e
code cleanup
2025-04-24 18:51:03 +02:00
Irmen de Jong
a4d0589f10
fix errors like parse error still printed in color when -plaintext is set
2025-04-22 19:26:11 +02:00
Irmen de Jong
dd2d466350
code cleanups
2025-04-17 22:58:02 +02:00
Irmen de Jong
5c2f509a52
also hide emulator process output when using -quiet
2025-04-10 21:26:48 +02:00
Irmen de Jong
59582f5210
added -quiet flag to suppres all compiler and assembler messages
2025-04-10 21:16:26 +02:00
Irmen de Jong
0ee42b9aa0
output_type is now part of custom target config and atari again defaults to .xex
2025-04-09 20:43:44 +02:00
Irmen de Jong
3770a4fe0c
easier datatype notation by just using the type objects directly
2025-03-18 23:33:04 +01:00
Irmen de Jong
f04b97d890
support symlinks in paths (triggered by symlinked tmp on mac os)
2025-03-15 14:33:33 +01:00
Irmen de Jong
3e2b2a698d
Separate simple Ast and Symboltable from codeCore into new simpleAst module. VirtualMachine and Intermediate do not need them, just codeCore.
2025-02-24 22:06:52 +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
Irmen de Jong
bc550a4549
fix optimized multi-value call result assignment
2025-02-19 20:19:20 +01:00
Irmen de Jong
fc03d6f332
changed -sourcelines option to -nosourcelines (default is now to include them)
2025-02-12 21:27:46 +01:00
Irmen de Jong
2aeb7a838e
finalize extracting neo and atari compiler targets into configuration files instead
2025-02-12 14:01:04 +01:00
Irmen de Jong
99ff5dd078
extracting neo and atari compiler targets into configuration files instead
2025-02-12 13:58:34 +01:00
Irmen de Jong
069143092d
fix Golden ram issues
2025-02-09 15:57:14 +01:00
Irmen de Jong
efd41260f2
added %jmptable
2025-02-09 15:02:59 +01:00
Irmen de Jong
8b158d9240
fix 64tass ascii encoding option for atari and neo6502
2025-02-01 21:47:01 +01:00
Irmen de Jong
f335251c2b
added ability to specify additional assembler options in custom target configurations
2025-02-01 16:09:43 +01:00
gillham
e646dd1ed1
Add an encoding for the C64 OS custom character set. Use c64os: ( #158 )
2025-01-31 23:41:55 +01:00
Irmen de Jong
2b7947f9b0
fix address check issue when using custom launcher
2025-01-31 23:34:12 +01:00
Irmen de Jong
9cdf53019c
some tweaks to the configurable targets
2025-01-30 23:52:44 +01:00
Irmen de Jong
1a04a3eb3a
added ability to configure custom ASM launcher code in target configuration file
2025-01-30 22:10:42 +01:00
Irmen de Jong
ee784e1ccc
fix indication for when imported modules are library modules or not.
...
This fixes a bug where syslib and such gets optimized away when it is loaded from an alternative library location using the configurable target library path property setting.
2025-01-26 21:19:29 +01:00
Irmen de Jong
2478aea316
add %output library
2025-01-24 23:25:57 +01:00
Irmen de Jong
1e17df5296
optimize word+byte*2 expression to word+byte+byte (more efficient in 6502 codegen)
2025-01-24 21:30:02 +01:00
Irmen de Jong
0191acb2b3
fix IR codegen for the RETURN 4,5,6,7
...
added cx16.EXTAPI_memory_decompress_from_func for cx16
2025-01-22 23:31:51 +01:00
Irmen de Jong
277a1a32b2
fix crash when declaring a string array with wrong variable type str vs str[]
2025-01-21 03:12:12 +01:00
Irmen de Jong
7a13f57ab0
enforce variable init values are only strings or arrays
2025-01-20 01:25:17 +01:00
Irmen de Jong
bc7b086f0f
fix a configurable compilation target, add working example
2025-01-17 22:58:51 +01:00
Irmen de Jong
e8f3af6981
adding a configurable compilation target
2025-01-17 00:56:44 +01:00
Irmen de Jong
09a17743ad
merge IMachineDefinition into ICompilationTarget
2025-01-13 21:45:38 +01:00
Irmen de Jong
2ab2130000
renamed "intermediate AST" to "simplified AST"
2025-01-10 20:33:44 +01:00
Irmen de Jong
8f6b5676d7
working on codegen for multi-value returns
2025-01-07 20:35:49 +01:00
Irmen de Jong
ca9422bbe9
be able to parse multiple return values (sub + return)
2025-01-07 01:51:54 +01:00
Irmen de Jong
f0e8ff0326
get rid of some empty lines in the generated asm
2025-01-05 19:34:05 +01:00
Irmen de Jong
3b5cda85ff
fix register clobber on @()
2025-01-05 16:34:51 +01:00
Irmen de Jong
478e2b4ebd
abs() return type changed to ubyte/uword
2025-01-04 23:16:51 +01:00
Irmen de Jong
10b9162dc5
improving fileselector
2024-12-30 21:34:03 +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