pub fn tokenize(script: String) -> Result<Vec<Token>, Box<Diagnostic>>