17 Dec
2012
17 Dec
'12
5:29 p.m.
welche Möglichkeiten bietet Python, einen Interpreter für eine eigene, simple Sprache zu bauen ?
Zb pyparsing.
Gibt es da fertige Bibliotheken ? Von PyPy habe ich gehört, aber ich bezweifle es macht Sinn den Quellcode zu durchwühlen.
Kann ich alternativ Python-eigene Bibliotheken ausschließen und einen vereinfachten Python-Dialekt schaffen, der z.B. bestimmte Datenstrukturen nicht unterstützt ?
"Koennen" bestimmt. Wie sich das im Verhältnis zu deinem eigentlichen Anwendungszweck verhält kann man so nicht sagen, ich würde aber mal behaupten, es ist zu kompliziert. Letztlich wäre das ein fork von Python, mit allem, was da dran hängt. Diez