tag 0.0.7
This commit is contained in:
parent
18cbe2a8ab
commit
f769a2ec1d
@ -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
2
Cargo.lock
generated
@ -254,7 +254,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "thp"
|
||||
version = "0.0.6"
|
||||
version = "0.0.7"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"colored",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "thp"
|
||||
version = "0.0.6"
|
||||
version = "0.0.7"
|
||||
edition = "2021"
|
||||
|
||||
|
||||
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ block = "{", (statement, (new line, statement)*)?, "}"
|
||||
### Statement
|
||||
|
||||
```ebnf
|
||||
statement = function call
|
||||
statement = function call | binding
|
||||
```
|
||||
|
||||
|
||||
|
@ -5,8 +5,8 @@ mod block;
|
||||
mod expression;
|
||||
mod functions;
|
||||
mod params_list;
|
||||
mod statement;
|
||||
mod utils;
|
||||
mod statement;
|
||||
|
||||
pub mod ast;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user