You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking about using JuliaFormatter as the pretty printer of Julia Expr objects, thus I need to convert things to CST objects it uses, I'm wondering if there is an API for this? or if there are related works on this?
The text was updated successfully, but these errors were encountered:
This definitely isn't possible at the moment. While a CSTParser.EXPR has a head and args like a normal Expr and is easily convertible to the latter, it does have additional info that can't be recovered from the AST.
It should be possible to work around that for your case (where you never had any textual representation to begin with), but seems like a fair bit of work.
Hi, I come accross from domluna/JuliaFormatter.jl#414
I'm thinking about using JuliaFormatter as the pretty printer of Julia
Expr
objects, thus I need to convert things to CST objects it uses, I'm wondering if there is an API for this? or if there are related works on this?The text was updated successfully, but these errors were encountered: