looking for tips on how to implement "ruby-style" Domain Specific Language in Python

sturlamolden sturlamolden at yahoo.no
Tue Jan 6 17:13:46 CET 2009


On Jan 6, 4:32 pm, mark <mark.fi... at googlemail.com> wrote:
> Is it possible to
> switch between the custom DSL and the standard Python interpreter?

As far as I can tell, there are three different options:

- Embed a Python and DSL interpreter in the same executable.

- Write the DSL interpreter in Python.

- Expose the DSL interpreter as a Python extension module.


I don't know which you prefer, but I would try to avoid the first.







More information about the Python-list mailing list