(original) (raw)
On Wed, 11 Nov 2015, 10:55 Christophe Bal <projetmbc@gmail.com> wrote:
Hello.
I'm a french teacher and I would like to use Python with young child but I've a big problem. All the keyword are in english. So I would like to know if there is a way to hack the AST tools such as to use french keywords and then translate a list of french keywords to their english regular version.
Where should I start ? My idea is not to build a new language but simply translate words using an hacked version of the AST tools.
You actually need a new grammar for the parser as the AST comes from that. Then you may be able to build the AST.
-brett
Hoping to be clear and I do not pollute the message in this list.
Christophe BAL
Enseignant de mathématiques en Lycée et développeur Python amateur
---
French math teacher in a "Lycée" and Python amateur developer
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org