Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						8a0c02e264
					 | 
					
						
						
							
							Merge branch 'refs/heads/master' into structs
						
						
						
						
						
						
						
						# Conflicts:
#	codeCore/src/prog8/code/target/NormalMemSizer.kt
#	codeCore/src/prog8/code/target/VMTarget.kt
#	compiler/src/prog8/compiler/BuiltinFunctions.kt
#	compilerAst/src/prog8/ast/antlr/Antlr2Kotlin.kt
#	examples/test.p8 
						
						
					 | 
					
						2025-05-29 13:42:16 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						3b1b0985c1
					 | 
					
						
						
							
							make sizeof(float) work, so you don't have to use sys.SIZEOF_FLOAT anymore etc.
						
						
						
						
						
						
						
						define sys.SIZEOF_FLOAT in terms of sizeof(float) 
						
						
					 | 
					
						2025-05-29 12:38:03 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						aaa81210ce
					 | 
					
						
						
							
							cleaning up pointer indexing
						
						
						
						
						
						
					 | 
					
						2025-05-25 02:56:32 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						5e2d0d0dfc
					 | 
					
						
						
							
							fix param order of AssignTarget
						
						
						
						
						
						
					 | 
					
						2025-05-02 00:41:42 +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
							
						 
					 | 
					
						
						
							
						
						7668a3c660
					 | 
					
						
						
							
							use kotest tempdir instead of hardcoded output directory
						
						
						
						
						
						
					 | 
					
						2025-03-14 01:18:33 +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
							
						 
					 | 
					
						
						
							
						
						09a17743ad
					 | 
					
						
						
							
							merge IMachineDefinition into ICompilationTarget
						
						
						
						
						
						
					 | 
					
						2025-01-13 21:45:38 +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
							
						 
					 | 
					
						
						
							
						
						512ddd1694
					 | 
					
						
						
							
							cleanups
						
						
						
						
						
						
					 | 
					
						2024-12-20 22:59:20 +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
							
						 
					 | 
					
						
						
							
						
						8f799567cf
					 | 
					
						
						
							
							make word arrays split by default (w.i.p.)
						
						
						
						
						
						
					 | 
					
						2024-12-15 08:12:34 +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
							
						 
					 | 
					
						
						
							
						
						f89f1a84d0
					 | 
					
						
						
							
							@initonce variable tag to skip variable reinitialization
						
						
						
						
						
						
					 | 
					
						2024-11-08 19:03:48 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						c9535049c8
					 | 
					
						
						
							
							%align directive and @align64
						
						
						
						
						
						
					 | 
					
						2024-10-26 20:58:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						1cd754f05d
					 | 
					
						
						
							
							adding @alignword/page on individual variables
						
						
						
						
						
						
					 | 
					
						2024-10-26 17:00:38 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						edc5a5a94f
					 | 
					
						
						
							
							improve data driven unit tests to use kotest withData()
						
						
						
						
						
						
					 | 
					
						2024-09-08 16:55:08 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						c5b7edad82
					 | 
					
						
						
							
							added memsizer unit tests
						
						
						
						
						
						
					 | 
					
						2024-09-08 15:24:47 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						641f6c05d8
					 | 
					
						
						
							
							allow 'void' as dummy assign target in multi-assignment statements
						
						
						
						
						
						
					 | 
					
						2024-03-31 23:43:26 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						edc83305a4
					 | 
					
						
						
							
							allow multiple targets in AssignTarget
						
						
						
						
						
						
					 | 
					
						2024-03-22 21:51:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						eef8ae00b8
					 | 
					
						
						
							
							replace str return type by uword
						
						
						
						
						
						
					 | 
					
						2024-03-09 15:38:46 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						4bb2b8ca9b
					 | 
					
						
						
							
							make isArray a computed property by simply checking the datatype
						
						
						
						
						
						
					 | 
					
						2023-12-26 19:58:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						0a4de45453
					 | 
					
						
						
							
							get rid of vardecl.declareddatatype
						
						
						
						
						
						
					 | 
					
						2023-12-26 19:33:58 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						1bdc427d73
					 | 
					
						
						
							
							multi var declarations ubyte x,y,z
						
						
						
						
						
						
					 | 
					
						2023-12-08 22:18:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						c94e292176
					 | 
					
						
						
							
							more split array stuff
						
						
						
						
						
						
					 | 
					
						2023-05-27 12:47:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						fc253237c9
					 | 
					
						
						
							
							fix issues with reporting inlined subroutines as unused
						
						
						
						
						
						
					 | 
					
						2023-03-07 23:47:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b6e5dbd06c
					 | 
					
						
						
							
							optimized away VarDecl.subroutineParameter
						
						
						
						
						
						
					 | 
					
						2023-02-12 23:19:35 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						f117805129
					 | 
					
						
						
							
							order
						
						
						
						
						
						
					 | 
					
						2023-02-05 12:36:32 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b2cb125bd4
					 | 
					
						
						
							
							more 6502 codegen on new Pt-AST.
						
						
						
						
						
						
					 | 
					
						2023-01-22 17:10:52 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						ba614801ee
					 | 
					
						
						
							
							cleanup
						
						
						
						
						
						
					 | 
					
						2022-05-22 23:11:22 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						ff57c5e9d3
					 | 
					
						
						
							
							working on vm and new ast
						
						
						
						
						
						
					 | 
					
						2022-03-21 01:36:11 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						3961f26635
					 | 
					
						
						
							
							consolidating modules
						
						
						
						
						
						
					 | 
					
						2022-03-11 20:45:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						e51c274a18
					 | 
					
						
						
							
							reducing dependencies
						
						
						
						
						
						
					 | 
					
						2022-03-11 20:32:35 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						9a798360f4
					 | 
					
						
						
							
							introduced codeAst and codeCore modules to reduce dependencies
						
						
						
						
						
						
					 | 
					
						2022-03-10 22:38:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						251b6fcf70
					 | 
					
						
						
							
							reducing dependencies
						
						
						
						
						
						
					 | 
					
						2022-03-10 02:09:34 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						db7ae028b2
					 | 
					
						
						
							
							simplified CompilationResult a bit
						
						
						
						
						
						
					 | 
					
						2022-03-07 21:41:12 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b47fc1c020
					 | 
					
						
						
							
							renames of some Ast node classes
						
						
						
						
						
						
					 | 
					
						2022-02-11 00:34:36 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						10de7dc1f9
					 | 
					
						
						
							
							fixed the concurrent modification issue on zeropage when running unit tests in parallel, by not having machine targets be static objects
						
						
						
						
						
						
					 | 
					
						2022-02-06 21:29:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						30e1c3307c
					 | 
					
						
						
							
							simplify SourceCode: just read the full text immediately.  Also optimized imports.
						
						
						
						
						
						
					 | 
					
						2022-02-05 03:50:54 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b7d06f2c0a
					 | 
					
						
						
							
							API change: added alignment parameter to memory() function
						
						
						
						
						
						
					 | 
					
						2022-01-24 18:58:57 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b29c3152db
					 | 
					
						
						
							
							Assignment: make its origin explicit
						
						
						
						
						
						
					 | 
					
						2022-01-10 02:25:02 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						3831679772
					 | 
					
						
						
							
							VarDecl: make its origin explicit
						
						
						
						
						
						
					 | 
					
						2022-01-10 01:53:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						7bc75fd220
					 | 
					
						
						
							
							fix that memory("a b c", ...) produces invalid symbol
						
						
						
						
						
						
					 | 
					
						2022-01-02 16:11:53 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						0feeb88024
					 | 
					
						
						
							
							codegen package rename 2
						
						
						
						
						
						
					 | 
					
						2021-12-28 14:23:36 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						ff715881bc
					 | 
					
						
						
							
							allow scoped identifiers to reference a subroutine parameter directly.
						
						
						
						
						
						
						
						also for asmsubroutines, but the asm generation for that is not yet done. 
						
						
					 | 
					
						2021-11-21 23:21:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b292124f3c
					 | 
					
						
						
							
							replaced many short/int values by unsigned types if appropriate
						
						
						
						
						
						
					 | 
					
						2021-11-21 00:55:56 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						74db5c6be7
					 | 
					
						
						
							
							fix referencesIdentifier() and better removal of unnecessary assignments
						
						
						
						
						
						
					 | 
					
						2021-11-20 17:41:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						cedfb17b18
					 | 
					
						
						
							
							fix too aggressive removal of vars that weren't completely unused
						
						
						
						
						
						
					 | 
					
						2021-11-19 22:49:35 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						42c8720e8b
					 | 
					
						
						
							
							fix float rounding tests
						
						
						
						
						
						
					 | 
					
						2021-11-18 22:54:49 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Irmen de Jong
							
						 
					 | 
					
						
						
							
						
						b334d89715
					 | 
					
						
						
							
							refactor and fix the way memory addresses are checked to be in IO space or regular ram
						
						
						
						
						
						
					 | 
					
						2021-11-18 22:47:58 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |