Difference between revisions of "Build your library"

From Liberty Eiffel Wiki
Jump to navigation Jump to search
m (s/LibertyEiffel/Liberty Eiffel/)
m (Copy editing)
Line 2: Line 2:
 
We're not going to give a course in architectural concepts here, but we'll give the details of how the Liberty Eiffel utilities can help you write high quality libraries.
 
We're not going to give a course in architectural concepts here, but we'll give the details of how the Liberty Eiffel utilities can help you write high quality libraries.
   
The simplest case is the case of a "100% Eiffel" library. In this case Liberty Eiffel provides its compiler and its [[Library interface|standard library]], which already contain a rich variety of features.
+
The simplest case is that of a "100% Eiffel" library. In this case Liberty Eiffel provides its compiler and its [[Library interface|standard library]], which already contain a rich variety of features.
   
 
Liberty Eiffel also provides a documentation utility: [[eiffeldoc|eiffeldoc]].
 
Liberty Eiffel also provides a documentation utility: [[eiffeldoc|eiffeldoc]].
   
In certain cases, a library must be able to interface with the underlying system, to get access to low level functions. One can imagine, for example, creating an audio library (sorry, these days one says "multimedia"), to make system calls to access the sound card...
+
In certain cases, a library must be able to interface with the underlying system, to get access to low level functions. One can imagine, for example, creating an audio library (sorry, these days one says "multimedia"), to make system calls to access the sound card.
   
Liberty Eiffel provides a powerful utility: [[plugins]]. You can also, even though it has been superseded, use an older mechanism, [[externals|externals]].
+
Liberty Eiffel provides a powerful utility: [[plugins]]. You can also use, even though it has been superseded, an older mechanism, [[externals|externals]].
   
 
There are also two other mechanisms: [[inlining|inlining]] and [[cecil]].
 
There are also two other mechanisms: [[inlining|inlining]] and [[cecil]].

Revision as of 12:46, 16 June 2016

We're not going to give a course in architectural concepts here, but we'll give the details of how the Liberty Eiffel utilities can help you write high quality libraries.

The simplest case is that of a "100% Eiffel" library. In this case Liberty Eiffel provides its compiler and its standard library, which already contain a rich variety of features.

Liberty Eiffel also provides a documentation utility: eiffeldoc.

In certain cases, a library must be able to interface with the underlying system, to get access to low level functions. One can imagine, for example, creating an audio library (sorry, these days one says "multimedia"), to make system calls to access the sound card.

Liberty Eiffel provides a powerful utility: plugins. You can also use, even though it has been superseded, an older mechanism, externals.

There are also two other mechanisms: inlining and cecil.