eslisp-dotify

0.1.3 • Public • Published

eslisp-dotify

Transform macro for Eslisp. Implements a shorthand syntax for property access and method calls, similar to the corresponding features in Clojure or Wisp. Nicely complements eslisp-propertify.

NPM Gitter

Examples

(.-baz      (foo bar))       => (. (foo bar) baz)
(.-baz.quux (foo bar))       => (. (foo bar) baz quux)
(.baz (foo bar) <args>)      => ((. (foo bar) baz) <args>)
(.baz.quux (foo bar) <args>) => ((. (foo bar) baz quux) <args>)

И те така те....

Readme

Keywords

Package Sidebar

Install

npm i eslisp-dotify

Weekly Downloads

1

Version

0.1.3

License

ISC

Last publish

Collaborators

  • egasimus