Initial commit

This commit is contained in:
Dimitri Lajou
2025-03-21 17:26:31 +01:00
commit 7114c0e978
115 changed files with 1760 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
parser grammar VSLParser;
options {
language = Java;
tokenVocab = VSLLexer;
k = 1;
}
@header {
package TP2;
import TP2.asd.*;
}
// On syntax error, raise exception rather than silently recovery
@rulecatch {
catch (RecognitionException ex) {
reportError(ex) ;
throw(ex) ;
}
}
program returns [Program p] : /* TODO */;