Difference between revisions of "Build your library"

From Liberty Eiffel Wiki
Jump to: navigation, search
m
m (s/LibertyEiffel/Liberty Eiffel/)
Line 1: Line 1:
 
[[Category: Library]]
 
[[Category: Library]]
We're not going to give a course in architectural concepts here, but we'll give the details of how the LibertyEiffel 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 LibertyEiffel provides its compiler and its [[Library interface|standard library]], which already contain a rich variety of features.
+
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.
   
LibertyEiffel 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...
   
LibertyEiffel 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, even though it has been superseded, use 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 13:44, 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 the case 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, even though it has been superseded, use an older mechanism, externals.

There are also two other mechanisms: inlining and cecil.