Seed7

Seed7
Seed7
Семантика:

императивный, объектно-ориентированный

Тип исполнения:

интерпретатор, компилятор

Появился в:

2005

Автор(ы):

Томас Мертес

Релиз:

05_20120401 (1 апреля 2012)

Типизация данных:

строгая, статическая

Испытал влияние:

Ada, C/C++, Java

Seed7 — язык программирования общего назначения.

Главной особенностью языка является его расширяемость. Синтаксис языка определён в одной из библиотек и может быть изменён пользователем.

Содержание

Особенности

Язык синтаксически подобен Паскалю и Аде. В дополнении к стандартному Паскалю и ранним версиям Ады включает механизмы объектно-ориентированного программирования а также механизмы расширения языка: мощный механизм шаблонов для определения новых синтаксических конструкций (который, подобно Camlp4 (англ.)русск. включает средства позволяющие задавать ассоциативность и приоритет операций) и нечто вроде стандартных функций, позволяющих задавать семантику таких конструкций. Такие функции, выполняемые на этапе компиляции, принимают в качестве параметров переменные, типы и выражения, включаемые в синтаксические конструкции, и выполняют с ними необходимые преобразования. Если определяемая таким образом грамматика допускает двусмысленное толкование, генерируется ошибка компиляции.[1]

История

Томас Мертес начал разрабатывать этот язык обучаясь в Венском техническом университете[2]. Он стал в 1984 темой его дипломной работы[3], а затем, в 1986 — диссертации[4].

Примеры

Hello World
$ include "seed7_05.s7i";
const proc: main is
func
begin
  writeln ("hello world");
end func;

Реализация

Доступен в виде исходных кодов под лицензиями GPL и LGPL или готовых сборок под Windows. В пакет входит интерпретатор (файл hi) и компилятор (comp), генерирующий промежуточный код на языке Си.

См. также

Примечания

  1. Daniel Zingaro Modern Extensible Languages → 8 Other Extensible Languages → 8.2 Seed7. — Hamilton, Ontario, Canada: McMaster University, April 11, 2007. — С. 16.
  2. Entwurf einer erweiterbaren höheren Programmiersprache (нем.), Thomas Mertes, 1984, Diplomarbeit, Institut für Computersprachen Programmiersprachen und Übersetzer
  3. Definition einer erweiterbaren höheren Programmiersprache (нем.), Thomas Mertes, 1986, Dissertation, Institut für Computersprachen Programmiersprachen und Übersetzer

Литература

Ссылки



Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Полезное


Смотреть что такое "Seed7" в других словарях:

  • Ted Petty Invitational — The Ted Petty Invitational tournament (the TPI) is an independent wrestling tournament in North America, run and promoted by IWA Mid South. Created as the Sweet Science Sixteen in 2000 by Ian Rotten, the tournament was originally supposed to… …   Wikipedia

  • CMLL Torneo Gran Alternativa — The Torneo Gran Alternativa (Great Alternative Tournament) is an annual lucha libre tournament held by Consejo Mundial de Lucha Libre (CMLL). It has been held annually nearly every year since 1994.The tournament features teams of established… …   Wikipedia

  • WNBA Playoffs — The WNBA Playoffs is a best of three elimination tournament between eight teams in the Eastern Conference and Western Conference of the Women s National Basketball Association (WNBA), ultimately deciding the final two teams who will play in the… …   Wikipedia

  • 2007 Open Gaz de France — News= *02/05/07 Elena Bovina withdrew from the Open Gaz de France due to a nerve entrapment. In the single s draw she is replaced with Lucky Loser, Agnieszka Radwańska, and in the doubles draw she and her partner, Anna Chakvetadze, are replaced… …   Wikipedia

  • Coppa Italia 2006-07 — The 2006/2007 Coppa Italia final was played, like the two previous editions, between Inter Milan and AS Roma. The first match was played in Rome on May 9th 2007, and the second leg in Milan on May 17th 2007. The score from the first leg was an… …   Wikipedia

  • 1971 Davis Cup — The 1971 Davis Cup was the 60th edition of the most important tournament between national teams in men s tennis. 50 teams would enter the competition, 28 in the Europe Zone, 13 in the Americas Zone, and 9 in the Eastern Zone.Brazil defeated… …   Wikipedia

  • 2006 Davis Cup Europe/Africa Zone — The Europe/Africa Zone was one of three groups of Davis Cup competition in 2006.Group IDCGroupIEA | Year=2006 2RP date=22 24 September 1RP date=21 23 July RD1 date=10 12 February RD2 date=7 9 April teamwidth=13 RD1T1 loc= RD1 seed1=S | RD1… …   Wikipedia

  • 1966 Davis Cup — The 1966 Davis Cup was the 55th edition of the most important tournament between national teams in men s tennis. For the first time, the Europe Zone was effectively split into two zones, and the winner of each would earn a berth in the Inter… …   Wikipedia

  • 1968 Davis Cup — The 1968 Davis Cup was the 57th edition of the most important tournament between national teams in men s tennis. 49 teams would enter the competition, 32 in the Europe Zone, 9 in the Americas Zone, and 8 in the Eastern Zone.The United States… …   Wikipedia

  • 1969 Davis Cup — The 1969 Davis Cup was the 58th edition of the most important tournament between national teams in men s tennis. 51 teams would enter the competition, 34 in the Europe Zone, 9 in the Americas Zone, and 8 in the Eastern Zone.Brazil defeated Mexico …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»