Skip to content

Commit

Permalink
CoffeeScript.yaml: Add CoffeeScript language
Browse files Browse the repository at this point in the history
Related to coala#57
  • Loading branch information
kiy4h committed Nov 29, 2018
1 parent 12cabec commit 3af6c92
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/DataType/boolean_coffeescript.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: boolean
integer-min: '0'
integer-max: '1'
literals:
- 'true'
- 'yes'
- 'on'
- 'false'
- 'no'
- 'off'
3 changes: 3 additions & 0 deletions data/Delimiter/triple_hash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: comment
start: '###'
end: '###'
88 changes: 88 additions & 0 deletions data/Language/CoffeeScript.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
identifier: CoffeeScript
wikidata: Q1106819
aliases:
- coffee
creation_date: 20091213
extensions:
- coffee
- litcoffee
line_continuation:
- backslash
delimiters:
# comment delimiters
- hash
- triple_hash
# string delimiters
- single_quote_slash_escape
- double_quote_slash_escape
- triple_single_quote
- triple_double_quote
- backticks
# block delimiters
- curly_braces
- round_braces
- square_braces
datatypes:
- boolean_coffeescript
keywords:
- and
- arguments
- await
- break
- by
- case
- catch
- class
- const
- continue
- debugger
- default
- defer
- delete
- do
- else
- enum
- export
- extends
- finally
- for
- function
- if
- implements
- import
- in
- Infinity
- instanceof
- interface
- is
- isnt
- let
- loop
- NaN
- native
- new
- not
- 'null'
- of
- or
- package
- private
- protected
- public
- return
- static
- super
- switch
- then
- this
- throw
- try
- typeof
- undefined
- unless
- var
- void
- when
- while
- with
- yield

0 comments on commit 3af6c92

Please sign in to comment.