mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 02:51:25 -05:00
Slightly altered syntax, similar to Underscore's Function#bind form, highly simplified lexing and parsing and no polluted scope. Passing tests included.
This commit is contained in:
@@ -265,10 +265,7 @@ grammar: {
|
||||
]
|
||||
|
||||
Curry: [
|
||||
o "Value CURRY Value CURRY_SEPARATOR Arguments", -> new CurryNode $1, $3, $5
|
||||
o "Value CURRY Arguments", -> new CurryNode $1, undefined, $3
|
||||
o "Value CURRY Value", -> new CurryNode $1, $3
|
||||
o "Value CURRY", -> new CurryNode $1
|
||||
o "Value CURRY Arguments", -> new CurryNode $1, $3
|
||||
]
|
||||
|
||||
# Extending an object by setting its prototype chain to reference a parent
|
||||
|
||||
Reference in New Issue
Block a user