Skip to content

Instantly share code, notes, and snippets.

@cognominal
Created April 12, 2011 12:04
Show Gist options
  • Save cognominal/915388 to your computer and use it in GitHub Desktop.
Save cognominal/915388 to your computer and use it in GitHub Desktop.
What is the equivalent coffeescript syntax?
opts = [
{ name: 'lexfile',
position: 1,
help: 'Lexical grammar file (optional)'
},
{ name: 'outfile',
string: '-o FILE, --output-file=FILE',
help: 'Filename and base module name of the generated parser'
}
]
@satyr
Copy link

satyr commented Sep 21, 2011

opts = [
  name: 'lexfile'
  position: 1
  help: 'Lexical grammar file (optional)'
,
  name: 'outfile'
  string: '-o FILE, --output-file=FILE'
  help: 'Filename and base module name of the generated parser'
]

@cognominal
Copy link
Author

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment