SEED7 Universal Programming language

Source: Internet
Author: User
Keywords Seed7 advanced language common language
Tags .net advanced advanced language common language compiled developed different function

Seed7 is a higher-level open source general-purpose programming language than Ada, c++++ and Java, designed and developed by Thomas Mertes. Seed7 's new statements and operators can be easily compiled, with the same type of results and type parameters more elaborate than the concept of a template or generic. Its salient features are object-oriented, although Seed7 contains some concepts of other programming languages, but it has many different features than other programming languages, with detailed features including:

As an extensible programming language, it supports user-defined statements and operations.
Types are first class objects (templates and generics can be easily defined).
Predefined constructs, such as arrays and loops.
Object-oriented has interfaces and multiple schedules.
static type checking.
Supports unlimited size biginteger and bigrational numbers.
Exception handling function.
Support Program/function/operation/report overload function.
A variety of predefined types, such as resizable arrays, hashes, sets,structs,color,time,duration, and so on.
Run under Linux to support a variety of UNIX and Windows versions.
Explanations and sample programs use GPL licenses, while Run-time libraries use LGPL licenses.

;

Seed7 allows programming in "problem space" to replace a small grammatical or semantic concept, Seed7 the predefined concepts in a way that is readable and understandable, which can be summed up in the following ways:

The SEED7 program can be interpreted or compiled, so it can be used for scripting and "real" programs.

Screenshot: http://seed7.sourceforge.net/scrshots/index.htm

Use demonstration:

The SEED7 program contains a sequence of declarations that append a type and name to the new object. In addition, each new declared object gets an initial value. Declaration Demonstration:

The const Proc:main is func the begin Writeln ("Hello World"); End Func

The main object is declaring a constant, the ' main ' type is a process, the type master declares a program, and the main object gets a:

Func End Func

Constructors are similar to the begin ... end of PASCAL and C, which is a writeln statement of the string "Hello World" in the constructor. The Writeln statement is used to write a string, followed by a newline character. Use this declaration as the standard Hello World sample program, including the standard library:

$ include "seed7_05.s7i";

Const Proc:main is func
Begin
Writeln ("Hello World");
End Func;

If you write this program in a file name World.sd7, execute the command ' S7 World ', the SEED7 interpreter is written as follows: SEED7 interpreter Version 5.0.4 Copyright (c) 1990-2013 Thomas Mertes Hello World

SEED7 interpreter Version 5.0.4 Copyright (c) 1990-2013 Thomas Merteshello World

SEED7 interpreter and WORLD.SD7 output Program Access information:

Hello World

Download Address: http://sourceforge.net/projects/seed7/files/

SEED7 official website Information: http://seed7.sourceforge.net/index.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.