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

Add facilities for debugging/visualising the typechecker #71

Open
brendanzab opened this issue May 24, 2018 · 0 comments
Open

Add facilities for debugging/visualising the typechecker #71

brendanzab opened this issue May 24, 2018 · 0 comments

Comments

@brendanzab
Copy link
Member

brendanzab commented May 24, 2018

Currently it's hard to get much insight into what the type checker is doing when it is checking a term, even with a debugger. This is a barrier to entry for helping new developers gain understand how the Pikelet type checking algorithm works. This is important if we want more developers to be able to confidently contribute fixes and features to the type checker. It could also help us fix bugs and spot opportunities for optimizations.

A debugger would output some directed graph showing how a Pikelet term is checked. We could potentially use Graphvis, or perhaps HTML for this. Console logging is another option.

@brendanzab brendanzab changed the title Add facilities for debugging the typechecker Add facilities for debugging/visualising the typechecker May 24, 2018
brendanzab added a commit that referenced this issue Jun 12, 2018
Add an enum to specify the endianness of type consts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant