mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-28 18:21:52 +00:00
src/miller/parsing/README.md
This commit is contained in:
parent
8286a742f3
commit
ac93f9fabf
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
This 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 classiccal Lex/Yacc framework, there would be separate `mlr.l` and `mlr.y` files; using GOCC, there is a single `mlr.bnf` file.)
|
||||
This 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.)
|
||||
|
||||
All subdirectories of `src/miller/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/miller/parsing src/miller/parsing/mlr.bnf` as invoked from the `miller/go` base directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue