diff --git a/CHANGELOG.md b/CHANGELOG.md index 79c5c8b..98d25ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ ## TODO -- Parse multiple bindings -- Compile from file -- Automatic semicolon insertion +- Parse more complex bindings +- Parse block of code +- Watch mode - Improve error messages - Parse other language constructions - Type checking @@ -13,12 +13,22 @@ - Stdlib - Document code + +## v0.0.6 + +- Parse function declarations +- Parse multiple function declarations +- Parse multiple bindings +- Compile from file +- Emit INDENT & DEDENT tokens + + ## v0.0.5 - Scan single line comments - Refactor String token to include double quotes (") in its content - Refactor datachecking of semantic analysis - + ## v0.0.4 - Explicit datatype of variables diff --git a/Cargo.lock b/Cargo.lock index f3ed27d..3d056be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -254,7 +254,7 @@ dependencies = [ [[package]] name = "thp" -version = "0.0.5" +version = "0.0.6" dependencies = [ "clap", "colored", diff --git a/Cargo.toml b/Cargo.toml index 91c965f..edab557 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thp" -version = "0.0.5" +version = "0.0.6" edition = "2021" diff --git a/src/main.rs b/src/main.rs index 9e06812..baf544d 100755 --- a/src/main.rs +++ b/src/main.rs @@ -32,7 +32,7 @@ enum Commands { R {}, } -const VERSION: &str = "0.0.5"; +const VERSION: &str = "0.0.6"; fn get_copyright() -> String { format!( diff --git a/src/syntax/function_declaration.rs b/src/syntax/function_declaration.rs index 7bc0829..f44451b 100644 --- a/src/syntax/function_declaration.rs +++ b/src/syntax/function_declaration.rs @@ -1,5 +1,4 @@ use crate::{ - error_handling::SyntaxError, lexic::token::{Token, TokenType}, utils::Result3, };