On Friday, 3 May 2024 at 17:38:10 UTC, Chris Piker wrote:
On Thursday, 25 April 2024 at 16:57:53 UTC, mw wrote:
On Wednesday, 24 April 2024 at 22:07:41 UTC, Chris Piker wrote:
Python-AST to D source converter may already exist?
https://github.com/joortcom/eiffel_rename/tree/main/yi
A rudimentary converter from (extended) Python to D. Maybe you
can use it as a starting point.
Thanks for the suggestions. I put the question aside for a
bit, but yesterday ran across a python transpiler here:
https://github.com/py2many/py2many
It already has support for C++, Go and others. Since I have
mountains of python code created over many years, maybe it
would be worth contributing to this project out of self
interest.
Can you take a look at py2many and see what you think about it?
Getting D on the support list might be good.
(Haven't checked its own implementation and output code quality.)
But it says has output for Kotlin, Dart, these two languages are
similar to D syntactically, so will be a good start.