lexer
Parser generator for JavaME
First: I have looked at this SO question but unfortunately there is no mention of JavaME I am looking for a parser/lexer generator that produces code that can run on the Blackberry and its (obnoxious[详细]
2023-01-02 15:44 分类:问答Lexing partial SQL in C#
I\'d need to parse partial SQL 开发者_C百科queries (it\'s for a SQL injection auditing tool). For example[详细]
2023-01-02 04:14 分类:问答Antlr Lexer Quoted String Predicate
I\'m trying to build a lexer to tokenize lone words and quoted strings. I got the following: STRING:QUOTE (options {greedy=false;} : . )* QUOTE ;[详细]
2023-01-01 05:28 分类:问答How to efficently build an interpreter (lexer+parser) in C?
I\'m trying to make a meta-language for writing markup code (such as xml and html) which can be directly embedded into C/C++ code.[详细]
2022-12-31 23:52 分类:问答Call methods on native Javascript types without wrapping with ()
In Javascript, we can call methods on string literals directly without enclosing it within round 开发者_Go百科brackets. But not for other types such as numbers, or functions. It is a syntax error, but[详细]
2022-12-28 04:48 分类:问答Parsing C# code to evaluate expressions (basically, implementing Intellisense)
I\'m trying to evaluate C# code as it gets typed, think of it as if I\'m trying to write an IDE. So a person types code, I want to find out what code did he just write:[详细]
2022-12-27 13:54 分类:问答lexer/parser ambiguity
How does a lexer solve this ambiguity? /*/*/ How is it that it doesn\'t just say, oh yeah, that\'s the begining of a multi-line comment, followed by another multi-line comment.[详细]
2022-12-27 07:07 分类:问答hand coding a parser
For all you compiler gurus, I wanna write a recursive descent parser and I wanna do it with just code. No generating lexers and parsers from some other grammar and don\'t tell me to read the dragon bo[详细]
2022-12-27 06:37 分类:问答Lexing newlines in scala StdLexical?
I\'m trying to lex (then parse) a C like language. In C there are preprocessor directives where line breaks are significant, then the actual code where they are just whitespace.[详细]
2022-12-26 14:51 分类:问答Unable to compile output of lex
When I attempt to compile the output of this trivial lex program: # lex.l integerprintf(\"found keyword INT\");[详细]
2022-12-26 14:37 分类:问答