Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Lexer Contracts

Lexer Contracts Laravel Package

phplrt/lexer-contracts

phplrt/lexer-contracts defines the core interfaces and contracts for building lexers within the phplrt ecosystem. It provides a clean, type-safe foundation for tokenizing source code, letting you implement custom lexers that integrate seamlessly with phplrt parsers and tooling.

View on GitHub
Deep Wiki
Context7

phplrt/lexer-contracts provides the core interfaces and abstractions for building lexers within the phplrt ecosystem. It defines the contracts that lexer implementations must satisfy, enabling consistent tokenization across parsers and tooling without coupling to a concrete lexer.

  • Lexer contract for tokenizing source input
  • Token interfaces with position and value accessors
  • Exception contracts for lexer error handling
  • Framework-agnostic — no runtime dependencies
  • Designed for interoperability with phplrt parsers
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings