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

Make the REPL show value type name #53

Open
2 tasks
marad opened this issue Sep 19, 2022 · 1 comment
Open
2 tasks

Make the REPL show value type name #53

marad opened this issue Sep 19, 2022 · 1 comment
Labels
enhancement New feature or request hacktoberfest Changes good for hacktoberfest launcher Requires changes in launcher code runtime Requires changes in truffle runtime code

Comments

@marad
Copy link
Owner

marad commented Sep 19, 2022

This will probably require adding type information to truffle value nodes.

  • Add type information to all nodes
  • Maybe IsNode could use the type information
@marad marad added this to the 0.0.1-alpha milestone Sep 19, 2022
@marad marad added launcher Requires changes in launcher code runtime Requires changes in truffle runtime code enhancement New feature or request labels Sep 19, 2022
@marad marad removed this from the 0.0.1-alpha milestone Oct 1, 2022
@marad
Copy link
Owner Author

marad commented Oct 1, 2022

Adding type information to truffle nodes is time consuming and now it's not the best time to do so. It would be better to first do #62 since it also requires changing how AST conversions work.

Alternatively I could simply add 'typeOf' node that evaluates result and returns Type based on specialization. It could return module, package, type name and concrete type parameters as ChiObject with those fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Changes good for hacktoberfest launcher Requires changes in launcher code runtime Requires changes in truffle runtime code
Projects
None yet
Development

No branches or pull requests

1 participant