]> Git — Sourcephile - haskell/symantic-parser.git/commit
test: add goldens for TH splices
authorJulien Moutinho <julm+symantic-parser@sourcephile.fr>
Mon, 22 Feb 2021 14:20:15 +0000 (15:20 +0100)
committerJulien Moutinho <julm+symantic-parser@sourcephile.fr>
Sun, 11 Jul 2021 17:43:41 +0000 (19:43 +0200)
commit538da5ce8d7df5611f4fd5e404ffc71613ff7bb3
tree6eccad3ec66fa1db884a571fec7fcf6ee999f0da
parentf1ee7a1e1cc94891b1a50dcf4ae0856cf58dd55d
test: add goldens for TH splices
140 files changed:
.gitignore
Setup.hs [new file with mode: 0644]
symantic-parser.cabal
test/Golden.hs
test/Golden/Grammar.hs [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G1.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G10.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G11.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G12.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G13.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G14.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G2.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G3.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G4.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G5.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G6.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G7.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G8.expected.txt [new file with mode: 0644]
test/Golden/Grammar/OptimizeGrammar/G9.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G1.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G10.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G11.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G12.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G13.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G14.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G2.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G3.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G4.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G5.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G6.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G7.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G8.expected.txt [new file with mode: 0644]
test/Golden/Grammar/ViewGrammar/G9.expected.txt [moved from test/Golden/Grammar/eof.dump with 100% similarity]
test/Golden/Grammar/app.dump [deleted file]
test/Golden/Grammar/app.opt.dump [deleted file]
test/Golden/Grammar/boom.dump [deleted file]
test/Golden/Grammar/boom.opt.dump [deleted file]
test/Golden/Grammar/brainfuck.dump [deleted file]
test/Golden/Grammar/brainfuck.opt.dump [deleted file]
test/Golden/Grammar/eof.opt.dump [deleted file]
test/Golden/Grammar/many-a.dump [deleted file]
test/Golden/Grammar/many-a.opt.dump [deleted file]
test/Golden/Grammar/many-char-eof.dump [deleted file]
test/Golden/Grammar/many-char-eof.opt.dump [deleted file]
test/Golden/Grammar/nandlang.dump [deleted file]
test/Golden/Grammar/nandlang.opt.dump [deleted file]
test/Golden/Grammar/string.dump [deleted file]
test/Golden/Grammar/string.opt.dump [deleted file]
test/Golden/Grammar/tokens.dump [deleted file]
test/Golden/Grammar/tokens.opt.dump [deleted file]
test/Golden/Grammar/unit-unit.dump [deleted file]
test/Golden/Grammar/unit-unit.opt.dump [deleted file]
test/Golden/Grammar/unit.dump [deleted file]
test/Golden/Grammar/unit.opt.dump [deleted file]
test/Golden/Machine.hs [new file with mode: 0644]
test/Golden/Machine/G1.expected.txt [new file with mode: 0644]
test/Golden/Machine/G10.expected.txt [new file with mode: 0644]
test/Golden/Machine/G11.expected.txt [new file with mode: 0644]
test/Golden/Machine/G12.expected.txt [new file with mode: 0644]
test/Golden/Machine/G13.expected.txt [new file with mode: 0644]
test/Golden/Machine/G14.expected.txt [new file with mode: 0644]
test/Golden/Machine/G2.expected.txt [new file with mode: 0644]
test/Golden/Machine/G3.expected.txt [new file with mode: 0644]
test/Golden/Machine/G4.expected.txt [new file with mode: 0644]
test/Golden/Machine/G5.expected.txt [new file with mode: 0644]
test/Golden/Machine/G6.expected.txt [new file with mode: 0644]
test/Golden/Machine/G7.expected.txt [new file with mode: 0644]
test/Golden/Machine/G8.expected.txt [new file with mode: 0644]
test/Golden/Machine/G9.expected.txt [new file with mode: 0644]
test/Golden/Machine/a-or-b.dump [deleted file]
test/Golden/Machine/app.dump [deleted file]
test/Golden/Machine/boom.dump [deleted file]
test/Golden/Machine/brainfuck.dump [deleted file]
test/Golden/Machine/eof.dump [deleted file]
test/Golden/Machine/many-a.dump [deleted file]
test/Golden/Machine/many-char-eof.dump [deleted file]
test/Golden/Machine/many-char-fail.dump [deleted file]
test/Golden/Machine/nandlang.dump [deleted file]
test/Golden/Machine/some-string.dump [deleted file]
test/Golden/Machine/string.dump [deleted file]
test/Golden/Machine/unit-unit.dump [deleted file]
test/Golden/Machine/unit.dump [deleted file]
test/Golden/Parser.hs [new file with mode: 0644]
test/Golden/Parser/G1/P1.expected.txt [moved from test/Golden/Parser/char.dump with 100% similarity]
test/Golden/Parser/G1/P1.input.txt [moved from test/Golden/Parser/char.txt with 100% similarity]
test/Golden/Parser/G10/P1.expected.txt [moved from test/Golden/Parser/alt-char-fail.dump with 100% similarity]
test/Golden/Parser/G10/P1.input.txt [moved from test/Golden/Parser/alt-char-fail.txt with 100% similarity]
test/Golden/Parser/G11/P1.expected.txt [moved from test/Golden/Parser/many-char-fail.dump with 100% similarity]
test/Golden/Parser/G11/P1.input.txt [moved from test/Golden/Parser/many-char-fail.txt with 100% similarity]
test/Golden/Parser/G12/P1.expected.txt [moved from test/Golden/Parser/many-oneOf.dump with 100% similarity]
test/Golden/Parser/G12/P1.input.txt [moved from test/Golden/Parser/many-oneOf.txt with 100% similarity]
test/Golden/Parser/G2/P1.expected.txt [moved from test/Golden/Parser/string.dump with 100% similarity]
test/Golden/Parser/G2/P1.input.txt [moved from test/Golden/Parser/some-string-fail.txt with 100% similarity]
test/Golden/Parser/G2/P2.expected.txt [moved from test/Golden/Parser/string-fail-horizon.dump with 100% similarity]
test/Golden/Parser/G2/P2.input.txt [moved from test/Golden/Machine/string.txt with 100% similarity]
test/Golden/Parser/G3/P1.expected.txt [moved from test/Golden/Parser/many-char.dump with 100% similarity]
test/Golden/Parser/G3/P1.input.txt [moved from test/Golden/Parser/many-char.txt with 100% similarity]
test/Golden/Parser/G4/P1.expected.txt [moved from test/Golden/Parser/some-string.dump with 100% similarity]
test/Golden/Parser/G4/P1.input.txt [moved from test/Golden/Parser/some-string.txt with 100% similarity]
test/Golden/Parser/G5/P1.expected.txt [moved from test/Golden/Parser/some-string-fail.dump with 100% similarity]
test/Golden/Parser/G5/P1.input.txt [moved from test/Golden/Parser/string.txt with 100% similarity]
test/Golden/Parser/G5/P2.expected.txt [moved from test/Golden/Parser/some-string-eof-fail.dump with 100% similarity]
test/Golden/Parser/G5/P2.input.txt [moved from test/Golden/Parser/some-string-eof-fail.txt with 100% similarity]
test/Golden/Parser/G6/P1.expected.txt [moved from test/Golden/Parser/alt-right-notry.dump with 100% similarity]
test/Golden/Parser/G6/P1.input.txt [moved from test/Golden/Parser/alt-right-notry.txt with 100% similarity]
test/Golden/Parser/G7/P1.expected.txt [moved from test/Golden/Parser/alt-right-try.dump with 100% similarity]
test/Golden/Parser/G7/P1.input.txt [moved from test/Golden/Parser/alt-right-try.txt with 100% similarity]
test/Golden/Parser/G7/P2.expected.txt [moved from test/Golden/Parser/alt-left.dump with 100% similarity]
test/Golden/Parser/G7/P2.input.txt [moved from test/Golden/Parser/alt-left.txt with 100% similarity]
test/Golden/Parser/G8/P1.expected.txt [moved from test/Golden/Parser/many-char-eof.dump with 100% similarity]
test/Golden/Parser/G8/P1.input.txt [moved from test/Golden/Parser/many-char-eof.txt with 100% similarity]
test/Golden/Parser/G9/P1.expected.txt [moved from test/Golden/Parser/eof.dump with 100% similarity]
test/Golden/Parser/G9/P1.input.txt [moved from test/Golden/Parser/eof.txt with 100% similarity]
test/Golden/Parser/G9/P2.expected.txt [moved from test/Golden/Parser/eof-fail.dump with 100% similarity]
test/Golden/Parser/G9/P2.input.txt [moved from test/Golden/Parser/eof-fail.txt with 100% similarity]
test/Golden/Parser/alt-char-try-fail.txt [deleted file]
test/Golden/Parser/string-fail-horizon.txt [deleted file]
test/Golden/Splice.hs [new file with mode: 0644]
test/Golden/Splice/G1.expected.txt [new file with mode: 0644]
test/Golden/Splice/G10.expected.txt [new file with mode: 0644]
test/Golden/Splice/G11.expected.txt [new file with mode: 0644]
test/Golden/Splice/G12.expected.txt [new file with mode: 0644]
test/Golden/Splice/G13.expected.txt [new file with mode: 0644]
test/Golden/Splice/G14.expected.txt [new file with mode: 0644]
test/Golden/Splice/G2.expected.txt [new file with mode: 0644]
test/Golden/Splice/G3.expected.txt [new file with mode: 0644]
test/Golden/Splice/G4.expected.txt [new file with mode: 0644]
test/Golden/Splice/G5.expected.txt [new file with mode: 0644]
test/Golden/Splice/G6.expected.txt [new file with mode: 0644]
test/Golden/Splice/G7.expected.txt [new file with mode: 0644]
test/Golden/Splice/G8.expected.txt [new file with mode: 0644]
test/Golden/Splice/G9.expected.txt [new file with mode: 0644]
test/Golden/Splice/Utils.hs [new file with mode: 0644]
test/Golden/Utils.hs [new file with mode: 0644]
test/Grammar.hs [new file with mode: 0644]
test/Grammar/Brainfuck.hs [moved from test/Parser/Brainfuck.hs with 87% similarity]
test/Grammar/Nandlang.hs [moved from test/Parser/Nandlang.hs with 97% similarity]
test/Grammar/Playground.hs [moved from test/Parser/Playground.hs with 92% similarity]
test/Main.hs
test/Parser.hs