A pure Python ast parser
almarklein opened this issue · 0 comments
@almarklein commented on Thu Nov 12 2015
Would help get to #19.
In particular, a parser that generates commonast. My best bet is on using something based off libpy2to3. pyjs has one. There is also a js-based Python parser. Pygments has a good tokenizer, on top of which we could build an ast producer. Also see this discussion: davidhalter/jedi#630
@almarklein commented on Thu Nov 12 2015
This is a task that can very well be picked up by a contributor. You'd not need to know much about Flexx' internals. There are also quite a few tests in place for verifying that the ast generated from certain Python code is correct.
@datnamer commented on Sun Jan 24 2016
have you seen this? https://www.reddit.com/r/Python/comments/42bl46/transcrypt_new_python_to_javascript_transpiler/