Hello all,

So I've been writing my own small language build from the examples inside
the book of Terency parr. But now I'm getting the following error:

C:\antlr>java -cp
.;antlr-3.0.jar;stringtemplate-3.0.jar;antlr-runtime-3.0.jar;a
ntlr-2.7.7.jar Test < input.txt
line 0:-1 mismatched input '<EOF>' expecting NEWLINE

Isn't a NEWLINE the same as an EOF? And, what's line 0:-1? I've attached the
Eval and expression parser and the input file I used.

Thanks,

William van Doorn
functie f(x) is {
        a is x + 5
        2*a
}
f(10)

Attachment: Expr1.g
Description: Binary data

Attachment: Eval1.g
Description: Binary data

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to