-
Notifications
You must be signed in to change notification settings - Fork 5
implements
parse error
#13
Comments
Hey @eightyfive
Yeah, that's a bug.
I've been meaning to work on this to get it to a minimally functional state, but have had too little time so far. Atm we're monkey-patching Python's black formatter. If we can use a language agnostic code formatter with Vyper's AST, that could be a great way to resolve #7. I didn't know these language agnostic formatters were a thing until you mentioned It'd be great if you can come up with a |
Will try to look into that as soon as possible. Meanwhile what should I use to parse Vyper code and get the corresponding AST? Cheers @spinoch |
The main function is https://github.com/vyperlang/vyper/blob/master/vyper/ast/utils.py#L10 |
@eightyfive any progress on this? |
Unfortunately not. Still on my list though. |
I guess it does not work with the latest vyper version/syntax:
And at line 8:
What's the status of the library ? I am not a python developer myself, but I enjoy vyperlang. I am not sure the best way to help here, I come from JS, where
prettier
is very popular and well integrated everywhere.I'll have a look at how easy is it to implement a
prettier-vyper
plugin for the JS community. I believe a lot of JS devs are tempted by vyperlang but having to switch all tooling can be a blocker.The text was updated successfully, but these errors were encountered: