@misterscan/sesi 1.1.1 → 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/README.md +19 -15
- package/bin/sesi.js +3 -3
- package/dist/sesi.bundled.js +54585 -0
- package/docs/QUICKSTART.md +12 -33
- package/docs/README.md +2 -26
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -17,30 +17,34 @@
|
|
|
17
17
|
|
|
18
18
|
**Sesi** is a high-performance **Systems Language** designed for building resilient, stateful applications. It provides first-class primitives for process management, filesystem orchestration, and integrated reasoning—enabling developers to build complex logic with a fraction of the boilerplate required by traditional languages.
|
|
19
19
|
|
|
20
|
-
##
|
|
21
|
-
|
|
22
|
-
# Global Installation (Recommended)
|
|
20
|
+
## Installation
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
You can install Sesi in three ways:
|
|
25
23
|
|
|
24
|
+
### 1. Global Installation via npm (Recommended)
|
|
25
|
+
If you have Node.js installed, download Sesi directly from the npm registry:
|
|
26
26
|
```bash
|
|
27
|
-
|
|
28
|
-
cd sesi-programming-lang
|
|
29
|
-
```
|
|
30
|
-
You'll need a [Gemini API Key](https://aistudio.google.com/app/apikey). Create a `.env` file referencing your key:
|
|
31
|
-
|
|
32
|
-
```env
|
|
33
|
-
GEMINI_API_KEY="AIzaSy..."
|
|
27
|
+
npm install -g sesi
|
|
34
28
|
```
|
|
35
29
|
|
|
36
|
-
|
|
30
|
+
### 2. Standalone Executables
|
|
31
|
+
Don't want to install Node.js? Download the standalone executables bundled for Windows, Mac, and Linux directly from the [Releases page](https://github.com/Misterscan/Sesi/releases). Drop the executable in your system PATH and you're good to go!
|
|
37
32
|
|
|
33
|
+
### 3. Build from Source (For contributors)
|
|
38
34
|
```bash
|
|
39
|
-
|
|
35
|
+
git clone https://github.com/Misterscan/Sesi.git
|
|
36
|
+
cd Sesi
|
|
40
37
|
npm install
|
|
38
|
+
npm run build
|
|
39
|
+
npm install -g . # Unlock the `sesi` command locally
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Quick Start
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
You'll need a [Gemini API Key](https://aistudio.google.com/app/apikey) for the reasoning features. Create a `.env` file referencing your key where you run your scripts:
|
|
45
|
+
|
|
46
|
+
```env
|
|
47
|
+
GEMINI_API_KEY="AIzaSy..."
|
|
44
48
|
```
|
|
45
49
|
|
|
46
50
|
Then run any program directly:
|
package/bin/sesi.js
CHANGED
|
@@ -7,7 +7,7 @@ const args = process.argv.slice(2);
|
|
|
7
7
|
|
|
8
8
|
if (args.length === 0) {
|
|
9
9
|
console.log(`
|
|
10
|
-
Sesi Programming Language v1.1.
|
|
10
|
+
Sesi Programming Language v1.1.2
|
|
11
11
|
|
|
12
12
|
Usage:
|
|
13
13
|
sesi <file> Run a Sesi program
|
|
@@ -22,7 +22,7 @@ Examples:
|
|
|
22
22
|
|
|
23
23
|
if (args[0] === '--help' || args[0] === '-h') {
|
|
24
24
|
console.log(`
|
|
25
|
-
Sesi Programming Language v1.1.
|
|
25
|
+
Sesi Programming Language v1.1.2
|
|
26
26
|
|
|
27
27
|
Usage:
|
|
28
28
|
sesi <file> Run a Sesi program
|
|
@@ -39,7 +39,7 @@ Examples:
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
if (args[0] === '--version') {
|
|
42
|
-
console.log('Sesi v1.1.
|
|
42
|
+
console.log('Sesi v1.1.2');
|
|
43
43
|
process.exit(0);
|
|
44
44
|
}
|
|
45
45
|
|