¡@

Home 

c# Programming Glossary: lexer

Visualizing an AST created with ANTLR (in a .Net environment)

http://stackoverflow.com/questions/2856612/visualizing-an-ast-created-with-antlr-in-a-net-environment

Space ' ' ' t' ' r' ' n' skip First let ANTLR generate lexer and parser files from it java cp antlr 3.2.jar org.antlr.Tool.. in new ANTLRStringStream 12 5 6 2^3^ 4 1 ASTDemoLexer lexer new ASTDemoLexer in CommonTokenStream tokens new CommonTokenStream.. in CommonTokenStream tokens new CommonTokenStream lexer ASTDemoParser parser new ASTDemoParser tokens ASTDemoParser.parse_return..

Why is .NET exception not caught by try/catch block?

http://stackoverflow.com/questions/36014/why-is-net-exception-not-caught-by-try-catch-block

Exception. This exception is thrown when the lexer cannot understand the next token in the stream in other words..

ANTLR 3.3 C# Tutorials? [closed]

http://stackoverflow.com/questions/4396080/antlr-3-3-c-sharp-tutorials

finally managed to get my grammar file compiling into a lexer and parser and I can get those compiled and running in Visual.. fixes but I still have no idea what to do with my parser lexer classes. Supposedly it can produce an AST given some input...and.. AST tokens ROOT UNARY_MIN @parser namespace Demo.Antlr @lexer namespace Demo.Antlr parse exp EOF ^ ROOT exp exp addExp addExp..

Poor man's “lexer” for C#

http://stackoverflow.com/questions/673113/poor-mans-lexer-for-c-sharp

man's &ldquo lexer&rdquo for C# I'm trying to write a very simple parser in C#... I'm trying to write a very simple parser in C#. I need a lexer something that lets me associate regular expressions with tokens.. expressions to their token identifers param returns The lexer returns ILexer CreateLexer TextReader reader IDictionary string..

dynamic and performance

http://stackoverflow.com/questions/7478387/dynamic-and-performance

where the compiler starts up again. There's no need for a lexer or parser so the DLR starts up a special version of the C# compiler..

C#/.NET Lexer Generators

http://stackoverflow.com/questions/172189/c-net-lexer-generators

.NET Lexer Generators I'm looking for a decent lexical scanner generator..

ANTLR 3.3 C# Tutorials? [closed]

http://stackoverflow.com/questions/4396080/antlr-3-3-c-sharp-tutorials

Input new ANTLRStringStream 12.5 56 7 0.5 ExpressionLexer Lexer new ExpressionLexer Input CommonTokenStream Tokens new.. Input new ANTLRStringStream 12.5 56 7 0.5 ExpressionLexer Lexer new ExpressionLexer Input CommonTokenStream Tokens new CommonTokenStream.. 12.5 56 7 0.5 ExpressionLexer Lexer new ExpressionLexer Input CommonTokenStream Tokens new CommonTokenStream Lexer ExpressionParser..

Poor man's “lexer” for C#

http://stackoverflow.com/questions/673113/poor-mans-lexer-for-c-sharp

an implementation of the following interface interface ILexer IDisposable summary Return true if there are more tokens to.. Move to the next token summary void Next interface ILexerFactory summary Create a Lexer for converting a stream of characters.. summary void Next interface ILexerFactory summary Create a Lexer for converting a stream of characters into tokens summary param..