Eiffel is a programming language created in 1986 by Bertrand Meyer.
#177on PLDB | 38Years Old | 913Repos |
git clone https://github.com/EiffelSoftware/EiffelStudio
Eiffel is an object-oriented programming language designed by Bertrand Meyer (an object-orientation proponent and author of Object-Oriented Software Construction) and Eiffel Software. Meyer conceived the language in 1985 with the goal of increasing the reliability of commercial software development; the first version becoming available in 1986. In 2005, Eiffel became an ISO-standardized language. Read more on Wikipedia...
indexing "Hello World in Eiffel , from http://roesler-ac.de/wolfram/hello.htm#Eiffel"
class HELLO
creation
run
feature
run is
local
io : BASIC_IO;
do
!!io;
io.put_string("Hello World");
io.put_newline
end; -- run
end; -- class HELLO
note "Hello World in Eiffel"
class HELLO
create run
feature run
do
print ("Hello World!%N")
end
end
note
description: "Git checkout command."
author: "Olivier Ligot"
class
GIT_CHECKOUT_COMMAND
inherit
GIT_COMMAND
create
make,
make_master
feature {NONE} -- Initialization
make (a_branch: STRING)
-- Checkout the branch `a_branch'.
do
initialize
arguments.force_last (a_branch)
branch := a_branch
ensure
branch_set: branch = a_branch
end
make_master
-- Checkout the master branch.
do
make ("master")
end
feature -- Access
branch: STRING
-- Branch to checkout
name: STRING = "checkout"
-- Git subcommand name
end
class
HELLO_WORLD
create
make
feature
make
do
print ("Hello, world!")
end
end
Feature | Supported | Example | Token |
---|---|---|---|
Binary Literals | ✓ | -- 0[bB][01]+ | |
Integers | ✓ | -- [0-9]+ | |
Floats | ✓ | -- ([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+) | |
Hexadecimals | ✓ | -- 0[xX][a-fA-F0-9]+ | |
Octals | ✓ | -- 0[cC][0-7]+ | |
Strings | ✓ | "Hello world" | " |
Assignment | ✓ | := | |
Case Insensitive Identifiers | ✓ | ||
Line Comments | ✓ | -- A comment | -- |
Operator Overloading | ✓ | ||
Multiple Inheritance | ✓ | ||
Comments | ✓ | ||
Pointers | ✓ | ||
Semantic Indentation | X | ||
MultiLine Comments | X |