Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to show tokenized control codes in REM statements #2

Open
lippmaje opened this issue Jun 7, 2022 · 1 comment
Open

Option to show tokenized control codes in REM statements #2

lippmaje opened this issue Jun 7, 2022 · 1 comment

Comments

@lippmaje
Copy link

lippmaje commented Jun 7, 2022

I have REM statements looking like this:
10 REM \#235i(0;7;1){\#231i:\#2421}

With 'LIST 10' I get this:
10 REM FOR i(0;7;1){ BORDER i: PAUSE 1}

I did not find any options to make BasinC display REM statements like Speccy does.
Is there any way to get to the ZX representation of REMs, or could an appropriate option be added?
I want to parse this statement, therefore I'd like to go with the 1-byte opcode but have BasinC to keep Speccy's representation of the listing to improve readability.

issue_rem
issue_rem2

How it should look like:
issue_rem3

@ref-xx
Copy link
Owner

ref-xx commented Nov 29, 2022

I'm not sure if this is easy to include. Normally basinc would de-tokenize any text unless you specially enter the token code from tokenizer window. An option could be added "paste as text" or "paste as tokens". but an optional renderer would require a major redesign of the editor. But I'll look into it in the future, added it to bottom of the to-do list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants