Irmen de Jong
|
8b8caa1c2e
|
added math.randrange() and math.randrangew()
|
2024-02-10 22:16:13 +01:00 |
|
Irmen de Jong
|
4dc50cb551
|
fix unused subroutine removal not removing all unused subs
|
2024-02-10 21:26:53 +01:00 |
|
Irmen de Jong
|
5522a305ab
|
add -dumpvars option to dump all allocated variables (zp, normal ram, etc)
|
2024-02-10 18:42:31 +01:00 |
|
Irmen de Jong
|
d7f72056fc
|
rest of the array copying
|
2024-02-10 17:16:06 +01:00 |
|
Irmen de Jong
|
64c9c9b7fe
|
hash only on release?
|
2024-02-10 02:11:39 +01:00 |
|
Irmen de Jong
|
98e1c843e4
|
hash only on release?
|
2024-02-10 02:07:37 +01:00 |
|
Irmen de Jong
|
906d9d858c
|
implementing the array copys
|
2024-02-10 01:40:36 +01:00 |
|
Irmen de Jong
|
16c1309df1
|
try to add a hash to the artifact
|
2024-02-10 00:38:32 +01:00 |
|
Irmen de Jong
|
6eacf1bddd
|
added a few more IR syscalls for often used copy routines
|
2024-02-09 23:56:44 +01:00 |
|
Irmen de Jong
|
6c8c8e11cc
|
fix cpu register overwrites when using @(...) arguments to an asmsub
|
2024-02-09 19:55:35 +01:00 |
|
Irmen de Jong
|
e941d2665a
|
preparing for new array copy codegen
|
2024-02-09 18:22:41 +01:00 |
|
Irmen de Jong
|
68669dbef0
|
fix & of pointervar indexing
|
2024-02-08 23:03:53 +01:00 |
|
Irmen de Jong
|
6a48de9a9f
|
IR: fix & of array-element
|
2024-02-08 21:27:53 +01:00 |
|
Irmen de Jong
|
9d6d98930b
|
fix ast printing of & array-element
|
2024-02-08 21:27:53 +01:00 |
|
adiee5
|
3cc858db12
|
Adding Syntax Higlighting for nano (#123)
|
2024-02-08 21:27:07 +01:00 |
|
Irmen de Jong
|
386a391fd9
|
added string.lstripped() and string.ltrimmed()
|
2024-02-07 23:07:45 +01:00 |
|
Irmen de Jong
|
d33aed4ed5
|
added txt.petscii2scr() and txt.petscii2scr_str()
|
2024-02-07 22:36:43 +01:00 |
|
Irmen de Jong
|
73ec8c31ad
|
fix 6502 code for zp pointer lookup clobbering registers.
|
2024-02-07 22:09:04 +01:00 |
|
Irmen de Jong
|
24944ad49e
|
added string.strip() and string.trim() and l/r variants.
fixed memsizer for pointers-to-ubyte.
|
2024-02-07 02:09:08 +01:00 |
|
Irmen de Jong
|
26ed231f61
|
version
|
2024-02-07 00:03:39 +01:00 |
|
Irmen de Jong
|
8485b8429f
|
optimizing +=1/-=1
|
2024-02-06 23:49:40 +01:00 |
|
Irmen de Jong
|
358215e4dd
|
removed postIncrDecr (still allow ++/-- to be parsed into +=1/-=1)
|
2024-02-06 18:50:08 +01:00 |
|
Irmen de Jong
|
f874942075
|
version 10.1
|
2024-02-04 16:22:43 +01:00 |
|
Irmen de Jong
|
2cadb546d5
|
optimized in-place memory/pointervar operations some more
|
2024-02-04 15:17:24 +01:00 |
|
Irmen de Jong
|
344a1b9eb8
|
cx16: added cx16.get_program_args() and cx16.set_program_args()
|
2024-02-04 11:35:13 +01:00 |
|
Irmen de Jong
|
3c77f8a020
|
IR: optimize pointer access
|
2024-02-04 07:51:50 +01:00 |
|
Irmen de Jong
|
8e00408e3e
|
optimize pointer indexing a bit
|
2024-02-03 23:24:33 +01:00 |
|
Irmen de Jong
|
abcdfd8e28
|
optimize postincrdecr on memory a bit
|
2024-02-03 22:33:27 +01:00 |
|
Irmen de Jong
|
b0f5b6925d
|
getting rid of pointer[idx] in ast, instead always use @(ptr+idx)
|
2024-02-03 19:22:04 +01:00 |
|
Irmen de Jong
|
ef79d0c43e
|
fix temp variable name clash resulting in faulty code in certain common subexpression optimization
|
2024-02-03 19:20:28 +01:00 |
|
Irmen de Jong
|
78b4288005
|
avoid git's line ending translation for this test...
|
2024-02-03 14:57:25 +01:00 |
|
Irmen de Jong
|
680f5d21ee
|
normalize DOS line endings to just \n, fixes source lines in asm for \r\n source files
|
2024-02-03 12:53:21 +01:00 |
|
Irmen de Jong
|
c71aa0895f
|
get rid of certain redundant !=0 comparisons in logical expressions
|
2024-02-01 21:50:01 +01:00 |
|
Irmen de Jong
|
9f8e61789a
|
fix 65c02 codegen for certain in-place byte bitwise invert
|
2024-01-31 23:55:43 +01:00 |
|
Irmen de Jong
|
932035cdc5
|
flag "returning a statement" as a syntax error
|
2024-01-31 21:36:39 +01:00 |
|
Irmen de Jong
|
ef198f1493
|
fix for certain invalid expression evaluation code.
it no longer reuses the same temporary variable all the time.
todo
|
2024-01-31 21:18:21 +01:00 |
|
Irmen de Jong
|
48ef856c0b
|
identified wrong expr eval code - still need solution. Crash for now.
|
2024-01-30 23:00:50 +01:00 |
|
Irmen de Jong
|
9aea2b22c4
|
doc improvement, fixes #120
|
2024-01-30 19:07:18 +01:00 |
|
Irmen de Jong
|
e0055bc431
|
IR: working on inplace +/-
|
2024-01-29 22:08:47 +01:00 |
|
Irmen de Jong
|
9553248ed6
|
IR: integrate inplace assignment ops
|
2024-01-28 22:33:16 +01:00 |
|
Irmen de Jong
|
39d2194d8f
|
IR: implemented inplace prefix op on split array
VM: NEG instructions also set N and Z flags
|
2024-01-28 22:33:13 +01:00 |
|
Irmen de Jong
|
0800033b47
|
fixed split-word array in-place element +/- (other operators not yet...)
|
2024-01-28 22:30:45 +01:00 |
|
Irmen de Jong
|
64d8943b7d
|
fix error when trying to post-inc/decrement a character in a string
|
2024-01-28 16:47:55 +01:00 |
|
Irmen de Jong
|
444e97b00b
|
todo
|
2024-01-27 12:31:36 +01:00 |
|
Irmen de Jong
|
1816bda7ea
|
extra check
|
2024-01-26 00:12:31 +01:00 |
|
Irmen de Jong
|
d4a2031c07
|
fix certain assignment data type mismatch crash
|
2024-01-25 21:14:20 +01:00 |
|
Irmen de Jong
|
8cf0b6cf51
|
IR: optimize code for ==0 and !=0 augmented assigns
|
2024-01-25 00:30:47 +01:00 |
|
Irmen de Jong
|
f2010bf7a5
|
IR: better code for array element assignments (w.i.p.)
|
2024-01-23 00:56:06 +01:00 |
|
Irmen de Jong
|
8f56a7fe69
|
IR: use INV instead of XOR for bitwise invert
|
2024-01-22 22:47:54 +01:00 |
|
Irmen de Jong
|
64c132ee0a
|
changed -breakinstr option so that you now specify the exact instruction to use for a %breakpoint.
also fixed a IR issue with x=not x.
|
2024-01-22 22:01:47 +01:00 |
|