Irmen de Jong
|
8485b8429f
|
optimizing +=1/-=1
|
2024-02-06 23:49:40 +01:00 |
|
Irmen de Jong
|
9aea2b22c4
|
doc improvement, fixes #120
|
2024-01-30 19:07:18 +01:00 |
|
OODLER
|
9e33b8b8da
|
Added a couple of for examples using descending ranges. (#119)
|
2024-01-16 20:19:05 +01:00 |
|
Irmen de Jong
|
6aed7e429a
|
allow containment check in a range expression ("run time" range expression)
|
2024-01-03 01:17:13 +01:00 |
|
Irmen de Jong
|
0e086d788b
|
removed chained comparisons again, because they caused invalid expression evaluations due to changed semantics.
|
2024-01-01 16:00:11 +01:00 |
|
Irmen de Jong
|
1c55a6c6dc
|
shortcutting part one
|
2023-12-30 03:54:12 +01:00 |
|
Irmen de Jong
|
a0594cbce3
|
const optimizer now knows about a bunch of library functions, such as math.*
|
2023-12-28 20:14:13 +01:00 |
|
Irmen de Jong
|
078bfefe41
|
clarify scoped names a bit more
|
2023-12-28 16:36:29 +01:00 |
|
Irmen de Jong
|
dfce292294
|
allow chained comparisons i<x<j (desugared into: i<x and x<j)
|
2023-12-28 01:18:59 +01:00 |
|
Irmen de Jong
|
2b8f613a00
|
added %option ignore_unused to suppress warnings about unused vars and subs in that module/block.
Also improved error for invalid directive.
|
2023-12-26 23:37:59 +01:00 |
|
Irmen de Jong
|
38a22fbc99
|
allow %option no_symbol_prefixing also on module scope
|
2023-12-26 12:31:18 +01:00 |
|
Irmen de Jong
|
4cd9bb8f99
|
allow Python-style negative array indexing to count from the end
|
2023-12-23 16:37:28 +01:00 |
|
OODLER
|
09f3fbeb38
|
doc tweak, adding qualified name example for goto (#116)
|
2023-12-20 23:51:46 +01:00 |
|
Irmen de Jong
|
a8be94de6b
|
better error message when attempting to cast a float to integer
|
2023-12-15 22:28:06 +01:00 |
|
Irmen de Jong
|
332ba8ed7e
|
don't give error when returning uword value in subroutine that returns STR
|
2023-12-14 02:48:21 +01:00 |
|
Irmen de Jong
|
08a079a96e
|
concerns with in for strings
|
2023-12-11 21:15:48 +01:00 |
|
Irmen de Jong
|
c7c72f00c7
|
document underscores in numeric literals for grouping
|
2023-12-09 14:07:42 +01:00 |
|
Irmen de Jong
|
1bdc427d73
|
multi var declarations ubyte x,y,z
|
2023-12-08 22:18:21 +01:00 |
|
Irmen de Jong
|
6a639ce533
|
chained assignments x=y=z=42
|
2023-12-08 01:07:16 +01:00 |
|
Irmen de Jong
|
8e4319cd5a
|
module directive %encoding to set the text encoding for that whole file (iso, petscii, etc.)
|
2023-12-06 23:54:08 +01:00 |
|
Irmen de Jong
|
7d8b42d63e
|
allow Unicode letters in identifiers: things like 'knäckebröd' and 'π' are now valid identifiers. Added floats.π constant.
|
2023-12-05 01:36:54 +01:00 |
|
Irmen de Jong
|
6ebd4e821f
|
improved docs about subroutine scoping, fix possible optimizer crash for inlined sub
|
2023-12-04 23:23:52 +01:00 |
|
Irmen de Jong
|
2b227b43fe
|
bmx: error for unsupported file version
|
2023-12-02 23:56:59 +01:00 |
|
Irmen de Jong
|
ead8c59bda
|
allow all character encodings on all compilation targets.
|
2023-12-02 20:59:50 +01:00 |
|
Irmen de Jong
|
c45fbe6310
|
continue stmt added
|
2023-11-25 01:14:35 +01:00 |
|
Irmen de Jong
|
42db3085df
|
improve the way %option merge works, you can now merge your own code with library code for instance.
|
2023-11-14 23:04:13 +01:00 |
|
Irmen de Jong
|
f68b46fc60
|
add a %zpallowed option to specify the range of zeropage register that can be used
|
2023-11-03 00:19:25 +01:00 |
|
Irmen de Jong
|
a48ce35f0b
|
added %option verafxmuls
|
2023-10-05 22:06:33 +02:00 |
|
Irmen de Jong
|
989a5a2f8a
|
some notes about array alignment
|
2023-10-04 01:10:36 +02:00 |
|
Irmen de Jong
|
ae6eeadf54
|
doc about range step value has to be a constant
|
2023-09-25 23:19:32 +02:00 |
|
Irmen de Jong
|
dff1d9e4dd
|
cleanup range expression doc
|
2023-08-09 22:58:04 +02:00 |
|
Irmen de Jong
|
4c6a2f5df9
|
emphasize index value size on pointer var indexing
|
2023-07-23 00:11:18 +02:00 |
|
Irmen de Jong
|
3bbc00cc8c
|
more caution notices about symbols in inlined asm
|
2023-07-22 23:22:06 +02:00 |
|
Irmen de Jong
|
6055b8c3dc
|
IR: fix forloop codegen for steps != 1
|
2023-07-10 21:36:44 +02:00 |
|
Irmen de Jong
|
5af1aeb092
|
added block comment /* ...... */
|
2023-07-04 00:46:29 +02:00 |
|
Irmen de Jong
|
be64fa674a
|
doc
|
2023-07-03 22:44:50 +02:00 |
|
Irmen de Jong
|
acb2ee53bb
|
Merge branch 'prefixing'
|
2023-07-02 21:15:30 +02:00 |
|
Irmen de Jong
|
c544b7f5ba
|
fixing up p8_ prefixing
|
2023-07-02 21:15:05 +02:00 |
|
Irmen de Jong
|
de5ce0f515
|
tiny optimization and doc
|
2023-07-02 11:17:18 +02:00 |
|
Irmen de Jong
|
0a83b51e00
|
allow more curly brace styles
|
2023-06-27 01:59:22 +02:00 |
|
Irmen de Jong
|
bb35a80177
|
%option splitarrays now also at module level
|
2023-05-31 21:50:41 +02:00 |
|
Irmen de Jong
|
8f864417c4
|
added %option splitarrays (block level)
|
2023-05-31 18:49:21 +02:00 |
|
Irmen de Jong
|
bbc02752c9
|
use split word arrays in various examples, fix codegen issue, docs
|
2023-05-29 15:34:33 +02:00 |
|
Irmen de Jong
|
fd1e9971e4
|
asmsub Pc params and returnvalue must be boolean
|
2023-05-07 22:59:30 +02:00 |
|
Irmen de Jong
|
4274296cf3
|
api change: new 'cbm' module that now contains the common CBM kernal variables and routines.
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
50604c25c2
|
remove obsolete comments, updated links and docs.
|
2023-04-23 15:13:53 +02:00 |
|
Irmen de Jong
|
cc81d6fe82
|
remove traces of ** operator
|
2023-03-22 00:51:58 +01:00 |
|
Irmen de Jong
|
fd25e85d59
|
added unroll loop construct
|
2023-03-14 23:37:49 +01:00 |
|
Irmen de Jong
|
d282a2d846
|
remove cx16.callrom() just use callfar
|
2023-02-23 23:02:56 +01:00 |
|
Irmen de Jong
|
fd5ebef488
|
cx16 startup code now also selects ram bank 1
|
2023-02-21 21:53:32 +01:00 |
|