Hi,
We are currently experimenting with your WPF syntax editor. We have our own Antlr based language that we want to integrate into the syntax editor. However when we want to use this language, then the call to language.RegisterService fails. This is probably because our parser and lexer are based on a newer version of the antlr3.runtime. We are using version 3.1.3.27258, while your example is using version 3.1.2.41038.
What have we done so far?
We have taken your Antlr Calc language example and instead of the AntlrCalc parser we just have referenced our parser and lexer objects. Then we want to register the language, just as in your example:We also have tried to use the newer antlr3.runtime.dll (version 3.1.3.27258) instead of the one which is originally referenced in your AntlrCalc example program (version 3.1.2.41038) without changing anything further, but then we get exactly the same error when we call language.RegisterService.
Is there something that we can do to make the newer antlr3.runtime version work?
Thanks,
Arno Rouschen
We are currently experimenting with your WPF syntax editor. We have our own Antlr based language that we want to integrate into the syntax editor. However when we want to use this language, then the call to language.RegisterService fails. This is probably because our parser and lexer are based on a newer version of the antlr3.runtime. We are using version 3.1.3.27258, while your example is using version 3.1.2.41038.
What have we done so far?
We have taken your Antlr Calc language example and instead of the AntlrCalc parser we just have referenced our parser and lexer objects. Then we want to register the language, just as in your example:
SyntaxLanguage language = new SyntaxLanguage("BlaiseSQL");
language.RegisterService<IParser>(
new AntlrParser(language.Key,
typeof(BlaiseSQLLexer),
typeof(BlaiseSQLParser),
""
));
Is there something that we can do to make the newer antlr3.runtime version work?
Thanks,
Arno Rouschen