Very briefly, PineDL is an interpreted, dynamically typed, object oriented, imperative programming language.
It was inspired by several programming languages, although the influences of Java, C#, JavaScript and Lua should be the most noticeable.
And what good is a language without a "Hello, World!" program?
function main() {
//This is a comment
console.writeline("Hello, World!");
}
As you can see, it is very similar to other languages.But of course, each new language must answer the same question "Why do we need yet another programming language?"
If you look into existent dynamically typed programming languages, you will notice none of them offers exactly what PineDL intends to have.
Perhaps the syntax doesn't match the good old {;} pattern, or maybe full object oriented programming with access modifiers isn't available(JavaScript, for instance).
PineDL intends to pick the "good parts" of many languages to make a better one.
Note, however, that PineDL brings some interesting new concepts that haven't been mainstream so far, including multiple(even named!) returns and a "protected" access modifier that doesn't suck!
PineDL needs essentially two components:
- The compiler - pinec;
- The virtual machine - pinevm.
Neither is complete yet.
Feel free to get the Mercurial source code and to read PineDL's wiki on the google code page:
http://code.google.com/p/pinedl/
No comments:
Post a Comment