Skip to content

matklad/rustlexspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pragmatic Rust lexer specification.

WIP

This is an attempt to specify Rust lexical structure in pragmatic and declarative way.

Declarativeness achieved by using regular expressions and an intuitive tokenizer algorithm.

Non regular and non context free parts of the language are handled pragmatically with a hand written matching function.

cargo run < src/lib.rs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published