Package Usage: go: modernc.org/golex
Golex is a lex/flex like (not fully POSIX lex compatible) utility.
It renders .l formated data (https://westes.github.io/flex/manual/Format.html#Format) to Go source code.
The .l data can come from a file named in a command line argument.
If no non-opt args are given, golex reads stdin.
Options:
To get the latest golex version:
Please see http://godoc.org/modernc.org/golex/lex.
2014-11-18: Golex now supports %yym - a hook which can be used to mark an
accepting state.
Consider for example this .l file:
Execution and output:
2014-11-15: Golex's output is now gofmt'ed, if possible.
Missing/differing functionality of the current renderer (compared to flex):
Further limitations on the .l source are listed in the cznic/lex package godocs.
A simple golex program example (make example1 && ./example1):
7 versions
Latest release: over 1 year ago
345 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/modernc.org/golex
Dependent Repos 4
betagouv/sealed-secrets Fork of bitnami-labs/sealed-secrets
A Kubernetes controller and tool for one-way encrypted SecretsSize: 19.2 MB - Last synced: 6 days ago - Pushed: almost 3 years ago

go-hep/hep
hep is the mono repository holding all of go-hep.org/x/hep packages and toolsLast synced: 7 months ago

