Skip to content

lkujaw/felix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alire

Felix

Felix is an X/Open Native Language System library for Ada (1995). With it, you can write code like the following:

Put (Hello, Text & "Hello, world! π = " & Ada.Numerics.Pi & New_Line);

and have it automatically translated at runtime. For example, loading a catalog that contains the above message translated into Greek

1 "Γεια σου, κόσμε! π = %1$Lf\n"

will yield the output

Γεια σου, κόσμε! π = 3.141593

For more programming examples, see the examples directory.

Build Instructions

Alire

To simply compile the Felix library (libnlsa), run alr get -b felix.

For GPRBuild-based projects, Alire can instead automatically integrate Felix by running alr with felix within the root of the project.

The examples are not available via the Alire package at this time.

NMAKE

First, please install the Ada-supporting AST toolkit. Then, from the root of the cloned Felix repository, run nmake or nmake install. The library and examples will be built automatically.