Skip to content

Commit af00674

Browse files
committed
added auto install system
1 parent 7c3ded3 commit af00674

11 files changed

Lines changed: 1389 additions & 480 deletions

File tree

README.md

Lines changed: 2 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -86,79 +86,9 @@ For detailed installation with optional features, see the [Getting Started Guide
8686

8787
---
8888

89-
## ScriptIt — Scripting Language (v0.3.0)
89+
## ScriptIt — Scripting Language
9090

91-
**ScriptIt** is a dynamic scripting language built on top of Pythonic's `var` system. It features a clean, beginner-friendly syntax with powerful data structures, graph algorithms, and a full VS Code extension.
92-
93-
### Quick Start
94-
95-
```bash
96-
# Install everything (binary + VS Code extension)
97-
cd include/pythonic/REPL
98-
python3 install.py
99-
100-
# Interactive REPL
101-
scriptit
102-
103-
# Run a script
104-
scriptit myfile.sit
105-
106-
# Web notebook
107-
scriptit --notebook
108-
109-
# Color customizer
110-
scriptit --customize
111-
```
112-
113-
### Language Highlights
114-
115-
```python
116-
# Variables
117-
var name = "Alice"
118-
var age = 30
119-
let pi be 3.14159
120-
121-
# Functions
122-
fn greet(name):
123-
print("Hello,", name)
124-
;
125-
greet("World").
126-
127-
# Dict arrow literals
128-
var config = {"host" -> "localhost", "port" -> 8080}
129-
print(config.get("host"))
130-
131-
# Graph with arrow edges
132-
var g = graph(5)
133-
g.add_edge(0 -> 1, 1.5) # directed, weighted
134-
g.add_edge(1 <-> 2) # bidirectional
135-
g.add_edge(2 --- 3) # undirected
136-
print(g.bfs(0)) # [0, 1, 2, 3]
137-
print(g.get_shortest_path(0, 3))
138-
139-
# For loops
140-
for i in range(5):
141-
print(i)
142-
;
143-
```
144-
145-
### What's New in v0.3.0
146-
147-
- **Graph data structure**`graph()` constructor with 30+ methods (BFS, DFS, Dijkstra, topological sort, cycle detection, connected components, Bellman-Ford, Floyd-Warshall, Prim's MST, etc.)
148-
- **Arrow edge syntax**`A -> B` (directed), `A <-> B` (bidirectional), `A --- B` (undirected)
149-
- **Dict arrow literals**`{"key" -> value}` for clean dictionary creation
150-
- **`--check` mode** — Parse-only diagnostics for the VS Code extension (no false positives from `input()`)
151-
- **VS Code extension** — Syntax highlighting for new operators, real-time error diagnostics, notebook support, color customizer
152-
- **286 tests** passing with zero regressions
153-
154-
### VS Code Extension Features
155-
156-
- Syntax highlighting with custom colors for all operators including `->`, `<->`, `---`
157-
- Real-time error diagnostics (parse-only, no false positives)
158-
- Notebook support (`.nsit` files)
159-
- Color customizer web app (`scriptit --customize`)
160-
- File icons for `.sit` and `.nsit` files
161-
- Snippets and keybindings (Ctrl+Shift+R to run)
91+
**ScriptIt** is a dynamic scripting language built on top of Pythonic's `var` system, with a full VS Code extension, notebook support, and color customizer. See the [ScriptIt Language Guide](include/pythonic/REPL/README.md) for full documentation.
16292

16393
---
16494

include/pythonic/REPL/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 📜 ScriptIt v2 — Language Guide
1+
# 📜 ScriptIt v0.3.0 — Language Guide
22

33
A dynamic scripting language powered by [pythonic](https://github.com/BenCaunt/pythonic)'s `var` type system. Write expressive scripts with strings, lists, sets, math, file I/O, functions, and more — all with a clean dot-terminated syntax.
44

141 KB
Binary file not shown.

include/pythonic/REPL/scriptit-vscode/color_customizer/customize.html

Lines changed: 272 additions & 148 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)