https://github.com/redsift/lex
Adaptable lexer written on Go
https://github.com/redsift/lex
go golang lexer
Last synced: 6 months ago
JSON representation
Adaptable lexer written on Go
- Host: GitHub
- URL: https://github.com/redsift/lex
- Owner: redsift
- License: mit
- Created: 2019-02-21T19:46:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-22T10:05:12.000Z (over 7 years ago)
- Last Synced: 2024-12-29T07:33:03.152Z (over 1 year ago)
- Topics: go, golang, lexer
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lex [](https://goreportcard.com/report/github.com/redsift/lex) [](https://godoc.org/github.com/redsift/lex)
Lex is adaptable lexer based on (almost borrowed from) [Lexical Scanning in Go](https://talks.golang.org/2011/lex.slide#1) talk given by Rob Pike on GTUG at Syndey on August 2011
## Status
The API is quite stable, and the package has been used in couple other projects being in production, but I consider its status as Work-In-Progress
## TODO
- Add unit tests/sample
- Support io.Reader as a source