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

install tools/pprintast.ml #5741

Closed
vicuna opened this issue Aug 27, 2012 · 2 comments
Closed

install tools/pprintast.ml #5741

vicuna opened this issue Aug 27, 2012 · 2 comments
Assignees

Comments

@vicuna
Copy link

vicuna commented Aug 27, 2012

Original bug ID: 5741
Reporter: @bobzhang
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:08:17Z)
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty

Bug description

there's a flag -dparsetree for the compiler to dump the parsetree. But it would be more useful if the output is legal ocaml code.

Many compiler libraries will benefit if it was installed. Take -ppx flag for example, if the output could also be visualized, then it would be much more useful for debugging purpose.

@vicuna
Copy link
Author

vicuna commented Oct 17, 2012

Comment author: @alainfrisch

Commit 13024: move pprintast to parsing. It is now available in compiler-libs.

@vicuna
Copy link
Author

vicuna commented Oct 17, 2012

Comment author: @alainfrisch

Commit 13025: new command-line option -dsource, to print the parse tree with source syntax.

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

2 participants