dart-petitparser
dart-petitparser copied to clipboard
Dynamic parser combinators in Dart.
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...
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...
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?
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....
See the question from stackoverflow: http://stackoverflow.com/questions/21951118/how-to-use-debug-with-undefined-parser
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...
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...
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...
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...