lexer
Combining lexer with many parsers
I know a typical configuration of lexer and parser, where the lexer reads the source code and generates tokens, which are then directed to the parser, and the parser uses them as terminal symbols in i[详细]
2023-02-12 12:54 分类:问答Can anyone recommend a method to perform the following string operation using C#
Suppose I hav开发者_开发知识库e a string: \"my event happened in New York on Broadway in 1976\"[详细]
2023-02-08 16:44 分类:问答XML based template engine versus Smarty lexer
There was a lot of excitement about Smarty 3 and its new lexer and how much more power it would give you as a template designer, but when it actually hit the shelves as it were, it was a real disappoi[详细]
2023-02-08 15:38 分类:问答regexp-to-DFA algorithm
I\'m writing a regexp-based lexical analyzer generator based on a regexp-to-DFA direct translation algorithm described in the Dragon Book.[详细]
2023-02-01 01:08 分类:问答ANTLR Parser with manual lexer
I\'m migrating a C#-based programming language compiler from a manual lexer/parser to Antlr. Antlr has been giving me severe headaches because it usually mostly works, but then there are the small pa[详细]
2023-01-29 19:25 分类:问答How to write own parser for (f)lex?
I generated with flex a lexer. [ \\t\\n\\r\\v]/* skip whitespace */ [_a-zA-Z]([_a-zA-Z]|[0-9])*printf(\"IDENT\\n\");[详细]
2023-01-27 00:43 分类:问答Scintilla folding for custom lexer
I am using the ScintillaNET wrapper for the Scintilla control and want to implement folding for ASM so I looked up http://sphere.sourceforg开发者_JS百科e.net/flik/docs/scintilla-folding.html for refer[详细]
2023-01-26 07:36 分类:问答C# Lua Parser / Analyser
first things first; I am writing a little LUA-Ide in C#. The code execution is done by an Assembly named LuaInterface. The code-editing is done by a Scintilla-Port & the RAD / UI Interface is via[详细]
2023-01-24 22:51 分类:问答QScintilla: how to create a new lexer or modify an existing one?
I find the default lexer for C++ highlighting not very specific enough. I want to at least be able to specify a different color for:[详细]
2023-01-23 06:46 分类:问答ANTLR Lua long string grammar rules
I\'m trying to create ANTLR parser for Lua. So i took grammar produced by Nicolai Main开发者_如何转开发ero(available at ANTLR\'s site, Lua 5.1 grammar) and begin to work.[详细]
2023-01-22 15:16 分类:问答