]> Git — Sourcephile - haskell/symantic-parser.git/commit
add farthest position heuristic for parsing error messages
authorJulien Moutinho <julm+symantic-parser@sourcephile.fr>
Sat, 26 Dec 2020 21:45:01 +0000 (22:45 +0100)
committerJulien Moutinho <julm+symantic-parser@sourcephile.fr>
Tue, 29 Dec 2020 06:14:31 +0000 (07:14 +0100)
commita42503e7110b4ae51a6f1089212bc723cd726cca
tree83b3ad712453bd6e00936946a060f14d1fbaf8d4
parenta516529846291cba66e59de92d6896a9ccc9838b
add farthest position heuristic for parsing error messages
48 files changed:
Makefile
default.nix
flake.lock
src/Symantic/Parser/Automaton.hs
src/Symantic/Parser/Automaton/Dump.hs
src/Symantic/Parser/Automaton/Eval.hs
src/Symantic/Parser/Automaton/Input.hs
src/Symantic/Parser/Automaton/Instructions.hs
src/Symantic/Parser/Grammar.hs
src/Symantic/Parser/Grammar/Combinators.hs
src/Symantic/Parser/Grammar/Dump.hs
src/Symantic/Parser/Grammar/ObserveSharing.hs
src/Symantic/Parser/Grammar/Optimize.hs
src/Symantic/Parser/Grammar/Write.hs
src/Symantic/Parser/Staging.hs
symantic-parser.cabal
test/Golden.hs
test/Golden/Automaton/a-or-b.dump
test/Golden/Automaton/boom.dump
test/Golden/Automaton/brainfuck.dump
test/Golden/Automaton/eof.dump [new file with mode: 0644]
test/Golden/Automaton/many-a.dump
test/Golden/Automaton/many-char-eof.dump [new file with mode: 0644]
test/Golden/Grammar.hs
test/Golden/Grammar/boom.opt.dump
test/Golden/Grammar/brainfuck.dump
test/Golden/Grammar/brainfuck.opt.dump
test/Golden/Grammar/eof.dump [new file with mode: 0644]
test/Golden/Grammar/eof.opt.dump [new file with mode: 0644]
test/Golden/Grammar/many-char-eof.dump [new file with mode: 0644]
test/Golden/Grammar/many-char-eof.opt.dump [new file with mode: 0644]
test/Golden/Parser/alt-left.dump [moved from test/Golden/Parser/aa.dump with 100% similarity]
test/Golden/Parser/alt-left.txt [moved from test/Golden/Parser/aa.txt with 100% similarity]
test/Golden/Parser/alt-right-try.dump [moved from test/Golden/Parser/ab.dump with 100% similarity]
test/Golden/Parser/alt-right-try.txt [moved from test/Golden/Parser/ab.txt with 100% similarity]
test/Golden/Parser/alt-right.dump [new file with mode: 0644]
test/Golden/Parser/alt-right.txt [new file with mode: 0644]
test/Golden/Parser/char.dump [moved from test/Golden/Parser/a.dump with 100% similarity]
test/Golden/Parser/char.txt [moved from test/Golden/Parser/a.txt with 100% similarity]
test/Golden/Parser/eof.dump [new file with mode: 0644]
test/Golden/Parser/eof.txt [new file with mode: 0644]
test/Golden/Parser/left-right.txt [new file with mode: 0644]
test/Golden/Parser/many-char-eof.dump [new file with mode: 0644]
test/Golden/Parser/many-char-eof.txt [new file with mode: 0644]
test/Golden/Parser/many-char.dump [new file with mode: 0644]
test/Golden/Parser/many-char.txt [new file with mode: 0644]
test/Golden/Parser/string.dump [new file with mode: 0644]
test/Golden/Parser/string.txt [new file with mode: 0644]