Top 1.4% dependent packages on proxy.golang.org
Top 0.9% dependent repos on proxy.golang.org
Top 9.0% forks on proxy.golang.org
proxy.golang.org : gitlab.com/cznic/golex
Golex is a lex/flex like (not fully POSIX lex compatible) utility. It renders .l formated data (http://flex.sourceforge.net/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):
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/gitlab.com/cznic/golex
License: BSD-3-Clause
Latest release: over 2 years ago
First release: about 7 years ago
Namespace: gitlab.com/cznic
Dependent packages: 13
Dependent repositories: 38
Stars: 9 on gitlab.com
Forks: 5 on gitlab.com
Docker dependents: 0
Docker downloads: 0
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago