|Rafal Kupiec c940224d21 Tower of Hanoi test.||1 month ago|
|.github||5 months ago|
|.vscode||10 months ago|
|engine||1 month ago|
|include||1 month ago|
|modules||2 months ago|
|sapi/cli||7 months ago|
|tests||1 month ago|
|.build.yml||1 month ago|
|COPYING||1 year ago|
|Makefile||7 months ago|
|README.md||1 year ago|
Aer (/ɛə/ from Latin: aer, meaning air) is a lightweight, OpenSource, general-purpose, object-oriented scripting programming language suited also for web development as well as embedded environments. It implements a highly-efficient bytecode compiler and a virtual machine. The term Aer is used interchangeably with AerScript. Its syntax draws upon C++, C#, Java and PHP.
Aer is the ideal language interpreter for writing enhanced web applications like blog, CMS, search engine, etc. or embedded solutions with dynamic web interfaces like routers, set-top-boxes, or smart home solutions. Aer Interpreter is based on PH7 Engine and thus it is 100% hand-coded, written in pure C software, that compiles unmodified and runs on any platform including restricted embedded device with a C compiler.
The core syntax of Aer language is similar to that of other C-style languages such as C++, C#, Java or PHP. In particular:
Full Aer Specification can be found on the Wiki Pages.
Despite, that Aer syntax draws among others upon PHP, it is not fully compatible with it. Aer is a modern, pure Object-Oriented Language. The distinctive features and powerful extensions to the PHP programming language are:
Unless most scripting and programming languages, Aer have standardized the size of an integer and is always stored in 8 bytes regardless of the host environment. Because there is no cross-platform way to specify 64-bit integer types Aer includes typedefs for 64-bit signed integers. Thanks to that, integers can store values between -9223372036854775808 and +9223372036854775807 inclusive, both on 32-bit and on 64-bit host OS.
Aer has builtin native support for UTF-8 characters. That is, you are not restricted to use only plain-English to name variables or methods. Any UTF-8 encoded natural language can be used without the need for ICU or any other internationalization package.
The reason why performance rocks under AerScript and its PH7 Engine relies in the fact that is a hand-coded project. That is, Aer does not use any external tools to generate it’s lexical analyzer such as lex or flex, nor does not use LALR(1) parsers such as Bison or YACC to generate it’s parser. By acting so, the lexer and the parser are thread-safe, full re-entrant, generate better error message, takes less space in the source tree and are easier to maintain.
Aer is written in C. It compiles and runs unmodified on any platform including restricted embedded device with a C compiler. The PH7 Engine have been extensively tested under Windows and UNIX including Linux and FreeBSD. If you have successfully compiled and tested Aer in an exotic environment or a proprietary UNIX, please let us know.
Aer is a multi-platform software, that can be built on any Operating System. On Unix-like. macOS and Cygwin it is as easy as to fetch the source code and issue single command:
Above command will build a Aer interpreter with all its SAPI and modules with debug information or basic release optimization, depending on the chosen option. All object files produced by compiler and binaries, produced by linker will appear in ./build/ directory.
On Windows, it is required to install MingW32 or MingW64 to build the Aer Interpreter using Makefile. However, it is also possible to use other C compiler, especially MSVC.
While doing our best, we know there are still a lot of obscure bugs in AerScript. To help us make Aer the stable and solid product we want it to be, we need bug reports and bug fixes. If you can’t fix a bug yourself and submit a fix for it, try to report an as detailed report. When reporting a bug, you should include all information that will help us understand what’s wrong, what you expected to happen and how to repeat the bad behavior. You therefore need to tell us:
Aer and the PH7 Engine are OpenSource projects. That is, the complete source code of the engine, interpreter, language specification, the official documentation and related utilities are available to download. Aer is licensed under the GNU General Public License v3.0 with a permission of Symisc Systems to redistribute PH7 Engine under the GPLv3.