From 6bf87d54204da3a4e5c3db90e6b48f962bb965b8 Mon Sep 17 00:00:00 2001 From: Dhiraj240 Date: Thu, 15 Nov 2018 17:30:38 +0530 Subject: [PATCH] antlr4.yaml: Add g4 language Closes https://github.com/coala/coAST/issues/27 --- data/Language/antlr4.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 data/Language/antlr4.yaml diff --git a/data/Language/antlr4.yaml b/data/Language/antlr4.yaml new file mode 100644 index 0000000..7591b75 --- /dev/null +++ b/data/Language/antlr4.yaml @@ -0,0 +1,36 @@ +identifier: antlr4 +creation_date: 2017 +wikidata: Q295801 +full_name: Another Tool For Language Recognition +grammar_file: https://github.com/antlr/grammars-v4/tree/master/antlr4 +aliases: + - antlr4 +extensions: + - g4 +line_continuation: + - backslash +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 +keywords: + - import + - fragment + - lexer + - parser + - grammar + - returns + - locals + - throws + - catch + - finally + - mode + - options + - tokens