Skip to content

Commit 0e7fd08

Browse files
authored
Remove Makefile usage and file references (#180)
* The Makefile example suggests that Make is needed. * The file references are prone to directory structure changes.
1 parent cd911a1 commit 0e7fd08

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,7 @@ This creates the file `peg.peg.go`:
3535
```
3636

3737

38-
### Makefile example
39-
40-
This example `Makefile` will convert any file ending with `.peg` into a `.go` file with the same name:
41-
42-
```make
43-
.SUFFIXES: .peg .go
44-
45-
.peg.go:
46-
peg -noast -switch -inline -strict -output $@ $<
47-
48-
all: grammar.go
49-
```
50-
51-
## PEG File syntax
38+
## PEG file syntax
5239

5340
See [peg-file-syntax.md](docs/peg-file-syntax.md)
5441

@@ -69,12 +56,6 @@ Bootstrap and generate grammar *.peg.go. This commands should initially be execu
6956
go generate
7057
```
7158

72-
#### Files
73-
74-
* `bootstrap/main.go` - bootstrap syntax tree of peg
75-
* `tree/peg.go` - syntax tree and code generator
76-
* `peg.peg` - peg in its own language
77-
7859

7960
### Build
8061

0 commit comments

Comments
 (0)