Skip to content

Commit

Permalink
Add Bash datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
kiy4h committed Nov 7, 2018
1 parent 6b050c1 commit 0d7d1e4
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/Delimiter/bash_multiline_comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: comment
start: ": '"
end: "'"
4 changes: 4 additions & 0 deletions data/Delimiter/bash_single_quote_escape.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type: string
start: "'"
end: "'"
escape: "'\\'"
29 changes: 29 additions & 0 deletions data/Language/Bash.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
identifier: Bash
full_name: Bash
wikidata: Q189248
extensions:
- sh
aliases:
- bash
line_continuation: '\'
delimiters:
# comment delimiters:
- hash
- bash_multiline_comment
# string delimiters:
- c_char
- backticks
- double_quote_slash_escape
- bash_single_quote_escape
keywords:
- if
- then
- else
- elif
- fi
- case
- esac
- for
- select
- while
- until
- do
- done
- in
- function
- time

0 comments on commit 0d7d1e4

Please sign in to comment.