uu-parsinglib Questions

2

Solved

As a simplified subproblem of a parser for a real language, I am trying to implement a parser for expressions of a fictional language which looks similar to standard imperative languages (like Pyth...
Cobblestone asked 4/10, 2014 at 23:15

2

Solved

Question I know Parsec and uu-parsinglib and I've written parsers in both of them. Recently I discovered, that there is a problem in uu-parsinglib, which could significantly affect its performance...
Meathead asked 30/12, 2013 at 19:50

3

Solved

Lets see the code snippet: pSegmentBegin p i = pIndentExact i *> ((:) <$> p i <*> ((pEOL *> pSegment p i) <|> pure [])) if I change this code in my parser to: pSegmentBe...
Beater asked 16/8, 2013 at 13:59

1

I'm trying to create a Monadic parser using uu_parsinglib. I thought I had it covered, but I'm getting some unexpected results in testing A cut down example of my parser is: pType :: Parser ASTTy...
Rodent asked 16/8, 2013 at 8:55

2

Solved

I'm using uu-parsinglib, but I think the following question is parser combinator generic. Let's consider the following example: I've got a lexer with a combinator pLex, which produces a list of t...
Osteotomy asked 13/8, 2013 at 16:17

1

I want to create a parser combinator, which will collect all lines below current place, which indentation levels will be greater or equal some i. I think the idea is simple: Consume a line - if it...
Sac asked 14/8, 2013 at 16:45

1

I am going to write a parser of verilog (or vhdl) language and will do a lot of manipulations (sort of transformations) of the parsed data. I intend to parse really big files (full Verilog designs,...
Legra asked 8/2, 2013 at 13:17
1

© 2022 - 2024 — McMap. All rights reserved.