Rangi

Results 643 comments of Rangi

I'm not sure; pret uses a custom `scan_includes` tool that ignores all rgbasm semantics and just scans for lines starting with `INCLUDE`/`INCBIN`. (Which doesn't even let us do things like...

> only abort on the first conditional block or fatal error after a missing dep This sounds too vulnerable to false positives. For example: ``` TitleGFX:: INCBIN "title.2bpp.lz" TitleTilemap:: if...

Maybe so, although I'd like to avoid releasing it in one version and switching to something else in the next. Also regarding `-M`: `gcc` suppresses warnings when that is passed,...

I'm used to pret's way of doing things, so maybe this is wrong; but I would expect most `INCBIN`s to not be preparing for later conditionals, and most conditionals to...

That kludge sounds fragile in the same ways as my no-lazy-expressions implementation of short-circuiting `&&` and `||` (#665). How about just fixing the "`failedOnMissingInclude` causes `YYACCEPT`" issue for now, and...

Should "certain-precision" literals (which would be interpreted with a given precision regardless of the `opt f` level) use `p` or `q`? I'm leaning toward `q`, since it matches the "Qm.n"...

Discussion of a problem with this so far: https://discord.com/channels/303217943234215948/661193788802203688/921569990791036928

I think `opt Q` is ready to review as-is; `12.34q.8` literals can be their own PR. (Even without them, just having `opt Q` makes it easier to write a fully...

pret will be able to use this when 0.6.0 is out: the `sine_table` macro can be simplified from this: ``` MACRO sine_table ; \1 samples of sin(x) from x=0 to...

My polishedcrystal project also has an opportunity to use `opt Q`. Most fixed-point math in it is best done with `-Q8`, just like pret, but one line is not: `ld...