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

Redefine grammers for statements and expressions #42

Open
5 tasks
cyndyishida opened this issue Mar 16, 2018 · 0 comments
Open
5 tasks

Redefine grammers for statements and expressions #42

cyndyishida opened this issue Mar 16, 2018 · 0 comments

Comments

@cyndyishida
Copy link
Collaborator

cyndyishida commented Mar 16, 2018

  • parse structure is currently set up where it incorrectly labels expressions
    -i.e "#if x" is a statement and not a expression, the only expression is x, and the naming convention is incorrect
  • find ways to condense safe_code_expr, code_expr, and valid_expr
  • condense/fix whitespace around directives
  • change abstract symbol tree to abstract syntax tree
  • currently, if & if def has a stack of tuples where the value at index[0] has either the name of the macro for ifdef, and the if count number for the if directive. Needs to be refactored out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant