| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 Irmen de Jong | fb1e89d9ef | update docs about call convention for multi-value results (first is in A or AY, then R15...R0) added sprites+coroutines+defer part to benchmark program | 2025-02-19 22:10:12 +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 | 74dd8fe80b | %output library header generation depends on compiler target fileselector example tweaks | 2025-02-02 20:51:45 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | a106c88054 | unit test for %output library, and docs. | 2025-01-27 23:26:21 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 66558f7638 | IR support for multi-value returns in normal subroutines, documentation. | 2025-01-09 22:39:08 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 1f49e8fe75 | in diskio.f_readline make sure AY result isn't clobbered | 2024-12-21 06:25:56 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | e7a0cb636c | add $< and $> operators to get the lsb and msb addresses of a @split array respectively. document the new split array things. | 2024-12-16 17:45:54 +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 | 9e8cc8b54d | goto can now accept any expression as address (instead of just a constant), and ofcourse a label name still. | 2024-12-15 05:22:37 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 697d54e10a | fix asmgen for call $3000 | 2024-12-13 22:33:26 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 3675d7961b | boolean variables can now also be memory-mapped (including boolean arrays) | 2024-12-11 18:25:27 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 58f696d00a | document the @R0 - @R15 register support for normal subroutine parameters | 2024-11-30 20:46:31 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | f603c543d3 | restructure documentation to get rid of redundant syntax chapter | 2024-11-30 20:26:06 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 3a7a7091c0 | update some docs | 2024-11-23 21:01:18 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 906b137a7c | renamed 'string' module to 'strings' for consistency | 2024-11-23 15:51:38 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 54fccec7d7 | now also support using defer inside if statements | 2024-11-12 00:11:19 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 3ba1d00a7c | add unit test for @dirty variables | 2024-11-09 13:31:54 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 64164c1c72 | changed @initonce to @dirty and meaning is now: not initialized at all. | 2024-11-08 22:05:31 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 9864abd393 | romsub keyword is now extsub | 2024-11-06 22:14:53 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | cb47e2c149 | documented the romsub bank additions | 2024-11-03 20:39:44 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | a231872821 | tip for using aliases for the virtual registers r0-r15 | 2024-11-02 22:09:20 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | a82f211f9a | added alias statement | 2024-10-28 00:36:10 +01:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 28b383f888 | docs and syntax for @alignxxx and %align | 2024-10-27 00:47:52 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 326eab3dd1 | unit test for defer, describe defer and if expression in docs | 2024-10-22 22:19:49 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | e9edffa9f0 | remove support for array-to-array assignments (other than initialization of variable declaration) Just use an explicit sys.memcopy(src, dest, sizeof(dest))  or assign array members individually. | 2024-10-13 20:02:43 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 7a0eaf3148 | Remove array initialization by single value. New compiler and kotlin version. | 2024-10-13 04:31:56 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 8d9bc2f5ff | fixing all sorts of things about assigning arrays to arrays | 2024-10-12 12:33:46 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 5731b79554 | don't allow problematic string and array assignments anymore, improve error messages. In certain cases you will need to use string.copy() explicitly to overwrite strings with new strings. | 2024-10-09 00:51:05 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 4cd7271e30 | added prog8 vs other languages chapter to the manual | 2024-09-27 20:19:28 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 699a2bb7ab | improved codegen for for loops downto 0 | 2024-09-10 21:33:57 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 2aae1f5e30 | stricter checks for negative array indexing | 2024-07-20 22:37:03 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 25f25a8767 | Get rid of sort() and reverse() builtin functions. Sort() had too many gotchas and reverse() is kinda redundant you can loop in decreasing order through an array too. | 2024-07-06 17:07:58 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | bbf621a8c4 | doc | 2024-06-29 13:39:08 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 0dc50a93a4 | added @nozp variable flag | 2024-05-21 21:53:58 +02:00 |  | 
			
				
					| 
							
							
								 Irmen de Jong | 56f41d5e34 | docs about multi-assign | 2024-03-28 23:24:14 +01:00 |  |