// Copyright 2018 Steven Bosnick // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms extern crate luther; #[macro_use] extern crate luther_derive; #[derive(Lexer, Debug)] enum Token { #[luther(regex = "ab")] Ab, #[luther(regex = "acc*")] Acc, #[luther(regex = "a(bc|de)")] Abcde(String), } fn main() { println!("Hello World!"); }