3 ms·
Is it possible to do a similar construct in python? This is what I'm really after, a Lisp like ability to generate html, sql combined with the rest of the Pytho
by catch404 17y ago
Is it possible to do a similar construct in python? This is what I'm really after, a Lisp like ability to generate html, sql combined with the rest of the Python language.
Perhaps I should be looking into ruby more? or a python parser?
I'm working on a similar technique for python (using lists and function lookups but it's still more verbose than the lisp style ones) ('p','this is a paragraph') vs (p, "this is a paragraph") as a small example