parser-generator
Which parser generator would be useful for manipulating the productions themselves?
Similar to Generating n statements from context-free grammars, I want to randomly generate sentences from a grammar.[详细]
2023-04-08 22:18 分类:问答Build parser from grammar at runtime
Many (most) regular expression libraries for C++ allow for creating the expression from a string during runtime. Is anyone aware of any C++ parser g开发者_C百科enerators that allow for feeding a gramm[详细]
2023-04-04 03:31 分类:问答General type parameter for nested lists
I\'m trying to write a parser which should parse a Prolog list (for example [1,2,3,4]) into the corresponding Scala List. I programmed the parser with Scalas parsing combinators.[详细]
2023-04-01 19:25 分类:问答Using Parsekit to construct parse tree
I\'m using Parsekit for XCode but this problem may well apply to most parser generators. I parse a script with a gammer and it works fine. However I\'m running into problems with the next step. Consid[详细]
2023-03-25 05:35 分类:问答Simple Grammar for Lemon LALR Parser
I\'ve been stuck with this since a while now. I want to parse something as simple as: LIKES: word1 word2 .. wordN开发者_如何学C HATES: word1 word2 .. wordN[详细]
2023-03-22 06:01 分类:问答Good BNF grammar tutorial / introduction for a beginner?
What\'s your tip for an introduction to BNF grammar (and how to use them in practice)? Something concise with many examples would be great. Have been googling but only found enormously long artcles[详细]
2023-03-22 04:42 分类:问答What is wrong with this ParseKit BNF?
I\'m using ParseKit for objective-C which takes a BNF-like syntax for specifying grammers: @start = command+;[详细]
2023-03-22 04:00 分类:问答How to download ParseKit for iPhone?
Really basic (and probably quite idiotic) question but I\'m not familiar with this procedure of downloading source code. Even if you\'ve never download this you may be able to point out what I\'m miss[详细]
2023-03-21 17:28 分类:问答Parser Generator for Objective C?
I\'ve been advised to use a Parser Generator to create a parser for my domain specific language. Ideally I\'d like it to output an objective-C parser and tak开发者_运维问答e BNF input to describe th[详细]
2023-03-20 16:12 分类:问答How to parse string to int?
my string is 743.4445 and I want it to show 743 so it has to parse to double and then parse to int so I try 开发者_Python百科like this[详细]
2023-03-16 10:46 分类:问答