Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
55
Lang/EC/00-LANG.txt
Normal file
55
Lang/EC/00-LANG.txt
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{{language|eC
|
||||
|strength=weak
|
||||
|safety=unsafe
|
||||
|express=explicit
|
||||
|compat=nominative
|
||||
|checking=both
|
||||
|parampass=both
|
||||
|gc=no
|
||||
|LCT=yes}}
|
||||
eC (Ecere C) is an [[object-oriented]] language derived from and compatible with [[derived from::compatible with::C]] designed and developed by Ecere Corporation. It aims at being fast, light and easy to write.
|
||||
|
||||
It is supported by a cross-[[platform]] runtime [[Ecere|library]] including its own [[GUI]] toolkit, 2D/3D graphics engine as well as networking support.
|
||||
|
||||
The Ecere SDK is completely free and includes a full-featured [[Ecere IDE|Integrated Development Environment]] as well as a compiling tools for the eC language.
|
||||
|
||||
''Some of eC Features''
|
||||
|
||||
* Full C compatibility (Only exception: few additional reserved keywords such as 'class')
|
||||
* Object-oriented class definitions supporting single inheritance
|
||||
* Per instance virtual methods
|
||||
* Import feature removing the need for header files
|
||||
* Properties
|
||||
* Automatic conversions
|
||||
* Context sensitive enumerations
|
||||
* Component object model enabling dynamic lookup of classes, methods, objects serialization and broking, runtime code class aggregation
|
||||
|
||||
== Sample Code ==
|
||||
''Properties & Conversions in eC''
|
||||
|
||||
'''class''' Pen
|
||||
{
|
||||
Color color;
|
||||
'''public''' '''property''' Color color
|
||||
{
|
||||
'''get''' { '''return''' color; }
|
||||
'''set''' { color = value; }
|
||||
}
|
||||
}
|
||||
|
||||
// Example Usage
|
||||
Pen pen { red };
|
||||
Pen pen { color = red };
|
||||
pen.color = ~pen.color;
|
||||
pen.color += 10;
|
||||
pen.color.r = 255;
|
||||
pen.color = 0xFF0000;
|
||||
pen.color = { 255, 0, 0 };
|
||||
pen.color = ColorHSV { 0, 100, 100 };
|
||||
pen.color = ColorLab { 53, 79, 66 };
|
||||
pen.color = ColorCMYK { 0, 100, 100, 0 };
|
||||
|
||||
==External links==
|
||||
*[http://ec-lang.org/overview Description of eC language on official web site]
|
||||
*[http://ecere.ca/ Ecere Corporation's web site]
|
||||
*[http://freshmeat.net/projects/ecere/ Ecere SDK project on FreshMeat]
|
||||
2
Lang/EC/00-META.yaml
Normal file
2
Lang/EC/00-META.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
from: http://rosettacode.org/wiki/Category:EC
|
||||
1
Lang/EC/Conways-Game-of-Life
Symbolic link
1
Lang/EC/Conways-Game-of-Life
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Conways-Game-of-Life/EC
|
||||
1
Lang/EC/Empty-program
Symbolic link
1
Lang/EC/Empty-program
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Empty-program/EC
|
||||
1
Lang/EC/Hello-world-Graphical
Symbolic link
1
Lang/EC/Hello-world-Graphical
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Hello-world-Graphical/EC
|
||||
1
Lang/EC/Hello-world-Text
Symbolic link
1
Lang/EC/Hello-world-Text
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Hello-world-Text/EC
|
||||
1
Lang/EC/Mandelbrot-set
Symbolic link
1
Lang/EC/Mandelbrot-set
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Mandelbrot-set/EC
|
||||
1
Lang/EC/OpenGL
Symbolic link
1
Lang/EC/OpenGL
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/OpenGL/EC
|
||||
1
Lang/EC/Sieve-of-Eratosthenes
Symbolic link
1
Lang/EC/Sieve-of-Eratosthenes
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Sieve-of-Eratosthenes/EC
|
||||
Loading…
Add table
Add a link
Reference in a new issue