- Notifications
You must be signed in to change notification settings - Fork1
SimpleScript is a lightweight, beginner-friendly scripting language designed for learning and quick prototyping. It features simple syntax, built-in functions, and support for variables, control flow, arrays, and user input—perfect for education and experimentation.
License
ProgrammerKR/SimpleScript
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
SimpleScript is a lightweight, beginner-friendly scripting language designed to make programming accessible, intuitive, and fun. Whether you're new to coding or looking for a clean language for quick prototyping, SimpleScript offers a powerful set of features with a simple and readable syntax.
SimpleScript was created with the goal of making scripting easy to learn, easy to write, and easy to understand. It strips away the complexities of traditional programming languages, offering a clean and minimalistic syntax that gets out of your way so you can focus on logic and creativity.
It's perfect for:
- Students learning programming concepts
- Educators teaching control flow, logic, and scripting
- Developers looking for a fast way to prototype algorithms
- Anyone who wants to explore programming without boilerplate
SimpleScript includes everything you need to write functional and expressive code:
- Clean and simple syntax
- Variable declaration using
let - Control structures:
if,else,while,for - Logical and comparison operators:
and,or,==,!=,>,<, etc. - Input/output support with
inputandprint - Built-in array operations
- Function declarations and calls
- Begin/End block scoping
- Whitespace-insensitive formatting
- Support for basic data types: strings, numbers, booleans, arrays
let name = input("What's your name?")print "Hello, " + namelet total = 0for i = 1 to 5 total = total + iendprint "Total is: " + totalfunction greet(person) print "Hi, " + person + "!"endgreet(name)SimpleScript includes a core set of keywords:
let– Declare a variableprint– Output textinput– Prompt for user inputif,else,then,end– Conditional statementswhile,for,to,step– Looping constructsfunction,return,call– Defining and using functionsbegin,end– Define code blocksand,or,not– Logical operators
- Number: e.g.,
42,3.14 - String: e.g.,
"Hello" - Boolean:
true,false - Array:
[1, 2, 3] - Null:
null
- Arithmetic:
+,-,*,/,% - Comparison:
==,!=,<,>,<=,>= - Logical:
and,or,not - Assignment:
=
You can run SimpleScript directly in your browser—no installation required! Simply visit theSimpleScript Webpage and start writing code in the built-in editor.
The online interpreter will:
- Tokenize your code using a built-in lexer
- Parse and validate syntax using an internal parser
- Evaluate and execute using the SimpleScript interpreter
Full documentation is available in the/docs folder or at theSimpleScript Docs Page. Topics include:
- All keywords with usage examples
- Data types and type conversion
- Built-in functions and custom function creation
- Array manipulation and loops
- Error handling and debugging tips
Planned features for future versions:
- User-defined classes and objects
- File I/O support
- Better error messages with line numbers
- Extended standard library
- IDE integration and autocomplete
We welcome contributions of any kind!
- Submit bugs or feature requests via GitHub Issues
- Fork the project and create pull requests for new features
- Help write or improve documentation
- Share interesting SimpleScript programs with the community
SimpleScript is open-source under theMIT License.
Start scripting simply—start withSimpleScript
About
SimpleScript is a lightweight, beginner-friendly scripting language designed for learning and quick prototyping. It features simple syntax, built-in functions, and support for variables, control flow, arrays, and user input—perfect for education and experimentation.
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.