Home | History | Annotate | only in /prebuilts/go/linux-x86/src/cmd/yacc/testdata/expr
Up to higher level directory
NameDateSize
expr.y06-Dec-20163.2K
main.go06-Dec-2016510
README06-Dec-2016445

README

      1 This directory contains a simple program demonstrating how to use
      2 the Go version of yacc.
      3 
      4 To build it:
      5 
      6 	$ go generate
      7 	$ go build
      8 
      9 or
     10 
     11 	$ go generate
     12 	$ go run expr.go
     13 
     14 The file main.go contains the "go generate" command to run yacc to
     15 create expr.go from expr.y. It also has the package doc comment,
     16 as godoc will not scan the .y file.
     17 
     18 The actual implementation is in expr.y.
     19 
     20 The program is not installed in the binary distributions of Go.
     21