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

Format bytecode listing on client side #27

Open
mejedi opened this issue Feb 23, 2020 · 0 comments
Open

Format bytecode listing on client side #27

mejedi opened this issue Feb 23, 2020 · 0 comments

Comments

@mejedi
Copy link
Collaborator

mejedi commented Feb 23, 2020

Backend to produce a self-descriptive bytecode format, to be converted to text on client side.

This will enable:

  • better constants display (currently: FNEW 0 0 ; <main.lua>:1);

  • branch target discovery independent of the text format (FORI 1 => 0008);

  • to visually discriminate between different classes of immediate integer arguments in instructions (MODVN 5 4 0 );

  • to assign meaningful names to prototypes (based on the target of FNEW assignment + debug info).

Doing it on client side will make it possible for the old saved states (sharing) to benefit from new application features.

Pre-req for #7

@mejedi mejedi changed the title Format bytecode listing on the client side Format bytecode listing on client side Feb 23, 2020
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

1 participant