From f2806e59a9eac5fba3f905a9938ce4214d6a2abb Mon Sep 17 00:00:00 2001 From: Dhiraj240 Date: Sat, 2 Feb 2019 17:38:59 +0530 Subject: [PATCH] antlr3.yaml: Add .g language This adds the specification of antlr3 Closes #56 --- data/Language/antlr3.yaml | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 data/Language/antlr3.yaml diff --git a/data/Language/antlr3.yaml b/data/Language/antlr3.yaml new file mode 100644 index 0000000..a79a52f --- /dev/null +++ b/data/Language/antlr3.yaml @@ -0,0 +1,40 @@ +identifier: antlr3 +creation_date: 2008 +full_name: Another Tool For Language Recognition +grammar_file: https://github.com/antlr/grammars-v3 +aliases: + - antlr3 +extensions: + - g +line_continuation: + - backslash + - vertbar +delimiters: + # comment delimiters: + - double_slash + - multiline_slash_star + - multiline_double_slash_star + # string delimiters: + - single_quote_slash_escape + # block delimiters: + - curly_braces + - round_braces + - square_braces + - antlr_colon_semicolon +keywords: + - import + - fragment + - lexer + - parser + - grammar + - returns + - locals + - throws + - catch + - finally + - mode + - tokens + - print + - read + - fold + - apply