lexer
Is there a jflex specification of java string literals somewhere?
And by string literals I mean those containing \\123-like characters too. I\'ve written something but I don\'t know if it\'s perfect:[详细]
2022-12-18 14:52 分类:问答Antlr3 - HIDDEN token in the parser
Can you use a token defined in the lexer in a hidden channel in a single rule of the parser as if it were 开发者_高级运维a normal token?[详细]
2022-12-18 12:37 分类:问答How to write a bison file to automatically use a token enumeration list define in a C header file?
I am trying to build a parser with Bison/Yacc to be able to parse a flow of token done by another module. The tokens are already listed in a enumeration type as follow:[详细]
2022-12-18 06:01 分类:问答What is a suitable lexer generator that I can use to strip identifiers from many language source files?
I\'m working on a group project for my University which is going to be used for plagiarism detection in Computer Science.[详细]
2022-12-17 16:31 分类:问答lexers / parsers for (un) structured text documents [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2022-12-17 05:47 分类:问答How can I keep track of original character positions in a string across transformations?
I\'m working on an anti-plagiarism project for my CS class.This involves detecting plagiarism in computer science courses (programming assignments), through a technique described \"Winnowing: Local Al[详细]
2022-12-17 05:40 分类:问答Haskell lexer problems
I\'m writing a lexer in haskell. Here\'s the code: lexer :: String -> [Token] lexer s s =~ whitespace :: Bool =[详细]
2022-12-09 12:08 分类:问答Parser How To in .NET
I\'d like to understand how to construct a parser in .NET to process source files. For e开发者_StackOverflowxample, maybe I could begin by learning how to parse SQL or HTML or CSS and then act on the[详细]
2022-12-09 03:41 分类:问答