Hacker News new | ask | show | jobs
by p10_user 861 days ago
So cool!

Maybe someone will write a parser to convert x language -> English valid python (or any language, just starting simple)

Shouldn't be terribly difficult with some help from AI:

https://chat.openai.com/share/14d4b7b2-fb87-4887-803e-0ecee7...

1 comments

It would be amazing if you could write a python script in any language/typeface and it parse/compile and run in cpython.

I think its feasible just having all the keywords translated, the new PEG parser should bee able to handle it. I wonder if it can do rtl languages?

just posted above.. my hand-made one from 10y ago: https://github.com/svilendobrev/smok

i guess it all can be automated - using certain dictionary both ways..

This makes me think of the atrocity that is localized Excel functions. Disgusting