From ac93f9fabf61e670aba2ffe520be991e6e87daf7 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Wed, 2 Sep 2020 15:26:19 -0400 Subject: [PATCH] src/miller/parsing/README.md --- go/src/miller/parsing/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/src/miller/parsing/README.md b/go/src/miller/parsing/README.md index 04139f179..5a29c4a0b 100644 --- a/go/src/miller/parsing/README.md +++ b/go/src/miller/parsing/README.md @@ -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.