DEV Community

Cover image for πŸš€ Introducing ShiboScript – A Beginner-Friendly Scripting Language
Shiboshree Roy
Shiboshree Roy

Posted on

πŸš€ Introducing ShiboScript – A Beginner-Friendly Scripting Language

 πŸ‘‹ 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)