Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
lexer
✓ github.com/crufter/lexer
Tokenize an input string using the lexer.
package main
import (
"fmt"
"github.com/crufter/lexer"
)
func main() {
l := lexer.New("input string")
for tok := l.Next(); tok.Type != lexer.EOF; tok = l.Next() {
fmt.Println(tok)
}
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20120907053443-23fe8c7add01latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.