patricksurry
patricksurry
Example showing all inline (excl sliteral) vs all subroutine. Disassembler distinguishes 2literal from sliteral and 1...4 stack check. ``` 257 nc-limit ! ok : bar s" hello" 12345678. ; ok...
This should be good to take a look. Saves more space with some speed improvements, and more flexibility between native and subroutine compile. It can native compile all conditional branching...
yup On Wed, May 15, 2024 at 4:17 PM SamCoVT ***@***.***> wrote: > Is this one ready to go? The labels should make this more robust in the > event...
alternatively we could hook it up since `c65` supports a non-blocking peekc
Perhaps it could work the same way? Have KEY? ( -- flag' ) where flag' is 0 or $ff00 | chr. Or maybe ( -- false | key true )...
That makes sense. Depending on your simulator / hardware it seems like the user might prefer to provide `kbhit` along with the current blocking `getc` (so the user owns the...
I’m happy to do it. I’m working on a few things to streamline compilation a little so I’ll add to that.
if needed, could also check for `WSL_...` env vars to distinguish native from wsl on windows
cool! could the hang be a line-ending thing, e.g. does it need `\r\n` instead of just `\n` for windows line buffering somewhere? there's a `universal_newlines` option that sounds interesting https://docs.python.org/3/library/subprocess.html
excellent point. i was thinking about it at the forth word level (i.e. rather than trying to do something post-compilation which seems much more difficult as you say). It should...