Just over a year ago I wrote the post entitled Yet Another Programming Language. That particular project hasn't quite been finished yet. However, I have written a very small execution engine in Java named Flores.
Flores has the following features:
- One data type - String. Well, two if you count the singleton
null. - The
whileoperator, complete withcontinueandbreak. - The
ifoperator, complete withelse. - The
=operator. - All functions are defined externally in Java as static methods. These have to be added to a Flores engine object at Java runtime.
- No functions by default. The developer needs to add them.
This may look like an odd features list, but there is method in the madness. I have often needed a small scripting lanaguage with one or more of the following features:
- Security. I want total control over a script's access to the outside world. With Flores, if I don't explicitly add a function, it's not there.
- Maintainability. At 731 lines, including comments, there can only be so many bugs.
- Simplicity. I don't want tail recursion or co-routines. When I say simple, I really mean it.
- Licensing. I need a license that's business friendly, and for that, I've always found the zlib/libpng License reliable.
Flores is available here. If you have some of the same criteria that I do, hopefully you'll find it useful.
