π Hi everyone!
Iβm excited to introduce ShiboScript, my lightweight and beginner-friendly scripting language built with β€οΈ for learning programming concepts and small-scale automation.
Developed by ShiboShreeRoy
π Why ShiboScript?
When learning programming for the first time, many beginners struggle with heavy syntax and overwhelming frameworks. ShiboScript was created to simplify that learning journey while still offering practical real-world features.
Itβs Python-powered under the hood, but it comes with its own intuitive syntax, built-in libraries, and even ethical hacking mini tools.
β¨ Key Features
β Simple & beginner-friendly syntax
β Variables, functions, and control structures
β Math, file I/O, and string operations
β Arrays, dictionaries, and OOP (classes & inheritance)
β Built-in REPL for interactive coding
β Image handling with PIL
β Mini-libraries for crypto, networking, random payloads, and OS commands
π‘ Example Syntax
Hello World:
print("Hello World!");
If-Else Example:
var x = 10;
if (x > 0) {
print("Positive");
} else {
print("Non-positive");
}
Loops:
for (i in range(1, 4)) {
print(i);
}
Functions:
func add(a, b) {
return a + b;
}
print(add(3, 4)); # 7
OOP Example:
class Dog {
func init(self, name) {
self.name = name;
}
func speak(self) {
print("Woof!");
}
}
var d = Dog("Buddy");
d.speak(); # Woof!
β‘ Ethical Hacking Mini Examples
Web request
var res = net.http_get("http://example.com");
print(res.text);
Hashing a password
var hash = crypto.sha256("secret");
print(hash);
Running system commands
var r = os.run_command("ls");
print(r.stdout);
π Mini Project: Todo Manager
ShiboScript also supports small real-world projects, like a Todo Manager using file storage.
append(tasks, "Learn ShiboScript");
print(tasks);
π οΈ Under the Hood
ShiboScript is powered by three main components:
Lexer β converts code into tokens
Parser β builds an Abstract Syntax Tree (AST)
Evaluator β executes expressions and statements
π Getting Started
Clone repo
git clone https://github.com/ShiboShreeRoy/ShiboScript.git
cd ShiboScript
Run REPL
python shiboscript.py
Run a script file
python shiboscript.py program.sp
π€ Contributing
ShiboScript is open-source, and contributions are always welcome.
You can:
Submit issues
Suggest new features
Create pull requests
π License
ShiboScript is licensed under the MIT License.
π‘ I created this project to help students, beginners, and automation enthusiasts explore programming in a fun, intuitive way.
π You can check it out here:
π GitHub Repository β ``
Shiboscript
π¨βπ» Developed by ShiboShreeRoy
Top comments (0)