Jeebox is an extensible language for describing code, concepts and stories.
Jeebox Language Introduction
Here are some examples:
Jeebox has some really cool properties...
The most important thing, is that Jeebox is "extensible".
There are no keywords necessary to parse Jeebox. Not "Return" or "if" or "loop" or anything. And yet, it will sensibly parse such constructs.
Comments and lines
Comments are // and /**/, just like C++ comments.
Line endings are CR, LF, and comma! Commas and lines are interchangable. Even function calls in Jeebox can be expressed using lines to separate items.
Actually, even comments are considered end of line. This is nice, because it makes it impossible to make unreadable comments, like in C++ where you can put a comment in the middle of a line.
Want multiple statements on a single line? Sure, commas are lines, remember?
Strings and lists only!
An interesting, and exciting thing, is that Jeebox's abstract syntax tree (AST) is defined purely in terms of strings, and lists. Nothing else. This makes Jeebox easy to understand, process, and generate.
In Jeebox, an AST for
"a=(b+c)"would look like:
Jeebox is homo-iconic. Basically, Jeebox can describe itself, in terms of itself.
Heres an example of homoiconicity:
Another important thing, is that Jeebox's AST, can be expressed in XML, and read back from XML. The advantage of this, is to make Jeebox easily parsable by outside tools. Jeebox would convert the code to XML for you, the tools don't even have to parse Jeebox, just XML.
|• No semi-colons used to end lines like in C++.|
|• Extensibility relies on code structure, not inbuilt keywords. This enforces more consistent code.|
|• Comments end lines, stopping comment misuse.|
|• Define your own units |
|• Strings understand embedded code |
|• General focus on making Jeebox clean. So many small things were given attention that it needs it's own page to list them all.|
Jeebox is an expressive, sensible and powerful new language. Jeebox isn't just modern, Jeebox defines a new era.
The design is open, and easy to develop tools for.
By having zero inbuilt keywords, Jeebox becomes your own playground.
Next: Why not learn more about Jeebox ?