1:
2:
3: doctype "calculator-basic-with-errors.g.etl";
4: print "zeroes: ", 24#0, " " , 0.0 , " '', 0;
5: print "ones: ', 1, " ", 1.0, " ", 10E-1 {a;a};
6: print "halves: ", 0.5, " ", 5.0E-1, " ", 2#0.001#e2;
7: print "dozens: ", 12#10#, " ", 3#1_1_0#, " ", 0.12e2, " ", 36#C {{
- GRAMMAR_ERROR: calculator-basic-with-errors.g.etl(12,40,487)-(12,44,491): New line encountered in string. If you want to insert new line use \n syntax
- GRAMMAR_ERROR: calculator-basic-with-errors.g.etl(13,13,504)-(13,13,504): Unterminated segment, semicolon expected here
- GRAMMAR_ERROR: calculator-basic-with-errors.g.etl(13,13,504)-(13,13,504): Structural error. Expecting tokens "LA[phraseTokens=[];tokens={STRING[quote="]=[null], STRING[quote=']=[null]}]".
- GRAMMAR_ERROR: calculator-basic-with-errors.g.etl(17,13,585)-(17,13,585): Syntax error. Expecting end of segment.
- GRAMMAR_ERROR: calculator-basic-with-errors.g.etl(23,9,741)-(23,9,741): Unterminated segment, semicolon expected here
- GRAMMAR_ERROR: sample-basic-with-errors.c.etl(3,45,141)-(3,45,141): Unable to parse grammar with public id null and system id file:/C:/temp/etl-java-0_2_1/samples/calculator/src/calculator/grammars/calculator-basic-with-errors.g.etl due to unexpected problem.
- LEXICAL_ERROR: sample-basic-with-errors.c.etl(4,19,162)-(4,23,166): Based number is not terminated
- LEXICAL_ERROR: sample-basic-with-errors.c.etl(4,37,180)-(4,47,190): New line encountered in string. If you want to insert new line use \n syntax
- LEXICAL_ERROR: sample-basic-with-errors.c.etl(5,32,223)-(5,48,239): New line encountered in string. If you want to insert new line use \n syntax
- LEXICAL_ERROR: sample-basic-with-errors.c.etl(7,60,355)-(7,64,359): Based number is not terminated
- SEGMENT_ERROR: sample-basic-with-errors.c.etl(7,66,361)-(7,66,361): Block starting here is not terminated
- SEGMENT_ERROR: sample-basic-with-errors.c.etl(7,67,362)-(7,67,362): Unterminated segment, semicolon expected here
- SEGMENT_ERROR: sample-basic-with-errors.c.etl(7,65,360)-(7,65,360): Block starting here is not terminated
- SEGMENT_ERROR: sample-basic-with-errors.c.etl(7,67,362)-(7,67,362): Unterminated segment, semicolon expected here