fbpx
维基百科

Eiffel

Eiffel是一套物件導向程式語言,1985年由伯特蘭·邁耶所發明。文法類似Pascal ,並且將語言本身與軟體工程、和工具結合為一。Eiffel实现契约式设计(Design by Contract)的風格。

Eiffel
编程范型面向对象, 基于类, 泛型, 并发
設計者Bertrand Meyer
實作者Eiffel Software
发行时间1986年,​37年前​(1986[1]
目前版本
  • 22.05 (2022年5月31日;穩定版本)[2]
型態系統静态
實作語言Eiffel
系统平台跨平台
作業系統FreeBSD, Linux, Mac OS X, OpenBSD, Solaris, Windows
許可證双许可和企业许可
文件扩展名.e
網站www.eiffel.org
主要實作產品
EiffelStudio英语EiffelStudio, LibertyEiffel英语LibertyEiffel, SmartEiffel英语SmartEiffel, Visual Eiffel英语Visual Eiffel, Gobo Eiffel, "The Eiffel Compiler" tecomp
啟發語言
Ada, Simula, Z英语Z notation
影響語言
Ada 2012, Albatross, C#, D, Java, Racket, Ruby,[3] Sather英语Sather, Scala

語法與語義

整體架構

一個Eiffel“系统”或“程序”是指一個“类”的集合。Eiffel系统有一个Cluster的概念。通过一个叫做ACE的外部组件描述类之间的组合关系的,Cluster可以是几个类,或者几个子Cluster,或者是它们的混合。但是Cluster不是Eiffel的语言构造英语Language construct,Eiffel语言中,是惟一的构造模块。

"Hello, world!"

一支程式語言都會有"Hello, world!"的程式碼。以Eiffel的表示如下:

class  HELLO_WORLD create  make feature  make  do  print("Hello, world!%N")  end end 

這支程式有HELLO_WORLD。其建構例程的名稱是make,它會呼叫print系統函式库例程將"Hello, world!"的訊息給輸出。 Eiffel中不像C系列(C、C++、Java、C#)的语言,通过约定某个叫做main的函数来启动应用,而是通过ACE来指定一个类作为整个应用的启动。这个类的构造函数也就成为应用的起始点。

引用

  1. ^ . archive.eiffel.com. [24 August 2017]. (原始内容存档于2019-01-13) (英语). 
  2. ^ EiffelStudio 22.05 is available!. [2022年12月19日]. 
  3. ^ Cooper, Peter. Beginning Ruby: From Novice to Professional. Beginning from Novice to Professional 2nd. Berkeley: APress. 2009: 101. ISBN 978-1-4302-2363-4. To a lesser extent, Python, LISP, Eiffel, Ada, and C++ have also influenced Ruby. 
  4. ^ EiffelStudio 21.11 is available!. Eiffel.org. 11 February 2022. 

外部連結

  • Basic Eiffel Language Mechanisms(页面存档备份,存于互联网档案馆), Bertrand Meyer(页面存档备份,存于互联网档案馆), August 2006.
  • Eiffel Software's Open Source initiative(页面存档备份,存于互联网档案馆
  • Eiffel Software(页面存档备份,存于互联网档案馆) web site of the company that introduced Eiffel, was Interactive Software Engineering (ISE).
  • Eiffel tutorial (100 pages) by Bertrand Meyer(HTML(页面存档备份,存于互联网档案馆), PDF(页面存档备份,存于互联网档案馆))
  • Eiffel standard(页面存档备份,存于互联网档案馆), revision 2 (2006); this is the ECMA standard, with free access, its text identical to that of the ISO standard.
  • SmartEiffel(页面存档备份,存于互联网档案馆) (formerly SmallEiffel) a complete Eiffel compiler released under GNU GPL license, translates Eiffel code either to C or Java bytecode, not standard compliant, with emphasis on performance.
  • "The Eiffel Compiler" (tecomp)(页面存档备份,存于互联网档案馆) an open source Eiffel compiler with documentation(页面存档备份,存于互联网档案馆).
  • an open source implementation of Eiffel creating native code for X86 systems(Windows, Linux)
  • NICE(页面存档备份,存于互联网档案馆) Nonprofit International Consortium for Eiffel.
  • eiffelroom.com(页面存档备份,存于互联网档案馆) Community around standard Eiffel.
  • Includes a comprehensive Eiffel Software Directory
  • Eiffel: the Language(页面存档备份,存于互联网档案馆) subset

eiffel, 是一套物件導向程式語言, 1985年由伯特蘭, 邁耶所發明, 文法類似pascal, 並且將語言本身與軟體工程, 和工具結合為一, 实现契约式设计, design, contract, 的風格, 编程范型面向对象, 基于类, 泛型, 并发設計者bertrand, meyer實作者, software发行时间1986年, 37年前, 1986, 目前版本22, 2022年5月31日, 穩定版本, 型態系統静态實作語言系统平台跨平台作業系統freebsd, linux, openbsd, solaris. Eiffel是一套物件導向程式語言 1985年由伯特蘭 邁耶所發明 文法類似Pascal 並且將語言本身與軟體工程 和工具結合為一 Eiffel实现契约式设计 Design by Contract 的風格 Eiffel编程范型面向对象 基于类 泛型 并发設計者Bertrand Meyer實作者Eiffel Software发行时间1986年 37年前 1986 1 目前版本22 05 2022年5月31日 穩定版本 2 型態系統静态實作語言Eiffel系统平台跨平台作業系統FreeBSD Linux Mac OS X OpenBSD Solaris Windows許可證双许可和企业许可文件扩展名 e網站www wbr eiffel wbr org主要實作產品EiffelStudio 英语 EiffelStudio LibertyEiffel 英语 LibertyEiffel SmartEiffel 英语 SmartEiffel Visual Eiffel 英语 Visual Eiffel Gobo Eiffel The Eiffel Compiler tecomp啟發語言Ada Simula Z 英语 Z notation 影響語言Ada 2012 Albatross C D Java Racket Ruby 3 Sather 英语 Sather Scala 目录 1 語法與語義 1 1 整體架構 1 1 1 Hello world 2 引用 3 外部連結語法與語義 编辑整體架構 编辑 一個Eiffel 系统 或 程序 是指一個 类 的集合 Eiffel系统有一个Cluster的概念 通过一个叫做ACE的外部组件描述类之间的组合关系的 Cluster可以是几个类 或者几个子Cluster 或者是它们的混合 但是Cluster不是Eiffel的语言构造 英语 Language construct Eiffel语言中 类是惟一的构造模块 Hello world 编辑 一支程式語言都會有 Hello world 的程式碼 以Eiffel的表示如下 class HELLO WORLD create make feature make do print Hello world N end end 這支程式有类HELLO WORLD 其建構例程的名稱是make 它會呼叫print系統函式库例程將 Hello world 的訊息給輸出 Eiffel中不像C系列 C C Java C 的语言 通过约定某个叫做main的函数来启动应用 而是通过ACE来指定一个类作为整个应用的启动 这个类的构造函数也就成为应用的起始点 引用 编辑 Eiffel in a Nutshell archive eiffel com 24 August 2017 原始内容存档于2019 01 13 英语 EiffelStudio 22 05 is available 2022年12月19日 Cooper Peter Beginning Ruby From Novice to Professional Beginning from Novice to Professional 2nd Berkeley APress 2009 101 ISBN 978 1 4302 2363 4 To a lesser extent Python LISP Eiffel Ada and C have also influenced Ruby EiffelStudio 21 11 is available Eiffel org 11 February 2022 外部連結 编辑Basic Eiffel Language Mechanisms 页面存档备份 存于互联网档案馆 Bertrand Meyer 页面存档备份 存于互联网档案馆 August 2006 Eiffel Software s Open Source initiative 页面存档备份 存于互联网档案馆 Eiffel Software 页面存档备份 存于互联网档案馆 web site of the company that introduced Eiffel was Interactive Software Engineering ISE Eiffel tutorial 100 pages by Bertrand Meyer HTML 页面存档备份 存于互联网档案馆 PDF 页面存档备份 存于互联网档案馆 Eiffel standard 页面存档备份 存于互联网档案馆 revision 2 2006 this is the ECMA standard with free access its text identical to that of the ISO standard SmartEiffel 页面存档备份 存于互联网档案馆 formerly SmallEiffel a complete Eiffel compiler released under GNU GPL license translates Eiffel code either to C or Java bytecode not standard compliant with emphasis on performance The Eiffel Compiler tecomp 页面存档备份 存于互联网档案馆 an open source Eiffel compiler with documentation 页面存档备份 存于互联网档案馆 Visual Eiffel an open source implementation of Eiffel creating native code for X86 systems Windows Linux NICE 页面存档备份 存于互联网档案馆 Nonprofit International Consortium for Eiffel eiffelroom com 页面存档备份 存于互联网档案馆 Community around standard Eiffel eiffelzone com Includes a comprehensive Eiffel Software Directory Cetus Eiffel Page Eiffel for NET Eiffel the Language 页面存档备份 存于互联网档案馆 subset 取自 https zh wikipedia org w index php title Eiffel amp oldid 73385108, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。