• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..24-Mar-2021-

errors/H24-Mar-2021-10175

lexer/H24-Mar-2021-7,0776,182

parser/H24-Mar-2021-1,088,3851,088,320

token/H24-Mar-2021-404367

util/H24-Mar-2021-149120

README.mdH A D24-Mar-2021744 42

errors.go.templateH A D24-Mar-20212.2 KiB10188

mlr.bnfH A D24-Mar-202159.7 KiB2,2461,946

README.md

1This directory contains a single source file, `mlr.bnf`, which is the lexical/semantic grammar file for the Miller `put`/`filter` DSL using the GOCC framework. (In a classical Lex/Yacc framework, there would be separate `mlr.l` and `mlr.y` files; using GOCC, there is a single `mlr.bnf` file.)
2
3All subdirectories of `src/parsing/` are autogen code created by GOCC's processing of `mlr.bnf`. They are nonetheless committed to source control, since running GOCC takes quite a bit longer than the `go build mlr.go` does, and the BNF file doesn't often change. See the top-level `miller/go` build scripts for how to rerun GOCC. As of this writing, it's `bin/gocc -o src/parsing src/parsing/mlr.bnf` as invoked from the `miller/go` base directory.
4