SIMPLE (Simple Intelligent and Modular Programming Language and Environment)
What is SIMPLE?
It is a plain and innovative, interpreted programming language with multiple paradigms, which is
- Easy to learn
- Embeddable in C/C++ projects
- Small and Fast
- Object-Oriented
- Functional
- Portable to various Operating Systems including
- Windows
- macOS
- Linux
- Unix Distros
Why SIMPLE?
- I am very interested in how things work.
- I wanted to build a programming language
- It had to be one that was easy to learn, and so intuitiveness was a major factor it its design.
- It had to be easy to read and yet, concise enough to not be a bore.
“Hello World” in SIMPLE
It is traditional to begin introduction to any language with a program that displays “Hello World”. Here is a sample of such a program in SIMPLE:
block main()
display "Hello World"
See how the keyword block is used to declare functions in SIMPLE?
Main function is Optional
Wait, what??? Yes, you read that right. If no main function is specified, the program executes from top to bottom, so the “Hello World” program can be rewritten as:
display "Hello World"
What else can SIMPLE do?
- Object Oriented Programming
- Functional Programming
- Polymorphism
- Intelligent Garbage Collector
- Weak and Dynamic Typing
- Portable
- Main Function (Optional)
- Index starts from 0 or 1 (Experimental)
- Package Management
- Multi-line literal
- Error-handling
- Run-time code execution
- Case sensitive and insensitive
- Single Inheritance
- Extensible and Pluggable with C programs
- No explicit end of statement required (semi-colons, dots or NEWLINE are optional)
- Written in ANSI C
Show us some code!!!
The code for SIMPLE is completely open source and lives on GitHub.
How can I contribute?
- There’s a lot of work to be done to get this ready for people to use everyday. If you can’t wait, and want to try it out, we’ll be releasing a guide for getting started soon.
Its standard modules is also very much in the works and lives here.
You can join the newly created slack community Simple Slack
Thanks to mykeels Original Author of the article