rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Add AST info capability

Open ryyppy opened this issue 3 years ago • 5 comments

We'd like to explore a way to be able to render a simple AST explorer on the playground interface. We may take some parts of what the ocaml-vscode extension uses (ppx_tools dumpast), adapt it to our needs and render the specific AST in a custom tab on the rescript-lang playground website.

See: https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/src/ast_editor.ml

ryyppy avatar Jun 01 '22 10:06 ryyppy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 06 '24 02:10 github-actions[bot]

could still be interesting

fhammerschmidt avatar Oct 06 '24 04:10 fhammerschmidt

Yes, would having the output of rescript-tools doc be beneficial?

nojaf avatar Oct 07 '24 08:10 nojaf

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 03 '25 02:10 github-actions[bot]

Still seems useful.

nojaf avatar Oct 03 '25 06:10 nojaf