@tishlang/tish 1.0.16 → 1.0.18
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 +1 -0
- package/crates/js_to_tish/Cargo.toml +1 -1
- package/crates/tish/Cargo.toml +16 -16
- package/crates/tish_builtins/Cargo.toml +1 -1
- package/crates/tish_bytecode/Cargo.toml +6 -6
- package/crates/tish_compile/Cargo.toml +3 -3
- package/crates/tish_compile_js/Cargo.toml +5 -6
- package/crates/tish_compiler_wasm/Cargo.toml +5 -5
- package/crates/tish_cranelift/Cargo.toml +3 -3
- package/crates/tish_cranelift_runtime/Cargo.toml +3 -3
- package/crates/tish_eval/Cargo.toml +4 -4
- package/crates/tish_fmt/Cargo.toml +2 -2
- package/crates/tish_lint/Cargo.toml +2 -2
- package/crates/tish_llvm/Cargo.toml +4 -4
- package/crates/tish_lsp/Cargo.toml +4 -4
- package/crates/tish_native/Cargo.toml +7 -7
- package/crates/tish_opt/Cargo.toml +2 -2
- package/crates/tish_parser/Cargo.toml +2 -2
- package/crates/tish_runtime/Cargo.toml +2 -2
- package/crates/tish_vm/Cargo.toml +6 -6
- package/crates/tish_wasm/Cargo.toml +5 -5
- package/crates/tish_wasm_runtime/Cargo.toml +2 -2
- package/package.json +1 -1
- package/platform/darwin-arm64/tish +0 -0
- package/platform/darwin-x64/tish +0 -0
- package/platform/linux-arm64/tish +0 -0
- package/platform/linux-x64/tish +0 -0
- package/platform/win32-x64/tish.exe +0 -0
package/Cargo.toml
CHANGED
package/crates/tish/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "tishlang"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.18"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
description = "Tish CLI - run, REPL, compile to native"
|
|
6
6
|
license-file = { workspace = true }
|
|
@@ -23,21 +23,21 @@ regex = ["tishlang_eval/regex", "tishlang_runtime/regex", "tishlang_compile/rege
|
|
|
23
23
|
ws = ["tishlang_eval/ws", "tishlang_runtime/ws", "tishlang_compile/ws", "tishlang_vm/ws"]
|
|
24
24
|
[dependencies]
|
|
25
25
|
rustyline = { version = "17", features = ["with-file-history"] }
|
|
26
|
-
tishlang_lexer = { path = "../tish_lexer" }
|
|
27
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
28
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
29
|
-
tishlang_eval = { path = "../tish_eval" }
|
|
30
|
-
tishlang_compile = { path = "../tish_compile" }
|
|
31
|
-
tishlang_compile_js = { path = "../tish_compile_js" }
|
|
32
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
33
|
-
tishlang_opt = { path = "../tish_opt" }
|
|
34
|
-
tishlang_vm = { path = "../tish_vm" }
|
|
35
|
-
tishlang_native = { path = "../tish_native" }
|
|
36
|
-
tishlang_llvm = { path = "../tish_llvm" }
|
|
37
|
-
tishlang_wasm = { path = "../tish_wasm" }
|
|
38
|
-
tishlang_runtime = { path = "../tish_runtime" }
|
|
39
|
-
tishlang_core = { path = "../tish_core" }
|
|
40
|
-
tishlang_js_to_tish = { path = "../js_to_tish" }
|
|
26
|
+
tishlang_lexer = { path = "../tish_lexer", version = ">=0.1" }
|
|
27
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
28
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
29
|
+
tishlang_eval = { path = "../tish_eval", version = ">=0.1" }
|
|
30
|
+
tishlang_compile = { path = "../tish_compile", version = ">=0.1" }
|
|
31
|
+
tishlang_compile_js = { path = "../tish_compile_js", version = ">=0.1" }
|
|
32
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
33
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
34
|
+
tishlang_vm = { path = "../tish_vm", version = ">=0.1" }
|
|
35
|
+
tishlang_native = { path = "../tish_native", version = ">=0.1" }
|
|
36
|
+
tishlang_llvm = { path = "../tish_llvm", version = ">=0.1" }
|
|
37
|
+
tishlang_wasm = { path = "../tish_wasm", version = ">=0.1" }
|
|
38
|
+
tishlang_runtime = { path = "../tish_runtime", version = ">=0.1" }
|
|
39
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
40
|
+
tishlang_js_to_tish = { path = "../js_to_tish", version = ">=0.1" }
|
|
41
41
|
clap = { version = "4.6.0", features = ["derive"] }
|
|
42
42
|
|
|
43
43
|
[dev-dependencies]
|
|
@@ -7,11 +7,11 @@ description = "Bytecode compiler for Tish (AST → bytecode)"
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
11
|
-
tishlang_core = { path = "../tish_core" }
|
|
10
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
11
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
12
12
|
|
|
13
13
|
[dev-dependencies]
|
|
14
|
-
tishlang_compile = { path = "../tish_compile" }
|
|
15
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
16
|
-
tishlang_opt = { path = "../tish_opt" }
|
|
17
|
-
tishlang_vm = { path = "../tish_vm" }
|
|
14
|
+
tishlang_compile = { path = "../tish_compile", version = ">=0.1" }
|
|
15
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
16
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
17
|
+
tishlang_vm = { path = "../tish_vm", version = ">=0.1" }
|
|
@@ -15,9 +15,9 @@ regex = []
|
|
|
15
15
|
ws = []
|
|
16
16
|
|
|
17
17
|
[dependencies]
|
|
18
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
19
|
-
tishlang_opt = { path = "../tish_opt" }
|
|
20
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
18
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
19
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
20
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
21
21
|
serde_json = "1.0"
|
|
22
22
|
|
|
23
23
|
[dev-dependencies]
|
|
@@ -10,9 +10,8 @@ repository = { workspace = true }
|
|
|
10
10
|
default = []
|
|
11
11
|
|
|
12
12
|
[dependencies]
|
|
13
|
-
tishlang_jsx_web = { path = "../tish_jsx_web" }
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
13
|
+
tishlang_jsx_web = { path = "../tish_jsx_web", version = ">=0.1" }
|
|
14
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
15
|
+
tishlang_compile = { path = "../tish_compile", version = ">=0.1" }
|
|
16
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
17
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
@@ -14,8 +14,8 @@ base64 = "0.22"
|
|
|
14
14
|
serde_json = "1.0"
|
|
15
15
|
wasm-bindgen = "0.2"
|
|
16
16
|
|
|
17
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
18
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
19
|
-
tishlang_compile_js = { path = "../tish_compile_js" }
|
|
20
|
-
tishlang_opt = { path = "../tish_opt" }
|
|
21
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
17
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
18
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
19
|
+
tishlang_compile_js = { path = "../tish_compile_js", version = ">=0.1" }
|
|
20
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
21
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
@@ -7,7 +7,7 @@ description = "Bytecode to native via Cranelift"
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_build_utils = { path = "../tish_build_utils" }
|
|
10
|
+
tishlang_build_utils = { path = "../tish_build_utils", version = ">=0.1" }
|
|
11
11
|
cranelift = "0.130"
|
|
12
12
|
cranelift-codegen = "0.130"
|
|
13
13
|
cranelift-frontend = "0.130"
|
|
@@ -15,5 +15,5 @@ cranelift-module = "0.130"
|
|
|
15
15
|
cranelift-native = "0.130"
|
|
16
16
|
cranelift-object = "0.130"
|
|
17
17
|
target-lexicon = "0.13"
|
|
18
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
19
|
-
tishlang_core = { path = "../tish_core" }
|
|
18
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
19
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
@@ -16,6 +16,6 @@ http = ["tishlang_vm/http"]
|
|
|
16
16
|
crate-type = ["staticlib", "rlib"]
|
|
17
17
|
|
|
18
18
|
[dependencies]
|
|
19
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
20
|
-
tishlang_vm = { path = "../tish_vm" }
|
|
21
|
-
tishlang_core = { path = "../tish_core" }
|
|
19
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
20
|
+
tishlang_vm = { path = "../tish_vm", version = ">=0.1" }
|
|
21
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
@@ -17,12 +17,12 @@ ws = ["dep:tishlang_runtime", "tishlang_runtime/ws"]
|
|
|
17
17
|
|
|
18
18
|
[dependencies]
|
|
19
19
|
rand = "0.10.0"
|
|
20
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
21
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
22
|
-
tishlang_core = { path = "../tish_core" }
|
|
20
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
21
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
22
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
23
23
|
reqwest = { version = "0.13.2", default-features = false, features = ["rustls", "json", "stream"], optional = true }
|
|
24
24
|
futures = { version = "0.3.32", optional = true }
|
|
25
25
|
tiny_http = { version = "0.12.0", optional = true }
|
|
26
26
|
fancy-regex = { version = "0.17.0", optional = true }
|
|
27
27
|
tokio = { version = "1.50.0", features = ["rt-multi-thread", "time", "sync"], optional = true }
|
|
28
|
-
tishlang_runtime = { path = "../tish_runtime", optional = true }
|
|
28
|
+
tishlang_runtime = { path = "../tish_runtime", version = ">=0.1", optional = true }
|
|
@@ -12,5 +12,5 @@ path = "src/bin/tish-fmt.rs"
|
|
|
12
12
|
|
|
13
13
|
[dependencies]
|
|
14
14
|
clap = { version = "4.6.0", features = ["derive"] }
|
|
15
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
16
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
15
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
16
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
@@ -13,5 +13,5 @@ path = "src/bin/tish-lint.rs"
|
|
|
13
13
|
[dependencies]
|
|
14
14
|
clap = { version = "4.6.0", features = ["derive"] }
|
|
15
15
|
walkdir = "2"
|
|
16
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
17
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
16
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
17
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
@@ -7,7 +7,7 @@ description = "LLVM backend for Tish (bytecode → native via clang/LLVM)"
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
11
|
-
tishlang_compile = { path = "../tish_compile" }
|
|
12
|
-
tishlang_cranelift = { path = "../tish_cranelift" }
|
|
13
|
-
tishlang_build_utils = { path = "../tish_build_utils" }
|
|
10
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
11
|
+
tishlang_compile = { path = "../tish_compile", version = ">=0.1" }
|
|
12
|
+
tishlang_cranelift = { path = "../tish_cranelift", version = ">=0.1" }
|
|
13
|
+
tishlang_build_utils = { path = "../tish_build_utils", version = ">=0.1" }
|
|
@@ -11,10 +11,10 @@ name = "tish-lsp"
|
|
|
11
11
|
path = "src/main.rs"
|
|
12
12
|
|
|
13
13
|
[dependencies]
|
|
14
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
15
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
16
|
-
tishlang_fmt = { path = "../tish_fmt" }
|
|
17
|
-
tishlang_lint = { path = "../tish_lint" }
|
|
14
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
15
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
16
|
+
tishlang_fmt = { path = "../tish_fmt", version = ">=0.1" }
|
|
17
|
+
tishlang_lint = { path = "../tish_lint", version = ">=0.1" }
|
|
18
18
|
tower-lsp = "0.20"
|
|
19
19
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std"] }
|
|
20
20
|
serde_json = "1"
|
|
@@ -7,10 +7,10 @@ description = "Native code generation backend for Tish (Cranelift / direct compi
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_build_utils = { path = "../tish_build_utils" }
|
|
11
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
12
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
13
|
-
tishlang_compile = { path = "../tish_compile" }
|
|
14
|
-
tishlang_cranelift = { path = "../tish_cranelift" }
|
|
15
|
-
tishlang_llvm = { path = "../tish_llvm" }
|
|
16
|
-
tishlang_opt = { path = "../tish_opt" }
|
|
10
|
+
tishlang_build_utils = { path = "../tish_build_utils", version = ">=0.1" }
|
|
11
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
12
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
13
|
+
tishlang_compile = { path = "../tish_compile", version = ">=0.1" }
|
|
14
|
+
tishlang_cranelift = { path = "../tish_cranelift", version = ">=0.1" }
|
|
15
|
+
tishlang_llvm = { path = "../tish_llvm", version = ">=0.1" }
|
|
16
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
@@ -7,7 +7,7 @@ description = "AST optimization pass for Tish (constant folding, short-circuit,
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
10
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
11
11
|
|
|
12
12
|
[dev-dependencies]
|
|
13
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
13
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
@@ -7,5 +7,5 @@ description = "Tish recursive descent parser"
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_lexer = { path = "../tish_lexer" }
|
|
11
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
10
|
+
tishlang_lexer = { path = "../tish_lexer", version = ">=0.1" }
|
|
11
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
@@ -16,8 +16,8 @@ regex = ["tishlang_core/regex"]
|
|
|
16
16
|
ws = ["tokio", "tokio/net", "tokio/io-util", "tokio-tungstenite", "futures-util", "lazy_static"]
|
|
17
17
|
|
|
18
18
|
[dependencies]
|
|
19
|
-
tishlang_core = { path = "../tish_core" }
|
|
20
|
-
tishlang_builtins = { path = "../tish_builtins" }
|
|
19
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
20
|
+
tishlang_builtins = { path = "../tish_builtins", version = ">=0.1" }
|
|
21
21
|
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros", "time", "sync"], optional = true }
|
|
22
22
|
reqwest = { version = "0.13.2", default-features = false, features = ["rustls", "json", "stream"], optional = true }
|
|
23
23
|
futures = { version = "0.3.32", optional = true }
|
|
@@ -18,16 +18,16 @@ http = ["tishlang_runtime/http"]
|
|
|
18
18
|
ws = ["tishlang_runtime/ws"]
|
|
19
19
|
|
|
20
20
|
[dependencies]
|
|
21
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
22
|
-
tishlang_builtins = { path = "../tish_builtins" }
|
|
23
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
24
|
-
tishlang_core = { path = "../tish_core" }
|
|
25
|
-
tishlang_runtime = { path = "../tish_runtime", optional = true }
|
|
21
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
22
|
+
tishlang_builtins = { path = "../tish_builtins", version = ">=0.1" }
|
|
23
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
24
|
+
tishlang_core = { path = "../tish_core", version = ">=0.1" }
|
|
25
|
+
tishlang_runtime = { path = "../tish_runtime", version = ">=0.1", optional = true }
|
|
26
26
|
rand = "0.10"
|
|
27
27
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
28
28
|
|
|
29
29
|
[dev-dependencies]
|
|
30
|
-
tishlang_parser = { path = "../tish_parser" }
|
|
30
|
+
tishlang_parser = { path = "../tish_parser", version = ">=0.1" }
|
|
31
31
|
|
|
32
32
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
33
33
|
getrandom = { version = "0.4", features = ["wasm_js"] }
|
|
@@ -7,9 +7,9 @@ description = "WebAssembly backend for Tish - compiles to real .wasm"
|
|
|
7
7
|
license-file = { workspace = true }
|
|
8
8
|
repository = { workspace = true }
|
|
9
9
|
[dependencies]
|
|
10
|
-
tishlang_build_utils = { path = "../tish_build_utils" }
|
|
11
|
-
tishlang_ast = { path = "../tish_ast" }
|
|
12
|
-
tishlang_compile = { path = "../tish_compile" }
|
|
13
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
14
|
-
tishlang_opt = { path = "../tish_opt" }
|
|
10
|
+
tishlang_build_utils = { path = "../tish_build_utils", version = ">=0.1" }
|
|
11
|
+
tishlang_ast = { path = "../tish_ast", version = ">=0.1" }
|
|
12
|
+
tishlang_compile = { path = "../tish_compile", version = ">=0.1" }
|
|
13
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
14
|
+
tishlang_opt = { path = "../tish_opt", version = ">=0.1" }
|
|
15
15
|
base64 = "0.22"
|
|
@@ -18,8 +18,8 @@ process = ["tishlang_vm/process"]
|
|
|
18
18
|
http = ["tishlang_vm/http"]
|
|
19
19
|
|
|
20
20
|
[dependencies]
|
|
21
|
-
tishlang_bytecode = { path = "../tish_bytecode" }
|
|
22
|
-
tishlang_vm = { path = "../tish_vm" }
|
|
21
|
+
tishlang_bytecode = { path = "../tish_bytecode", version = ">=0.1" }
|
|
22
|
+
tishlang_vm = { path = "../tish_vm", version = ">=0.1" }
|
|
23
23
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
24
24
|
|
|
25
25
|
# rand_core → getrandom 0.4 needs wasm_js on wasm32-unknown-unknown (browser VM build).
|
package/package.json
CHANGED
|
Binary file
|
package/platform/darwin-x64/tish
CHANGED
|
Binary file
|
|
Binary file
|
package/platform/linux-x64/tish
CHANGED
|
Binary file
|
|
Binary file
|