|Stages in Using Gelex|
This section lists the steps to follow to produce a working scanner using gelex. First, you have to write a description of the scanner you want to generate:
To turn the above scanner specification into a runnable program, proceed as follows:
<debug name="GELEX" enabled="true"/>
This will help you to find out what kind of tokens are recognized from input.
Note that contrary to false assumptions, there is no need to include in your system all libraries that come with Gobo Eiffel in order to take advantage of the facilities provided by gelex. During the design of the scanner skeleton, care has been taken to only use kernel classes such as ARRAY or STRING, and therefore avoiding the unnecessary overhead of other library classes. As a consequence, only the two libraries listed above are required: the scanner skeleton library and kernel adaptation library allowing portability across various Eiffel compilers.
Copyright © 2001-2019, Eric
Last Updated: 25 September 2019