parser-generator
What goes in between { and } when writing BNF?
I\'m having some trouble with BNF. I can\'t tell what seems to be the standard way of doing things (if there is one), and whether or not there are types like char or int or whatever already built in.[详细]
2023-01-22 12:00 分类:问答Lemon Parser-Generator: Are nonterminals not evaluated?
I try to learn parsers. Because my C skills are pretty low, I googled a PHP Lemon to learn sth about Parser Generators. Anyway, the code here should be readable for normal lemon friends, too.[详细]
2023-01-21 20:19 分类:问答Extracting text data from PDF files
Is it possible to parse text data from PDF files in R? There does not appear to be a relevant package for such extraction, but has anyone attempted or seen this done in R?[详细]
2023-01-18 09:28 分类:问答What are FIRST and FOLLOW sets used for in parsing?
W开发者_开发问答hat are FIRST and FOLLOW sets? What are they used for in parsing? Are they used for top-down or bottom-up parsers?[详细]
2023-01-18 04:18 分类:问答XML -> C parser generator
I have a c program, that gets its settings from an XML file. Currently I\'m using Xerces to traverse the data, but it\'s getting quite tedious to map each XML-value to a variable.[详细]
2023-01-16 22:40 分类:问答Haskell Parsec and Unordered Properties
I am trying to use Parsec to parse something like this: property :: CharParser SomeObject property = do[详细]
2023-01-15 20:56 分类:问答Parsing latex-like language in Java
I\'m trying to write a parser in Java for a simple language similar to Latex, i.e. it contains lots of unstructured text with a couple of \\commands[with]{some}{parameters} in between. Escape sequence[详细]
2023-01-11 14:42 分类:问答How do we keep multiple semantic values during parsing with Happy/Haskell
I\'m trying to build a simple lexer/parser with Alex/Happy in Haskell, and I would like to keep some localisation information from the text file into my final AST.[详细]
2023-01-09 04:46 分类:问答Which is the best counterpart to ANTLR to create parsers in ruby?
I\'ve used antlr and javacc/freecc for a while. Now I need to write a bunch of parsers using antlr grammars but such parsers need to be written in ruby lang.[详细]
2023-01-03 06:43 分类:问答AST with fixed nodes instead of error nodes in antlr
I have an antlr generated Java parser th开发者_如何学Pythonat uses the C target and it works quite well. The problem is I also want it to parse erroneous code and produce a meaningful AST. If I feed i[详细]
2022-12-30 01:14 分类:问答