6 ms·
Hrm, kind of cool, I guess. It's less useful to me because I don't really write much in the way of Python. Markdown has many intercompatible implementations i
by jffry 13y ago
Hrm, kind of cool, I guess. It's less useful to me because I don't really write much in the way of Python.
Markdown has many intercompatible implementations in multiple languages; with the ability to put arbitrary Python code into a Quaint template, that gets harder.
Are you thinking about how to go beyond a .py.q to other languages? (e.g. .js.q)
- breuleux 13y agoI am the author. Plain .q is supposed to be language agnostic (and I'd say it's relatively featureful), whereas .py.q, .js.q, etc. would be used if you wanted to embed some other language (though there's only a Python implementation for the time being). That's the logic behind the naming scheme, anyway :)
- ilaksh 13y agoI think Quaint is awesome, but I am also into JS (or CoffeeScript really) since it runs in the browser and in Node.js. I was thinking of starting with the PEG.js http://pegjs.majda.cz/online http://pegjs.majda.cz/online online UI and hacking it so that certain types of delimited expressions in a document would insert themselves into the grammar. Seems like it would be a way to cheat and get something like Quaint for Node and the browser without having to write a parser etc.