dafny-lang / dafny

Dafny is a verification-aware programming language
https://dafny.org
Other
2.94k stars 263 forks source link

Standard Library: Parser combinators #5418

Open robin-aws opened 6 months ago

robin-aws commented 6 months ago

Already implemented and in use in https://github.com/dafny-lang/libraries/tree/parser-combinators-library.

This might not be as core a utility as the other standard libraries, but since we don't have great support for publishing and consuming Dafny libraries in general yet, I'm in favor of adding this as a standard library with the option to ship it separately later on.

codyroux commented 6 months ago

+1 to this, generally a leaf parser for ingesting (small amounts of) JSON is so useful that having it in the stdlib is not absurd.