This site's content was compiled from 1993 to 2006. Beyond that, Google is your friend.

SmallEiffel Internet Facility

Maintainer

Christian Couder

Description

SEIF is a tool to process, compile and run scripts that look like PHP scripts with the same power, but with an Eiffel syntax.

Categories

Versions

Links

Features

The goal of SEIF is not to create a new langage, but to make it possible to use as much as possible the Eiffel langage by providing a powerful PHP-like preprocessor for it.

How does it work?

The code in a SEIF script is rewritten by SEIF into an Eiffel class and this class can then be compiled and run by SEIF using an eiffel compiler. Currently it works for quite simple scripts. The goal is to extend and improve it, so that it can be used as easily and for as many things as PHP.

Under a Unix-like operating system, you should be able to execute SEIF scripts if they start a line like this one:

#!/path/to/seif

Why wouldn't I just use Eiffel?

Because PHP style programming is often easier to write for web site. For example you could write:

<? if somecondition then ?> lots of html stuff here <? else ?> other lots of html stuff here <? end ?>

instead of

if somecondition then io.put_string('lots') io.put_string('of') io.put_string('html') io.put_string('stuff') io.put_string('here') else io.put_string('other') io.put_string('lots') io.put_string('of') io.put_string('html') io.put_string('stuff') io.put_string('here') end

Also you can use both SEIF and Eiffel at the same time, because SEIF should be able to use Eiffel classes as they are.

Supported compilers

Platforms

Licensing

Google
 
Web eiffelzone.com