Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bencinn committed Jul 22, 2023
1 parent 2695d32 commit 65efe35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "teolang"
version = "0.3.4"
version = "0.4.0"
description = "A programming language design to be easy to learn for kids"
license = "GPL-3.0-only"
repository = "https://github.com/bencinn/teo"
Expand Down
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ fn main() -> Result<()> {
println!("{:#?}", vec_ast);
exit(0);
};
let mut features_list = vec!["return".to_owned(), "print".to_owned(), "input".to_owned(), "split".to_owned()];
let mut features_list = vec![
"return".to_owned(),
"print".to_owned(),
"input".to_owned(),
"split".to_owned(),
];
for feature in &args.features {
if !features_list.contains(&feature) {
features_list.push(feature.to_string());
Expand Down

0 comments on commit 65efe35

Please sign in to comment.