erights/quasiParserGenerator
View on GitHub ↗ ★ 67 JavaScript
A template string tag for generating template string tags.
5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2015-07-06 · latest 2022-05-24
20082026
-
…regex. For this there are tagged template literals in Javascript (which got them from E). Example: https://github.com/erights/quasiParserGenerator
comment by abecedarius · 2022-05-24 · in The unreasonable effectiveness of f-strings and re.verbose -
https://github.com/erights/quasiParserGenerator
comment by abecedarius · 2018-09-19 · in Javascript: call functions without using parentheses -
…their code arguments. But they do satisfy a lot of the desire for syntactic abstraction -- see e.g. https://github.com/erights/quasiParserGenerator
comment by abecedarius · 2018-05-29 · in Mint-lang: a language for the front-end web -
ES6's template strings can do something similar: https://github.com/erights/quasiParserGenerator I was disappointed when Python added its f-strings instead.
comment by abecedarius · 2016-10-09 · in Parse strings using a specification based on the Python format() syntax -
…needs to be at least as easy. And it makes for a growable language, the way Lisp macros do. E.g. https://github.com/erights/quasiParserGenerator This can reduce the demand for feature bloat in future language standards.
comment by abecedarius · 2015-07-06 · in ES6: The features I'm most excited about