[ Prev ] [ Index ] [ Next ]

Portable Libraries

Created Friday 28 November 2008


The idea of portable library is to be able to use Lisaac-made libraries in other languages. Portable library would be an option to the main project.

If the project being built is a portable library, the compiler will generate the implementation for every public slot in this project. If private types are used (example INTEGER imported from private STDLIB), the compiler will guess the proper LLVM type, and if it can't will issue an error.

The compiler will be able to guess array types using the new syntax for array types defined in BLOCK and NATIVE ARRAY special syntax.

The compiler will also create an XML file describing the library. For each prototype, its slots. And for each slot, its parameters and the symbol name (which will be generated using the namespace).

See also

Backlinks: :Computer:Lisaac:Specs :Computer:Lisaac:Specs:Future Work:BLOCK and NATIVE ARRAY special syntax