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

Dumping mechanism for code during intermediate stages in the compiler #12

Open
JustusAdam opened this issue Oct 10, 2018 · 0 comments
Open

Comments

@JustusAdam
Copy link
Member

JustusAdam commented Oct 10, 2018

@sertel Wants a simple command in ohuac to parse an alang file and spit out the internal representation in Haskell that is suitable to be pasted into a test file. This should allow us to write code for tests easier

Perhaps we could make this even more general. For analyzing how our higher order functions are handled I would like to inspect the code at various stages in the compiler. Perhaps we could instead add a general mechanism for dumping various types of internal representation for certain stages in the compiler.

@JustusAdam JustusAdam changed the title Bare bones parser -> Internal ALang representation Dumping mechanism for code during intermediate stages in the compiler Oct 10, 2018
JustusAdam added a commit to ohua-dev/ohua-core that referenced this issue Oct 10, 2018
JustusAdam added a commit to ohua-dev/ohua-core that referenced this issue Oct 15, 2018
JustusAdam added a commit to ohua-dev/ohua-core that referenced this issue Oct 15, 2018
JustusAdam added a commit to ohua-dev/ohua-core that referenced this issue Oct 16, 2018
JustusAdam added a commit to ohua-dev/ohua-core that referenced this issue Oct 16, 2018
JustusAdam added a commit to ohua-dev/ohua-core that referenced this issue Oct 16, 2018
Also added the missing `Pretty` instance for DFExpr
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