|New Seed7 Release 2006-07-24 firstname.lastname@example.org (2006-07-25)|
|Date:||25 Jul 2006 18:01:58 -0400|
|Posted-Date:||25 Jul 2006 18:01:58 EDT|
I have released a new version of Seed7: seed7_05_20060724.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
- A new example program (bifurcation) was added.
- A trim function to remove leading and trailing spaces
from strings was added.
- The windows graphic driver was improved to support
- A changelog (chlog.txt) was added.
And Now for Something Completely Different.
This example declares a subtype for roman numbers
$ include "seed7_05.s7i"; # Standard Seed7 library
include "wrinum.s7i"; # Import str(ROMAN, ... )
const type: romanNum is subtype integer;
const func string: str (in romanNum: number) is
return str(ROMAN, number);
const proc: main is func
var romanNum: number is 0;
for number range 1 to 3999 do
Greetings Thomas Mertes
Seed7 Homepage: http://seed7.sourceforge.net
Project page: http://sourceforge.net/projects/seed7
Return to the
Search the comp.compilers archives again.