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

improve definition of constructor args #105

Open
zeroXbrock opened this issue Jan 21, 2025 · 0 comments
Open

improve definition of constructor args #105

zeroXbrock opened this issue Jan 21, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zeroXbrock
Copy link
Member

Is your feature request related to a problem? Please describe.

Passing constructor args when writing [[create]] directives is painstaking and error-prone. You have to zero-pad and append the args to the raw bytecode. This makes updating the bytecode later very tedious.

Describe the solution you'd like

  • add a new args = [...] field to the [[create]] directive; same design as setup/spam directives.
  • zero-pad args automatically
  • append passed args to bytecode

Describe alternatives you've considered

  • perpetual suffering
@zeroXbrock zeroXbrock added enhancement New feature or request good first issue Good for newcomers labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant