[Python-ideas] Why shouldn't Python be better at implementing Domain Specific Languages?

Michael Selik mike at selik.org
Thu Aug 30 21:19:56 EDT 2018


On Thu, Aug 30, 2018 at 5:31 PM James Lu <jamtlu at gmail.com> wrote:

> It would be nice if there was a DSL for describing neural networks (Keras).
>
> model.add(Dense(units=64, activation='relu', input_dim=100))
> model.add(Dense(units=10, activation='softmax'))
>
>
Why not JSON or XML for cross-language compatibility?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180830/48d80ce9/attachment-0001.html>


More information about the Python-ideas mailing list