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

22
src/main/antlr/VSLLexer.g Normal file
View File

@@ -0,0 +1,22 @@
lexer grammar VSLLexer;
options {
language = Java;
}
@header {
package TP2;
}
WS : (' '|'\n'|'\t') { skip(); }
;
COMMENT : '//' (~'\n')* { skip(); }
;
fragment LETTER : 'a'..'z' ;
fragment DIGIT : '0'..'9' ;
fragment ASCII : ~('\n'|'"');