9 ms·
> Infact, apart from SQORN, I’ve never seen this syntax used elsewhere. https://www.styled-components.com https://www.styled-components.com maybe?
by sondh 8y ago
> Infact, apart from SQORN, I’ve never seen this syntax used elsewhere.
https://www.styled-components.com https://www.styled-components.com maybe?
- alephnan 8y agoAlso, https://polymer.github.io/lit-html https://polymer.github.io/lit-html https://github.com/WebReflection/hyperHTML https://github.com/WebReflection/hyperHTML
- chris_mc 8y agoNim: https://forum.nim-lang.org/t/3046 https://forum.nim-lang.org/t/3046 You can do almost anything with Nim, for function calls! I personally like UFCS (Uniform Function Call Syntax), aka: let something: int = item.function(arg2, arg3,...).function.function(vararg).etc
- noonat 8y agohttps://observablehq.com https://observablehq.com also uses this to great effect.
- kamac 8y agofacebook's relay uses it to find and compile graphql queries https://facebook.github.io/relay/docs/en/query-renderer.html https://facebook.github.io/relay/docs/en/query-renderer.html
- phs2501 8y agohttps://github.com/bdowning/sql-assassin https://github.com/bdowning/sql-assassin is something I wrote for myself that is very similar to SQORN and uses templates for the same reason. I've also used them for DSLs, i.e. the following grammar compiler (where the actions are literal functions defined in the grammar string as follows), sadly never released: https://gist.github.com/bdowning/4dca9f006f230bc7e8c18a2b9c95ff8e https://gist.github.com/bdowning/4dca9f006f230bc7e8c18a2b9c9...
- gyrgtyn 8y agohttps://github.com/choojs/nanohtml https://github.com/choojs/nanohtml
- abecedarius 8y agohttps://github.com/erights/quasiParserGenerator https://github.com/erights/quasiParserGenerator
- wongarsu 8y agohttps://github.com/apollographql/graphql-tag https://github.com/apollographql/graphql-tag