New Seed7 Release 2006-07-24

thomas.mertes@gmx.at
25 Jul 2006 18:01:58 -0400

          From comp.compilers

Related articles
New Seed7 Release 2006-07-24 thomas.mertes@gmx.at (2006-07-25)
| List of all articles for this month |

From: thomas.mertes@gmx.at
Newsgroups: comp.compilers
Date: 25 Jul 2006 18:01:58 -0400
Organization: http://groups.google.com
Keywords: available
Posted-Date: 25 Jul 2006 18:01:58 EDT

Hello,


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).


Changelog:
- 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
    windows 98.
- 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);


    enable_output(romanNum);


    const proc: main is func
        local
            var romanNum: number is 0;
        begin
            for number range 1 to 3999 do
                writeln(number);
            end for;
        end func;


Greetings Thomas Mertes


Seed7 Homepage: http://seed7.sourceforge.net
Project page: http://sourceforge.net/projects/seed7



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.