Claudia Meadows
Claudia Meadows
That's pretty close to what I was planning on doing for Eslisp when I get the time. Parse it where numbers are currently parsed. On Sun, Oct 25, 2015, 23:55...
@anko Could this be implemented via an [env::fail()](https://github.com/anko/eslisp/blob/master/src/env.ls#L41-L161) method? That could also be potentially useful for macro writers as well, if they need to fail with a more descriptive error...
Suggestion for this, inspired by [my suggestion in #23](https://github.com/anko/eslisp/issues/23#issuecomment-146714136): make static properties `(. obj 'foo)` and computed properties `(. obj foo)` or `(. obj (func))`. Does that sound like a...
@anko I think the difficulty is that sexpr-plus aliases `'foo` as `(quote foo)` and returns that result, instead of combining the two. We'd have to create a new node type...
My tentative implementation is coming in a PR I'm currently working on, which will fix both this and #23.
Yep. I would like to mention that the shorthand method can be done without, and in [many](http://coffeescript.org) [different](http://livescript.net) [compile-to-JS](https://github.com/clojure/clojurescript) [languages](http://maxtaco.github.io/coffee-script/), and even in Lua (another prototype-based language), that functionality simply...
That looks way better. On Tue, Oct 6, 2015, 14:14 Tab Atkins Jr. [email protected] wrote: > There are a lot of functions similar to this in Lisp, where you have...
@tabatkins For multiple declarations, it probably is (see my initial comment on the object shorthand ambiguity). For a single declaration, I would love to see this as a shorthand for...
@anko I was initially thinking of that, but I decided to not bring it up in the first place, as I already knew about the ambiguity. I was also specifically...
I get what you mean. I've just always preferred single declarations instead of multiple in my projects, particularly for initialized variables (less diff noise). ``` diff var a = 1,...