anko/eslisp-propertify
View on GitHub ↗ ★ 2 Makefile
eslisp macro: a.b → (. a b)
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2015-09-23 · latest 2020-10-28
20082026
-
…I haven't really done well yet. Eslisp has a system called _transform macros_, one of which is https://github.com/anko/eslisp-propertify which turns `console.log` atoms into `(. console log)`, making the syntax legal. The transform macro…
comment by an_ko · 2020-10-28 · in Eslisp – An S-expression syntax for ECMAScript/JavaScript, with Lisp-like macros -
…this evaluate)? Property access can be sugared to "this.evaluate" with the eslisp-propertify macro https://github.com/anko/eslisp-propertify It's quite convenient if you use it as a transform macro https://github.com/anko/eslisp/blob/master…
comment by an_ko · 2015-09-23 · in Show HN: Eslisp – Minimal JavaScript S-expression syntax and macro system -
…clear. I'm surprised how little JavaScript has changed in 16 years… I've got a Javadot-like thing https://github.com/anko/eslisp-propertify for converting a.b.c → (. a b c). Eslisp uses "." for property access, like PJS' "field". It hasn't…
comment by an_ko · 2015-09-23 · in Show HN: Eslisp – Minimal JavaScript S-expression syntax and macro system