parslet Questions

1

I have a problem with transforming parsed JSON-like string, which contains nested arrays, to structured object. I am using parslet to do this. I created parser and transformer, presented below. B...
Egregious asked 25/6, 2019 at 8:9

2

Solved

I am attempting to parse a simple indentation sensitive syntax using the Parslet library within Ruby. The following is an example of the syntax I am attempting to parse: level0child0 level0child1...
Custer asked 12/5, 2013 at 6:56

2

Solved

I'm looking for a way to match multiple lines Parslet. The code looks like this: rule(:line) { (match('$').absent? >> any).repeat >> match('$') } rule(:lines) { line.repeat } However...
Parthenope asked 18/7, 2013 at 17:26
1

© 2022 - 2024 — McMap. All rights reserved.