I am looking for an ECMAScript alternative to work as a scripting language for custom application logic. There are things I like about ECMA, especially the syntax for the newer spec(like AS3).
Unfortunately, the AS3 engine is not open source to be able to integrate in a project. I would like a scripting language that was designed for object oriented use.
Specifically, is there a language that has:
- Statically typed variables(optional)
- Classes, including public/private members
- Inheritance, including Interfaces
- Packages(optional)
- Clean syntax
- Must be able to interface as an internal scripting language for an application(like Javascript for a browser), can not be an external system call.
Things I would rather do without
- The messy ECMA
prototype
object
What languages that you know about fit this profile? I've had difficulty finding a quality scripting language that was designed for good object oriented design.