-
Notifications
You must be signed in to change notification settings - Fork 20
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
more principled generic printer #533
Conversation
26b440d
to
ae92eb4
Compare
ae92eb4
to
53b10c1
Compare
53b10c1
to
0759a76
Compare
I updated this PR in a way the current generic printer and the new one cohabit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get some documentation in before we merge this.
d4c61fa
to
c10e43f
Compare
acd590b
to
436c78b
Compare
7817e2f
to
9ad1058
Compare
9ad1058
to
632484b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine, just some extra comments left over, and some duplicate util functions.
more principled generic printer
Exploring more principled/clean generic printer after chatting about the PV backend in Paris with Jonas.
Porting the PV printer should be easy, but that's a bit out of scope, I'm trying to play with the generic printer to converge to something nicer.
This generic printer supports fully source maps v3: any backend using the genric printer gets that for free.
The result is something like that or the fact a user can click in VSCode in some region of the extracted code and be directed to the Rust source.
Fixes #404