jespergravgaard
|
6c59110896
|
Fixed encoded string zero termination. Closes #192
|
2019-08-07 19:36:19 +02:00 |
|
Jesper Gravgaard
|
ce5e3cf19a
|
Added constant loop head optimization, that detects when the condition is constant in the first loop iteration. Closes #246
|
2019-08-07 13:22:05 +02:00 |
|
jespergravgaard
|
dacd25ac5f
|
Added constant loop-head detection to a switchable optimization option -Oloophead. #246
Implemented for()-loop condition checking before body. Closes #183
|
2019-08-07 11:27:56 +02:00 |
|
jespergravgaard
|
f8dfe3743b
|
Implemented light-weight zeropage coalesce. Closes #237
|
2019-07-31 13:47:22 +02:00 |
|
Jesper Gravgaard
|
73fb40a3e3
|
merged and fixed conflict
|
2019-07-30 15:01:43 +02:00 |
|
Jesper Gravgaard
|
660d2a8979
|
Changed print_cls() to use memset(). Fixed error in fragment.
|
2019-07-18 01:54:16 +02:00 |
|
jespergravgaard
|
8e0e8d7dce
|
Implemented enum support for complex constants in enum values. Added enum to clearscreen. Changed constant expression handling in pass 0.
|
2019-06-19 01:23:27 +02:00 |
|
jespergravgaard
|
526bfbb60c
|
Added support for converting non-boolean conditions to boolean. Fixed problem with ranged for iterating signed bytes. Closes #135
|
2019-06-03 00:44:46 +02:00 |
|
jespergravgaard
|
8947882e20
|
Moved zero-page coalesce to an optimization option.
|
2019-05-31 23:17:57 +02:00 |
|
jespergravgaard
|
036724c92d
|
Readded nop cast inlining - and fixed some recursion problems.
|
2019-05-30 21:38:12 +02:00 |
|
Jesper Gravgaard
|
e46fd03ec5
|
Added support for string concatenation C style (using simple space separation).
Fixed tests.
|
2019-05-24 20:57:43 +02:00 |
|
Travis Fisher
|
c78aef2312
|
update test reference results
|
2019-04-02 02:28:13 -04:00 |
|
Jesper Gravgaard
|
4424ffe92c
|
Implemented loop break.
|
2019-03-31 17:57:54 +02:00 |
|
jespergravgaard
|
d13ca4e03b
|
Implemented block label renumbering ensuring generated ASM labels are slightly more sensible to the reader.
|
2019-03-31 17:10:43 +02:00 |
|
jespergravgaard
|
126813ff4e
|
Implemented local scopes for blocks - enabling reuse of variable names (for instance in for loops). Closes #64
|
2019-03-30 00:15:53 +01:00 |
|
jespergravgaard
|
667cbde56f
|
Added a lot of optimizing fragments using illegal opcodes (Thanks Travis Fisher!)
Added synth rule for vubc's.Updated tests.
|
2019-03-26 23:49:45 +01:00 |
|
jespergravgaard
|
022d77fc56
|
Implemented early constant identification to avoid unnecessary variable versioning. Closes #53
|
2019-03-22 19:50:20 +01:00 |
|
jespergravgaard
|
ca697a4ffd
|
Improved a plus fragment to use bcc
|
2019-03-18 02:23:29 +01:00 |
|
jespergravgaard
|
9bb967b33f
|
Implemented ASM fragment synthesis variations searching - looking through different potential fragments when generating ASM containing a constant number that matches multiple potential types.
|
2019-03-18 02:08:32 +01:00 |
|
jespergravgaard
|
93d36f25be
|
Updated tests with better ASM
|
2019-03-17 22:49:02 +01:00 |
|
jespergravgaard
|
dfd9af4d84
|
Added ASM function signature comment. Closes #82.
|
2019-02-19 20:51:48 +01:00 |
|
jespergravgaard
|
af54695232
|
Added support for block comments.
|
2019-02-18 00:12:30 +01:00 |
|
jespergravgaard
|
f0d77acb29
|
Added comments to variables identified as constants.
|
2019-02-17 18:21:16 +01:00 |
|
jespergravgaard
|
b8ab7c6c49
|
Added comments before loops
|
2019-02-17 17:53:19 +01:00 |
|
jespergravgaard
|
41a7053b25
|
Implemented statement comments. Assignments are working OK. Some are still thrown away during optimizations.
|
2019-02-17 15:50:42 +01:00 |
|
jespergravgaard
|
27cfaf0ecf
|
Implemented file-level comments. Added a few comment tests.
|
2019-02-17 11:03:55 +01:00 |
|
jespergravgaard
|
69562b7fa9
|
Added comments to constants in ASM.
|
2019-02-17 00:49:19 +01:00 |
|
jespergravgaard
|
67e223d629
|
Added procedure comments to the compiled assembler.
|
2019-02-16 23:23:55 +01:00 |
|
jespergravgaard
|
f8191e8345
|
Default runs @begin code and then optimizes to main() if no code exists outside main.
|
2018-12-25 17:04:50 +01:00 |
|
jespergravgaard
|
44d6e5fbbb
|
Fixed tests (after reincluding cmp#0)
|
2018-12-19 00:33:27 +01:00 |
|
Jesper Gravgaard
|
2b5f6b8856
|
Rearraning source files to bring KC/REF and fragment files out of the JARS.
|
2018-10-07 02:32:09 +02:00 |
|