fragment_0 manque code intermédiaire

This commit is contained in:
Vu Tuan Minh
2025-03-31 03:35:30 +02:00
parent 6643190a3f
commit 95fee3f1ae
8 changed files with 147 additions and 17 deletions

View File

@@ -42,10 +42,24 @@ READ : 'READ'
;
PRINT : 'PRINT'
;
RETURN: 'RETURN'
;
TEXT : '"' (ASCII)+ '"' {getText().substring(1,getText().length()-1)}
;
NUMBER : (DIGIT)+
;
ParO: '('
;
ParF: ')'
;
PLUS: '+'
;
MINUS: '-'
;
DIV:'/'
;
TIMES: '*'
;
WS : (' '|'\n'|'\t') { skip(); }
;