|
Felix language |
|
Felix is a modern statically typed, modular programming language which targets shared libraries rather than programs. It features automatic generation of event driven, cooperatively multitasked programs written in algorithmic style. It is hybrid functional, procedural and object oriented system |
|
Felix generates C++ which is then built into a
shared library and dynamically loaded by a client written
architectural framework, which is also responsible for
feeding an appropriate Felix coroutine messages. |
|
Here is an example of a C++ binding. type int = "int"; |
|
Symbols are exported by the export statement. Function, procedures, and types can be exported. Note that types must be enclosed in brackets, because unfortunately ’as’ is a keyword used in recursive type expressions. export fun add of (int * int) as
"add_int"; |
|
*.flx are Felix input files std.flx is the standard library. |
|
1.1.1 |
|
felix(1) for a language introduction and man page
index |
|
See http://felix.sourceforge.net |
|
John Maxwell Skaller, mailto:skaller@users.sourceforge.net |