[IPython-dev] How to parse a domain-specific language on top of Python

Joachim Wuttke j.wuttke at fz-juelich.de
Wed Dec 3 11:55:22 EST 2014


Thank you, Doug!

Could you possibly give me a hint what you mean by "magic" under
(2) and (3) ?

- Joachim

> 2) You could do this as a magic. You could use a simple parser to just
> output regular Python. This is the least complex, and should be easier
> to keep working over time.
>
> 3) You could implement your own parser written in Python as its own
> kernel (google "wrapper kernel"). You can even have your own magics etc.
> (see https://github.com/blink1073/metakernel)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5013 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141203/fa269cfb/attachment.bin>


More information about the IPython-dev mailing list