Skip to content

Plug any lexer into any parser (proof of concept/idea)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

timsueberkrueb/plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plug_

Plug any lexer into any parser.

NOTE: The aim is to create a sensible interface allowing different lexer and parser implementations to work well with each other, effortlessly. However, this is currently in a proof-of-concept state and may change significantly.

This crate provides a single trait, Lexer which can be implemented by lexers in order to allow them being used effortlessly by any parser library that supports plug_.

Usage

Lexer-support provided by plug_

Support for lexers that don't support plug_ is provided as optional features.

  • logos (feature: logos_support)

Lexers supporting plug_

None, currently.

Parsers supporting plug_

  • yalr (will support plug_ in its first release)

License

plug_ is licensed under either of the following licenses, at your option:

About

Plug any lexer into any parser (proof of concept/idea)

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages