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

Parse Fortran Literals as AST Variable/Constant nodes #125

Open
gnikit opened this issue May 20, 2022 · 0 comments
Open

Parse Fortran Literals as AST Variable/Constant nodes #125

gnikit opened this issue May 20, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gnikit
Copy link
Member

gnikit commented May 20, 2022

Is your feature request related to a problem? Please describe.
Currently standalone variables like numbers and strings are not parsed into the AST. This leaves room for ambiguity when it comes to hovering, associated blocks, passing literals as function arguments, etc.

Describe the solution you'd like
The way to resolve this is by parsing the literals either as Variables or just make a new Object called Literal/Constant which infers the type from the value and is then potentially linked as a variable to a Variable object

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

No branches or pull requests

1 participant