SimplifiedScript is a powerful, user-friendly programming language specifically designed for AI programs to connect to networking systems and legally access data from online open-source databases. It features an intuitive syntax that makes it accessible even to those with minimal programming experience.
- π€ AI-Focused Design β Purpose-built for AI data acquisition and storage
- π Seamless API Integration β Built-in
fetch()with automatic JSON parsing - π File I/O Operations β
read()andwrite()data with simple commands - π‘οΈ Robust Error Handling β
try / catchblocks and comprehensive debugging - π Rich Data Types β Integers, floats, strings, booleans, arrays, and dictionaries
- π― Intuitive Syntax β Plain English commands for easy learning
- β‘ Fast Execution β Lightweight interpreter written in Python 3
git clone https://github.com/Infinite-Networker/SimiplifiedScript.git
cd SimiplifiedScript
# No external dependencies required β pure Python 3 standard library only
python interpreter.py --helppython interpreter.py my_program.sspython interpreter.py your_first_program.ssOr use the provided helper shell script:
chmod +x run_script.sh
./run_script.sh your_first_program.ssLaunch the REPL by running the interpreter with no arguments:
python interpreter.pyExample session:
SimplifiedScript REPL v1.0.0
Type 'exit()' or press Ctrl+C to quit.
>>> let name = "SimplifiedScript";
>>> print("Hello, " + name);
Hello, SimplifiedScript
>>> exit()
Goodbye!
# This is a commentlet name = "Developer";
let count = 42;
let pi = 3.14;
let active = true;print("Hello, " + name + "!");let sum = 10 + 5;
let msg = "Result: " + sum;if (count > 10) {
print("Greater than 10");
} else if (count == 10) {
print("Exactly 10");
} else {
print("Less than 10");
}let i = 0;
while (i < 5) {
print("i = " + i);
i = i + 1;
}func greet(name) {
return "Hello, " + name + "!";
}
print(greet("World"));let colors = ["red", "green", "blue"];
print(colors[0]); # redlet person = {"name": "Alice", "age": 30};
print(person["name"]); # Alicetry {
let data = fetch("https://api.example.com/data");
print("Response: " + data["key"]);
} catch (error) {
print("Failed to fetch: " + error);
}# Write
write("output.json", {"key": "value"});
# Read
let content = read("output.json");
print(content);try {
let result = fetch("https://api.example.com/data");
print(result["value"]);
} catch (err) {
print("Error: " + err);
}| File | Description |
|---|---|
hello_world.ss |
Your very first SimplifiedScript program |
your_first_program.ss |
Variables, comments, and string concatenation |
fetch_data_from_api.ss |
Live API call with fetch() and error handling |
file_operations.ss |
write() and read() with a JSON dictionary |
interactive_repl_demo.ss |
Demonstrates REPL-style interaction |
install_from_source.sh |
Shell script to clone and set up the project |
run_script.sh |
Shell script helper to run any .ss file |
interpreter.py |
The SimplifiedScript interpreter (entry point) |
| Category | Operators |
|---|---|
| Arithmetic | + - * / % |
| Comparison | == != < > <= >= |
| Logical | && || ! |
| Assignment | = |
| String concat | + (auto-converts numbers to strings) |
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
Built with β€οΈ by Cherry Computer Ltd.
