5 ms·
(facetious-comment "It's a tragedy how much brilliance is wasted on grammar parsing when it's a solved problem; just use a Lisp")
by Guthur 12y ago
(facetious-comment
"It's a tragedy how much brilliance is wasted on grammar parsing when it's a solved problem; just use a Lisp")
- skybrian 12y agoJSON or XML would also work. Except that few people like languages based on XML, and I haven't seen anyone seriously try JSON. Perhaps someone should try to build a JSON-like language that's close to how most programmers like to write their code?
- kyllo 12y agoYeah, this is why no one likes languages based on XML: http://thedailywtf.com/articles/We-Use-BobX http://thedailywtf.com/articles/We-Use-BobX If you were going to do it, I'm certain you'd want to use a more human-writable format such as YAML or TOML instead of JSON or XML. But doing so means you're living out Greenspun's Tenth Rule. Again, just use a Lisp. http://www.defmacro.org/ramblings/lisp.html http://www.defmacro.org/ramblings/lisp.html
- green7ea 12y agoI know BobX is supossed to be a troll language but it bothers me to no end that the example code uses <xbobendif> instead of the XML spirited </xboxif>. I believes this confirms that I suffer from OCD.
- agumonkey 12y agoThis was advocated by https://cs.brown.edu/courses/cs173/2012/lang/ https://cs.brown.edu/courses/cs173/2012/lang/ too. Parsing is fun but in the end I can't disagree, syntax is rarely that much worth it.
- olavk 12y agoThen again, this is just moving the burden from the language implementation to the developer.