Recommendations on porting Python to D

Tim tim.dlang at t-online.de
Wed Apr 24 20:06:01 UTC 2024


On Wednesday, 24 April 2024 at 19:50:45 UTC, Chris Piker wrote:
> I have a somewhat extensive CGI based web service written in 
> Python and I'd like to port it to D.  I can do this manually of 
> course, and maybe that's the best way, but for a rough start, 
> is anyone aware of any tools that generate an abstract syntax 
> tree which could then be converted to somewhat equivalent D 
> code?

My parser generator has an example with a grammar for Python: 
https://github.com/tim-dlang/dparsergen/tree/master/examples/python


More information about the Digitalmars-d-learn mailing list