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

ast for body #28

Open
GoogleCodeExporter opened this issue Apr 20, 2015 · 0 comments
Open

ast for body #28

GoogleCodeExporter opened this issue Apr 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The AST for the body of functions should *be* a graph.

It is convenient (although not efficient) to redo name resolution instead
of forcing each transformer to work harder and update the symbol table too.
However, it is inconvenient (*and* inefficient) to recompute the graph of
commands from (possibly nested) blocks (which are lists of commands) and
goto-s. This is because I tend to think of the program as a graph anyway,
and keeping track of lowly things such as labels is a headache I'd rather
avoid.

Of course, if WhileCmd is not desugared and dealt with, we *have* to work
with blocks, labels, and goto-s.

Original issue reported on code.google.com by radugrig...@gmail.com on 19 Aug 2009 at 6:26

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