Created
March 17, 2021 18:13
-
-
Save kfsone/f24d07be7e686010c386d960421d4cf4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make install | |
make[1]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc' | |
go install . | |
make[1]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc' | |
make -C example regenerate | |
make[1]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example' | |
make -C astx regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/astx' | |
gocc ast.bnf | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/astx' | |
make -C bools regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/bools' | |
gocc -a example.bnf | |
4 LR-1 conflicts | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/bools' | |
make -C calc regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/calc' | |
gocc calc.bnf | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/calc' | |
make -C errorrecovery regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/errorrecovery' | |
gocc er.bnf | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/errorrecovery' | |
make -C mail regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/mail' | |
gocc mail.bnf | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/mail' | |
make -C nolexer regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/nolexer' | |
gocc -no_lexer nolexer.bnf | |
warning: undefined symbol "name" used in productions ["Hello"] | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/nolexer' | |
make -C rr regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/rr' | |
gocc -a rr.bnf | |
1 LR-1 conflicts | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/rr' | |
make -C sr regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/sr' | |
gocc -a sr.bnf | |
1 LR-1 conflicts | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example/sr' | |
make[1]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/example' | |
make -C internal/test regenerate | |
make[1]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/internal/test' | |
make -C t1 regenerate | |
make[2]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/internal/test/t1' | |
gocc t1.bnf | |
make[2]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/internal/test/t1' | |
make[1]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc/internal/test' | |
make gofmt | |
make[1]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc' | |
gofmt -l -s -w . | |
example/bools/parser/productionstable.go | |
example/calc/parser/productionstable.go | |
example/nolexer/parser/productionstable.go | |
example/rr/parser/productionstable.go | |
internal/test/t1/parser/productionstable.go | |
make[1]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc' | |
make goimports | |
make[1]: Entering directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc' | |
go get golang.org/x/tools/cmd/goimports | |
goimports -l -w . | |
make[1]: Leaving directory '/mnt/c/Users/oliver/go/src/github.com/kfsone/gocc' | |
go get golang.org/x/tools/cmd/goimports | |
goimports -l -w . | |
go vet ./... | |
go get github.com/kisielk/[email protected] | |
errcheck -exclude .errcheck-ignore ./... | |
go test -v ./... | |
? github.com/goccmack/gocc [no test files] | |
=== RUN TestPass | |
input: a b c d e f | |
output: [a b c d e f] | |
--- PASS: TestPass (0.00s) | |
=== RUN TestFail | |
input: a b ; d e f | |
Parsing failed as expected: Error in S3: INVALID(0,;), Pos(offset=4, line=1, column=5), expected one of: $ id | |
--- PASS: TestFail (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/astx (cached) | |
? github.com/goccmack/gocc/example/astx/ast [no test files] | |
? github.com/goccmack/gocc/example/astx/errors [no test files] | |
? github.com/goccmack/gocc/example/astx/lexer [no test files] | |
? github.com/goccmack/gocc/example/astx/parser [no test files] | |
? github.com/goccmack/gocc/example/astx/token [no test files] | |
? github.com/goccmack/gocc/example/astx/util [no test files] | |
=== RUN TestOr | |
--- PASS: TestOr (0.00s) | |
=== RUN TestAnd | |
--- PASS: TestAnd (0.00s) | |
=== RUN TestSubString | |
--- PASS: TestSubString (0.00s) | |
=== RUN TestLess | |
--- PASS: TestLess (0.00s) | |
=== RUN TestMixed | |
--- PASS: TestMixed (0.00s) | |
=== RUN TestGroup | |
--- PASS: TestGroup (0.00s) | |
=== RUN TestGroupMixed | |
--- PASS: TestGroupMixed (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/bools (cached) | |
? github.com/goccmack/gocc/example/bools/ast [no test files] | |
? github.com/goccmack/gocc/example/bools/errors [no test files] | |
? github.com/goccmack/gocc/example/bools/lexer [no test files] | |
? github.com/goccmack/gocc/example/bools/parser [no test files] | |
? github.com/goccmack/gocc/example/bools/token [no test files] | |
? github.com/goccmack/gocc/example/bools/util [no test files] | |
=== RUN Test1 | |
--- PASS: Test1 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/calc (cached) | |
? github.com/goccmack/gocc/example/calc/errors [no test files] | |
? github.com/goccmack/gocc/example/calc/lexer [no test files] | |
? github.com/goccmack/gocc/example/calc/parser [no test files] | |
? github.com/goccmack/gocc/example/calc/token [no test files] | |
? github.com/goccmack/gocc/example/calc/util [no test files] | |
=== RUN TestFail | |
input: a b ; d e f | |
output: [ | |
a | |
Error in S0: INVALID(0,;), Pos(offset=4, line=1, column=5), expected one of: $ id error | |
d | |
e | |
f | |
] | |
--- PASS: TestFail (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/errorrecovery (cached) | |
? github.com/goccmack/gocc/example/errorrecovery/ast [no test files] | |
? github.com/goccmack/gocc/example/errorrecovery/errors [no test files] | |
? github.com/goccmack/gocc/example/errorrecovery/lexer [no test files] | |
? github.com/goccmack/gocc/example/errorrecovery/parser [no test files] | |
? github.com/goccmack/gocc/example/errorrecovery/token [no test files] | |
? github.com/goccmack/gocc/example/errorrecovery/util [no test files] | |
=== RUN Test1 | |
--- PASS: Test1 (0.00s) | |
=== RUN Test2 | |
--- PASS: Test2 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/mail (cached) | |
? github.com/goccmack/gocc/example/mail/lexer [no test files] | |
? github.com/goccmack/gocc/example/mail/token [no test files] | |
? github.com/goccmack/gocc/example/mail/util [no test files] | |
=== RUN Test1 | |
hiya world | |
--- PASS: Test1 (0.00s) | |
=== RUN Test2 | |
hello world | |
--- PASS: Test2 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/nolexer (cached) | |
? github.com/goccmack/gocc/example/nolexer/errors [no test files] | |
? github.com/goccmack/gocc/example/nolexer/parser [no test files] | |
? github.com/goccmack/gocc/example/nolexer/scanner [no test files] | |
? github.com/goccmack/gocc/example/nolexer/token [no test files] | |
? github.com/goccmack/gocc/example/nolexer/util [no test files] | |
=== RUN Test | |
src: `a`; exp: `B ` | |
src: `a a`; exp: `A1 ` | |
src: `a a a`; exp: `A1 ` | |
src: `c a`; exp: `A1 ` | |
src: `c a a a a`; exp: `A1 ` | |
--- PASS: Test (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/rr (cached) | |
? github.com/goccmack/gocc/example/rr/errors [no test files] | |
? github.com/goccmack/gocc/example/rr/lexer [no test files] | |
? github.com/goccmack/gocc/example/rr/parser [no test files] | |
? github.com/goccmack/gocc/example/rr/token [no test files] | |
? github.com/goccmack/gocc/example/rr/util [no test files] | |
=== RUN Test1 | |
--- PASS: Test1 (0.00s) | |
=== RUN Test2 | |
--- PASS: Test2 (0.00s) | |
=== RUN Test3 | |
--- PASS: Test3 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/example/sr (cached) | |
? github.com/goccmack/gocc/example/sr/ast [no test files] | |
? github.com/goccmack/gocc/example/sr/errors [no test files] | |
? github.com/goccmack/gocc/example/sr/lexer [no test files] | |
? github.com/goccmack/gocc/example/sr/parser [no test files] | |
? github.com/goccmack/gocc/example/sr/token [no test files] | |
? github.com/goccmack/gocc/example/sr/util [no test files] | |
? github.com/goccmack/gocc/internal/ast [no test files] | |
? github.com/goccmack/gocc/internal/config [no test files] | |
? github.com/goccmack/gocc/internal/frontend/errors [no test files] | |
? github.com/goccmack/gocc/internal/frontend/parser [no test files] | |
=== RUN Test1 | |
--- PASS: Test1 (0.00s) | |
=== RUN Test2 | |
--- PASS: Test2 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/internal/frontend/scanner (cached) | |
? github.com/goccmack/gocc/internal/frontend/token [no test files] | |
? github.com/goccmack/gocc/internal/io [no test files] | |
? github.com/goccmack/gocc/internal/lexer/gen/golang [no test files] | |
=== RUN TestDisjunctSets0 | |
--- PASS: TestDisjunctSets0 (0.00s) | |
=== RUN TestDisjunctSets1 | |
--- PASS: TestDisjunctSets1 (0.00s) | |
=== RUN TestDisjunctSets2 | |
--- PASS: TestDisjunctSets2 (0.00s) | |
=== RUN TestDisjunctSets3 | |
--- PASS: TestDisjunctSets3 (0.00s) | |
=== RUN TestDisjunctSets4 | |
--- PASS: TestDisjunctSets4 (0.00s) | |
=== RUN TestDisjunctSets5 | |
--- PASS: TestDisjunctSets5 (0.00s) | |
=== RUN TestDisjunctSets6 | |
--- PASS: TestDisjunctSets6 (0.00s) | |
=== RUN TestDisjunctSets7 | |
--- PASS: TestDisjunctSets7 (0.00s) | |
=== RUN TestDisjunctSets8 | |
--- PASS: TestDisjunctSets8 (0.00s) | |
=== RUN TestDisjunctSets9 | |
--- PASS: TestDisjunctSets9 (0.00s) | |
=== RUN TestDisjunctSets10 | |
--- PASS: TestDisjunctSets10 (0.00s) | |
=== RUN TestDisjunctSets11 | |
--- PASS: TestDisjunctSets11 (0.00s) | |
=== RUN TestDisjunctSets12 | |
--- PASS: TestDisjunctSets12 (0.00s) | |
=== RUN TestDisjunctSets13 | |
--- PASS: TestDisjunctSets13 (0.00s) | |
=== RUN TestDisjunctSets14 | |
--- PASS: TestDisjunctSets14 (0.00s) | |
=== RUN Test1 | |
--- PASS: Test1 (0.00s) | |
=== RUN Test2 | |
--- PASS: Test2 (0.00s) | |
=== RUN Test3 | |
--- PASS: Test3 (0.00s) | |
=== RUN Test4 | |
--- PASS: Test4 (0.00s) | |
=== RUN Test5 | |
--- PASS: Test5 (0.00s) | |
=== RUN TestItemPos1 | |
--- PASS: TestItemPos1 (0.00s) | |
=== RUN TestItemPosClone1 | |
--- PASS: TestItemPosClone1 (0.00s) | |
=== RUN TestItemPos2 | |
--- PASS: TestItemPos2 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/internal/lexer/items (cached) | |
? github.com/goccmack/gocc/internal/lexer/symbols [no test files] | |
? github.com/goccmack/gocc/internal/parser/first [no test files] | |
? github.com/goccmack/gocc/internal/parser/gen [no test files] | |
? github.com/goccmack/gocc/internal/parser/gen/golang [no test files] | |
? github.com/goccmack/gocc/internal/parser/lr1/action [no test files] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/goccmack/gocc/internal/parser/lr1/items (cached) [no tests to run] | |
? github.com/goccmack/gocc/internal/parser/symbols [no test files] | |
=== RUN Test1 | |
--- PASS: Test1 (0.00s) | |
=== RUN Test2 | |
--- PASS: Test2 (0.00s) | |
=== RUN Test3 | |
--- PASS: Test3 (0.00s) | |
PASS | |
ok github.com/goccmack/gocc/internal/test/t1 (cached) | |
? github.com/goccmack/gocc/internal/test/t1/errors [no test files] | |
? github.com/goccmack/gocc/internal/test/t1/lexer [no test files] | |
? github.com/goccmack/gocc/internal/test/t1/parser [no test files] | |
? github.com/goccmack/gocc/internal/test/t1/token [no test files] | |
? github.com/goccmack/gocc/internal/test/t1/util [no test files] | |
=== RUN TestEmptyKeyword | |
--- PASS: TestEmptyKeyword (0.11s) | |
PASS | |
ok github.com/goccmack/gocc/internal/test/t2 (cached) | |
? github.com/goccmack/gocc/internal/token [no test files] | |
? github.com/goccmack/gocc/internal/token/gen [no test files] | |
? github.com/goccmack/gocc/internal/token/gen/golang [no test files] | |
? github.com/goccmack/gocc/internal/util [no test files] | |
? github.com/goccmack/gocc/internal/util/gen [no test files] | |
? github.com/goccmack/gocc/internal/util/gen/golang [no test files] | |
? github.com/goccmack/gocc/internal/util/md [no test files] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment