@tishlang/tish 1.0.34 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Cargo.toml CHANGED
@@ -20,6 +20,7 @@ members = [
20
20
  "crates/tish_compiler_wasm",
21
21
  "crates/tish_vm",
22
22
  "crates/tish_llvm",
23
+
23
24
  "crates/tish_native",
24
25
  "crates/tish_wasm",
25
26
  "crates/tish",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "tishlang"
3
- version = "1.0.34"
3
+ version = "1.1.2"
4
4
  edition = "2021"
5
5
  description = "Tish CLI - run, REPL, compile to native"
6
6
  license-file = { workspace = true }
@@ -16,11 +16,12 @@ default = []
16
16
  # Full: all capabilities enabled (for development/trusted environments)
17
17
  full = ["http", "fs", "process", "regex", "ws"]
18
18
  # Individual capability flags
19
- http = ["tishlang_eval/http", "tishlang_runtime/http", "tishlang_compile/http", "tishlang_vm/http"]
20
- fs = ["tishlang_eval/fs", "tishlang_runtime/fs", "tishlang_compile/fs", "tishlang_vm/fs"]
19
+ http = ["tishlang_eval/http", "tishlang_runtime/http", "tishlang_compile/http", "tishlang_vm/http"]
20
+ fs = ["tishlang_eval/fs", "tishlang_runtime/fs", "tishlang_compile/fs", "tishlang_vm/fs"]
21
21
  process = ["tishlang_eval/process", "tishlang_runtime/process", "tishlang_compile/process", "tishlang_vm/process"]
22
- regex = ["tishlang_eval/regex", "tishlang_runtime/regex", "tishlang_compile/regex", "tishlang_vm/regex"]
23
- ws = ["tishlang_eval/ws", "tishlang_runtime/ws", "tishlang_compile/ws", "tishlang_vm/ws"]
22
+ regex = ["tishlang_eval/regex", "tishlang_runtime/regex", "tishlang_compile/regex", "tishlang_vm/regex"]
23
+ ws = ["tishlang_eval/ws", "tishlang_runtime/ws", "tishlang_compile/ws", "tishlang_vm/ws"]
24
+ # GPU compute — Apple Silicon only
24
25
  [dependencies]
25
26
  rustyline = { version = "17", features = ["with-file-history"] }
26
27
  tishlang_lexer = { path = "../tish_lexer", version = ">=0.1" }
@@ -18,7 +18,7 @@ ws = []
18
18
  tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
19
19
  tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
20
20
  tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
21
- tishlang_ui = { path = "../tish_ui", default-features = false, features = ["compiler"] }
21
+ tishlang_ui = { path = "../tish_ui", version = ">=0.1", default-features = false, features = ["compiler"] }
22
22
  serde_json = "1.0"
23
23
 
24
24
  [dev-dependencies]
@@ -994,6 +994,7 @@ pub fn string_search_regex(s: &Value, regexp: &Value) -> Value {
994
994
  }
995
995
  }
996
996
  Value::String(pattern) => {
997
+
997
998
  match tishlang_core::TishRegExp::new(pattern, "") {
998
999
  Ok(re) => match re.regex.find(input) {
999
1000
  Ok(Some(m)) => {
@@ -1008,4 +1009,3 @@ pub fn string_search_regex(s: &Value, regexp: &Value) -> Value {
1008
1009
  _ => Value::Number(-1.0),
1009
1010
  }
1010
1011
  }
1011
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tishlang/tish",
3
- "version": "1.0.34",
3
+ "version": "1.1.2",
4
4
  "description": "Tish - minimal TS/JS-compatible language. Run, REPL, compile to native.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
Binary file