Skip to content

Commit

Permalink
delete parser
Browse files Browse the repository at this point in the history
This leaves yaml alone in the repo
  • Loading branch information
awalterschulze committed Jan 13, 2025
1 parent 3917db6 commit aa5f034
Show file tree
Hide file tree
Showing 31 changed files with 23 additions and 6,693 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,36 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
path: gopath/github.com/katydid/parser-go
- name: Checkout testsuite
uses: actions/checkout@v4
with:
repository: katydid/testsuite
path: gopath/github.com/katydid/testsuite
path: gopath/github.com/katydid/parser-go-yaml
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Fetch dependencies
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-yaml
go mod download -x
- name: Install tools
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-yaml
go install -x github.com/awalterschulze/checklicense
- name: env
run: env && go env && pwd
- name: tree
run: tree
- name: Build
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-yaml
make build
- name: Test
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-yaml
make test
- name: Checklicencse
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-yaml
make checklicense
- name: Diff
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-yaml
make diff
29 changes: 0 additions & 29 deletions COPIED_FROM_GO

This file was deleted.

5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ all: nuke build test
checklicense:
go get github.com/awalterschulze/checklicense
checklicense . \
bnf \
doc.go \
tools/tools.go \
.svg \
.txt \
COPIED_FROM_GO \
parser/yaml/issues.md
.txt

test:
go test ./...
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
## parser-go
## parser-go-yaml

Parser interface for Go.
Parser for Yaml in Go.

This includes tools for developing implementations of the parser interface, for example the `debug` package.
## Known Issues

The YAML parser implementation is in progress and has the following knwown limitations
- Array elements with more than 1 key are parsed incorrectly
- Comments are not supported
- The file delimeter "---" is not supported
- JSON syntax is not yet supported
- Quotes are currently included as part of strings
- Mixing tabs and spaces in indendation is not supported
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/katydid/parser-go
module github.com/katydid/parser-go-yaml

go 1.23

require github.com/katydid/parser-go v0.5.0

require github.com/awalterschulze/checklicense v1.0.0
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/awalterschulze/checklicense v1.0.0 h1:SiRilt26Q+2M238VbXw+e5826mxPypvsj/xgglHDHW8=
github.com/awalterschulze/checklicense v1.0.0/go.mod h1:oUHvoD4crryzAwDwtdQqCnaZRznAvZE64edH9ukb1K4=
github.com/katydid/parser-go v0.5.0 h1:47Q2bnGzEwRTdb1q8IjC3t7FGtxHd/LDF9q7ASuk7as=
github.com/katydid/parser-go v0.5.0/go.mod h1:1BwRfDlyRgDlAaURZ4FXi7IzHqWKTsrCdsstLsFeQho=
2 changes: 0 additions & 2 deletions parser/debug/doc.go

This file was deleted.

70 changes: 0 additions & 70 deletions parser/debug/example.go

This file was deleted.

154 changes: 0 additions & 154 deletions parser/debug/log.go

This file was deleted.

36 changes: 0 additions & 36 deletions parser/debug/node.go

This file was deleted.

Loading

0 comments on commit aa5f034

Please sign in to comment.