thinkinglanguage 0.3.1 → 0.3.5
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/README.md +60 -0
- package/install.js +1 -1
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# ThinkingLanguage
|
|
2
|
+
|
|
3
|
+
A purpose-built language for Data Engineering & AI.
|
|
4
|
+
|
|
5
|
+
> **Try it in your browser — no install:** [tl.thinkingdbx.com](https://tl.thinkingdbx.com)
|
|
6
|
+
|
|
7
|
+
This npm package installs the `tl` CLI binary by downloading the appropriate prebuilt release for your platform from [GitHub Releases](https://github.com/mplusm/thinkinglanguage/releases).
|
|
8
|
+
|
|
9
|
+
## Highlights
|
|
10
|
+
|
|
11
|
+
- **Native tables** — columnar data on Apache Arrow / DataFusion with pipe-based transforms
|
|
12
|
+
- **Data connectors (read & write)** — PostgreSQL, MySQL, Redshift, Snowflake, BigQuery, Databricks, ClickHouse, MongoDB, SQLite, DuckDB, S3, and Apache Iceberg
|
|
13
|
+
- **AI/ML built-in** — tensors, model training, ONNX inference, embeddings, LLM APIs, AI agents with tool-use, and MCP client/server
|
|
14
|
+
- **Streaming & pipelines** — ETL/ELT constructs, windowed streams, Kafka
|
|
15
|
+
- **Gradual typing** — optional annotations, generics, traits, pattern matching, `Result`/`Option` with `?`
|
|
16
|
+
- **Ownership semantics** — pipe-as-move, `.clone()`, read-only `&ref`, use-after-move detection
|
|
17
|
+
- **Multiple backends** — bytecode VM (default), LLVM AOT native compilation, WASM browser target
|
|
18
|
+
- **Rich tooling** — LSP server, VS Code extension, formatter, linter, doc generator, package manager, REPL
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx thinkinglanguage --help
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Or install globally:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm install -g thinkinglanguage
|
|
30
|
+
tl --help
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Supported platforms
|
|
34
|
+
|
|
35
|
+
- Linux x86_64
|
|
36
|
+
- macOS arm64 (Apple Silicon)
|
|
37
|
+
- Windows x86_64
|
|
38
|
+
|
|
39
|
+
## Quick example
|
|
40
|
+
|
|
41
|
+
```tl
|
|
42
|
+
let users = read_csv("users.csv")
|
|
43
|
+
|
|
44
|
+
users
|
|
45
|
+
|> filter(age > 30)
|
|
46
|
+
|> aggregate(by: department, count: count(), avg_age: avg(age))
|
|
47
|
+
|> sort("count", "desc")
|
|
48
|
+
|> show()
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Links
|
|
52
|
+
|
|
53
|
+
- [Playground](https://tl.thinkingdbx.com) — run ThinkingLanguage in your browser
|
|
54
|
+
- [Repository](https://github.com/mplusm/thinkinglanguage)
|
|
55
|
+
- [Documentation](https://github.com/mplusm/thinkinglanguage/tree/main/docs)
|
|
56
|
+
- [Website](https://thinkingdbx.com)
|
|
57
|
+
|
|
58
|
+
## License
|
|
59
|
+
|
|
60
|
+
Apache-2.0
|
package/install.js
CHANGED
|
@@ -8,7 +8,7 @@ const https = require("https");
|
|
|
8
8
|
const os = require("os");
|
|
9
9
|
const zlib = require("zlib");
|
|
10
10
|
|
|
11
|
-
const RELEASE_VERSION = "v0.3.
|
|
11
|
+
const RELEASE_VERSION = "v0.3.2";
|
|
12
12
|
const REPO = "mplusm/thinkinglanguage";
|
|
13
13
|
const NATIVE_DIR = path.join(__dirname, "native");
|
|
14
14
|
const BIN_PATH = path.join(NATIVE_DIR, os.platform() === "win32" ? "tl.exe" : "tl");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "thinkinglanguage",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "A purpose-built language for Data Engineering & AI",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"bin/",
|
|
26
|
-
"install.js"
|
|
26
|
+
"install.js",
|
|
27
|
+
"README.md"
|
|
27
28
|
]
|
|
28
29
|
}
|