ELI version 0.3 has been released on August 10, 2015. In this new version, ELI system has been greatly improved by adding several useful functions for database systems. The debut of ELI Studio shows a preliminary, but productive IDE for developers, especially for beginners. Moreover, ELI Studio is a cross-platform version for Windows, Linux and MacOS.→ Download Page ←
The last stable ELI interpreter was released on November 30, 2013. At the time, it supported most of the functionality of the ISO APL standard. Moreover, we introduced dictionaries, tables and SQL-like statements to enhance ELI system. Compared with a compiled language, an interpreted language is more attractive to users by providing an interactive environment. Two tutorials have been released since the last update: <Programming with arrays> and <ELI for Kids>. Moreover, ELI primer and other documents also have been updated and can be found in online documents.
→ Download Page ←
Many new features are introduced in this newly released version; we also fixed several old bugs and made effort to improve the ELI system.
likeis similar to the classic database string pattern matching and regular expression search
'name.cpp' like '%.cpp' //1 'eli1.esf' like 'eli_.esf' //1 'eli23.esf' like 'eli_.esf' //0
~) checks the value of two variables, returns either same (1) or not (0). Usually, match is used in debugging programs to check the variable value.
PPcontrols the precision of the output of floating point
)timeis able to measure the one line execution time
with standard input from users
To output to afile, ELI provides
close which open and close a file handle respectively. With a
open, a file handle will be returned for further output. The syntax looks like C++'s stream output (
get imports data from 'text files' as lists. In each item of the list, it is one line string. On the other words, the size of the list is the number of rows in the designated file.
A table can be output by
write with four kinds of format support so far. They are
txt. The default format is
txt. The designated format is defined by the suffix of the output filename.
Note : The file name should be the same as the table's name.
|List||6||L||(`chen `wu;10 20)|
The main reason we introduce ELI studio is to offer a consistent release for cross-platform ELI system. Because in prior versions we only support GUI on Windows, people with Linux and Mac OS have to use command line input. In fact, popular Linux versions (i.e. Ubuntu) and Mac OS have an excellent GUI interface for users. With an integrated development environment (IDE), newbies have less stress to learn a new programming language.
The ELI Studio has two parts: main window and code editor. The main window is a terminal window which enables developers to test their code easily. Since ELI provides scripting facilities (eli script file, called
esf), a code editor is a good addition for developers to build and test scripts efficiently.
Inherited from previous ELI version on Windows, the main window accepts the basic layouts with normal six spaces ahead of an input line to clearly differentiate with the following line of system response. Also, multiple line editing (see example 1) is enabled.
There are some new features as follows.
Code Editor is an option for users to easily write and test code in ELI interpreter environment. It is designed for fast loading of scripts and line-by-line execution. Other than basic operations such as editing (i.e. load, save, undo and redo), it provides the following features for ELI developers.
)fload yourscriptin the main window if you have saved the scripts under the current workspace path.
&) are not accepted in interpreter input, this facility eases the work of saving scripts every time.
→ Download Page ←
© 2015, written by Hanfeng Chen