tag 0.0.7

master
Araozu 2023-10-05 06:56:21 -05:00
parent 18cbe2a8ab
commit f769a2ec1d
6 changed files with 10 additions and 7 deletions

View File

@ -2,6 +2,8 @@
## TODO
- Parse multiple statements
- Parse binary operators
- Parse more complex bindings
- Parse block of code
- Watch mode
@ -17,6 +19,8 @@
## v0.0.7
- Parse minimal function declarations following a grammar
- Parse function call, binding as statement
- Parse a statement as body of a function declaration
## v0.0.6

2
Cargo.lock generated
View File

@ -254,7 +254,7 @@ dependencies = [
[[package]]
name = "thp"
version = "0.0.6"
version = "0.0.7"
dependencies = [
"clap",
"colored",

View File

@ -1,6 +1,6 @@
[package]
name = "thp"
version = "0.0.6"
version = "0.0.7"
edition = "2021"

View File

@ -32,12 +32,11 @@ enum Commands {
R {},
}
const VERSION: &str = "0.0.6";
fn get_copyright() -> String {
let crate_version = env!("CARGO_PKG_VERSION");
format!(
"THP {}\nCopyright (c) 2023 Fernando Enrique Araoz Morales\n",
VERSION,
crate_version,
)
}

View File

@ -45,7 +45,7 @@ block = "{", (statement, (new line, statement)*)?, "}"
### Statement
```ebnf
statement = function call
statement = function call | binding
```

View File

@ -5,8 +5,8 @@ mod block;
mod expression;
mod functions;
mod params_list;
mod statement;
mod utils;
mod statement;
pub mod ast;