elmx 0.1.0

elm compiler and runtime
Documentation
use elmx::Lexer;

fn main() {
    let input = "let foo = 1";
    for i in 0..input.len() {
        print!("{i} | ");
    }
    println!();
    for c in input.chars() {
        print!("{c} | ");
    }
    println!();
    println!();
    println!();

    let lexer = Lexer::new("let foo = 1");

    for token in lexer {
        println!("`{}`", token.literal);
    }
}