Gbury / dolmen

Dolmen provides a library and a binary to parse, typecheck, and evaluate languages used in automated deduction
BSD 2-Clause "Simplified" License
80 stars 17 forks source link

Support non-incremental parsing from stdin #200

Closed bclement-ocp closed 11 months ago

bclement-ocp commented 11 months ago

Some parsers (e.g. Alt-Ergo's native format) do not support incremental parsing, because there is no clear delimiter between phrases. Using such formats with an `Stdin input throws an exception, when it should just switch to the full parser.

This would obviously not allow interactive input for these parsers, but would still allow piping files in this format through stdin.

See also OCamlPro/alt-ergo#949

Gbury commented 11 months ago

Closed by #201