An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/timtadh/lexmachine

Package lexmachine is a full lexical analysis framework for the Go programming language. It supports a restricted but usable set of regular expressions appropriate for writing lexers for complex programming languages. The framework also supports sub-lexers and non-regular lexing through an "escape hatch" which allows the users to consume any number of further bytes after a match. So if you want to support nested C-style comments or other paired structures you can do so at the lexical analysis stage. For a tutorial see http://hackthology.com/writing-a-lexer-in-go-with-lexmachine.html Example of defining a lexer Example of using a lexer

Ecosystem
proxy.golang.org
Latest Release
v0.2.3
over 3 years ago
Versions
6
Dependent Packages
80
Dependent Repos
193
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/timtadh/lexmachine
spec
License BSD-3-Clause
Namespace github.com/timtadh
First Release almost 9 years ago
Last Synced about 16 hours ago
Repository
Stars 388 on GitHub
Forks 29 on GitHub
Docker Dependents 264
Docker Downloads 22,394,240
Rankings on proxy.golang.org
Overall Top 1.7%
Dependent packages Top 0.5%
Dependent repos Top 0.5%
Forks Top 4.2%
Docker downloads Top 0.4%