Projects / 2E Programming Language

2E Programming Language

2e is an experimental language designed to be as simple as possible, but still allow for all the standard programming functions (expression evaluation, flow control, functions, variables, and arrays, etc). The language flow control is handled via a C style conditional operator (expr ? expr2 : expr3) for if/else processing, and a variant iterative conditional (expr ?? expr2 : expr3) for looping. Parentheses are used for grouping throughout, and both built-in and user-defined functions are supported. The language itself is referred to as 2e, while the interpreter is called ee. The interpreter is designed to be used stand-alone, and it can also be easily embedded within another application.

Licenses
Operating Systems

Recent releases

  •  26 Dec 2006 18:28

    Release Notes: This release of the ee interpreter includes several new built-in string handling functions (strcpy, strcat, strins, printf, sprintf, fprintf, and strmatch). This should help make 2e more useful as a general purpose scripting language. Bitwise operators have been added (bitwise AND, OR, NOT, XOR, shift left, and shift right), and are similar to the C equivilants. Finally, the operator handler code has been overhauled, which results in a 350% to 500% increase in code execution performance.

    •  11 Dec 2006 16:55

      Release Notes: Several new functions were added to the built-in function library, including split() (for parsing text strings), getenv(), system(), readline(), and setlen(). The ability to retrieve command line arguments and to create various typed arrays was added. Previously, the default was to load up only general-purpose arrays; now you can define integer, character, or floating point arrays. The Web site has also been overhauled, so that it includes a more complete language tutorial and reference section.

      •  27 Nov 2006 04:24

        No changes have been submitted for this release.

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.