How to process syntax errors

Pierre-Alain Dorange pdorange at pas-de-pub-merci.mac.com
Fri Oct 14 04:55:35 EDT 2016


<mr.puneet.goyal at gmail.com> wrote:

> Steve, You are absolutely right. I am trying to eliminate the method of
> using parenthesis while calling in my file. Especially when I call it
> from a instance.

Then write a simple interpreter.
You want to change the language syntax, as said previously, do not
except python to understand your new syntax, just write a small
interpreter to translate your new language to python.

-- 
Pierre-Alain Dorange               Moof <http://clarus.chez-alice.fr/>

Ce message est sous licence Creative Commons "by-nc-sa-2.0"
<http://creativecommons.org/licenses/by-nc-sa/2.0/fr/>



More information about the Python-list mailing list