dart-petitparser icon indicating copy to clipboard operation
dart-petitparser copied to clipboard

Dynamic parser combinators in Dart.

Results 9 dart-petitparser issues
Sort by recently updated
recently updated
newest added

First of all, thanks for this awesome package. I've been playing around with this in a hobby project for a day or two and have been wanting to have a...

enhancement
question

Hi Lukas, I'm curious as to your feelings about the potential for porting Petit Parser to the [Characters](https://pub.dev/packages/characters) package? I'm wondering if the [CharacterRange](https://pub.dev/documentation/characters/latest/characters/CharacterRange-class.html) iterator is sufficient for Petit Parser's...

enhancement

How to solve the Einstein Problem with Prolog and Dart 2.6 or later? Should I use a file based approach for calculation e.g. SQLite?

bug

For a project I am working on uncompressed data files can be very large (easily 500k). I'd rather not load and hold the entire file in memory to parse it....

enhancement

See the question from stackoverflow: http://stackoverflow.com/questions/21951118/how-to-use-debug-with-undefined-parser

enhancement

Consider this grammar: ```dart class MyGrammar extends GrammarDefinition { @override Parser start() => ref0(myChars).starString().end(); Parser myChars() => anyOf('abc'); } ``` The linter will produce a warning to use one of...

enhancement

You rewrote this to be faster: ``` int fastParseOn(String buffer, int position) { final result = parseOn(Context(buffer, position)); return switch (result) { Success(position: final position) => position, Failure() => -1...

enhancement

I still occasionally think that I can use petitparser to construct a "lexer" and "grammar" for parsing a decodeJson object tree and map it into richer dart objects. The problem...

enhancement

Hi, thank you so much for this amazing package. I've built [notescalculator.com](https://notescalculator.com) using it and it helped a lot. May I know If there is a way to accept emojis...

question