Skip to content

Commit

Permalink
Merge pull request #88 from lublak/patch-1
Browse files Browse the repository at this point in the history
add ANTLR v4 Grammar
  • Loading branch information
hhatto authored Apr 6, 2024
2 parents 118bf02 + 436eeb0 commit 8566d93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions language.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ var Exts = map[string]string{
"f03": "FORTRAN Modern",
"f08": "FORTRAN Modern",
"gleam": "Gleam",
"g4": "ANTLR",
"go": "Go",
"go2": "Go",
"groovy": "Groovy",
Expand Down Expand Up @@ -507,6 +508,7 @@ func NewDefinedLanguages() *DefinedLanguages {
"Ada": NewLanguage("Ada", []string{"--"}, [][]string{{"", ""}}),
"Alda": NewLanguage("Alda", []string{"#"}, [][]string{{"", ""}}),
"Ant": NewLanguage("Ant", []string{"<!--"}, [][]string{{"<!--", "-->"}}),
"ANTLR": NewLanguage("ANTLR", []string{"//"}, [][]string{{"/*", "*/"}}),
"AsciiDoc": NewLanguage("AsciiDoc", []string{}, [][]string{{"", ""}}),
"Assembly": NewLanguage("Assembly", []string{"//", ";", "#", "@", "|", "!"}, [][]string{{"/*", "*/"}}),
"ATS": NewLanguage("ATS", []string{"//"}, [][]string{{"/*", "*/"}, {"(*", "*)"}}),
Expand Down

0 comments on commit 8566d93

Please sign in to comment.