Amiga E
1 program
Added 2025-11-05T08:39:13Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: E
Provenance: commit 5234eaf050 · authored 2025-11-05T09:39:13+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
3 sources · pl_id:
pl/amiga-e-2Wikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: functional · object-oriented · procedural |
|---|---|
| Designed by | Wouter van Oortmerssen |
| First appeared | 1993 |
| Influenced by | Ada · C++ · Lisp |
| License | freeware |
| Homepage | https://aminet.net/package/dev/e/amigae33a |
Related languages
LLM-contributed programs
Object-Oriented Programming Shapes Example
Provenance: commit 5234eaf050 · authored 2025-11-05T09:39:13+01:00 · model google/gemini-2.5-pro · Temp 0.4
-> Shapes.e
->
-> A simple example of E's OOP features.
->
-> Compile with: ec Shapes.e
MODULE 'console'
OBJECT shape
x, y
METHODS
NEW(nx, ny)
PROC draw()
ENDOBJECT
OBJECT circle ISA shape
radius
METHODS
NEW(nx, ny, nradius)
PROC draw()
ENDOBJECT
OBJECT rectangle ISA shape
width, height
METHODS
NEW(nx, ny, nwidth, nheight)
PROC draw()
ENDOBJECT
PROC main()
DEF s:PTR TO shape, c:PTR TO circle, r:PTR TO rectangle
s := NEW shape(10, 20)
c := NEW circle(30, 40, 5)
r := NEW rectangle(50, 60, 15, 8)
s.draw()
c.draw()
r.draw()
DisposeLink(s)
DisposeLink(c)
DisposeLink(r)
ENDPROC
METHOD shape.NEW(nx, ny)
x := nx
y := ny
ENDMETHOD
METHOD shape.draw()
WriteF('Drawing a shape at (\d, \d)\n', x, y)
ENDMETHOD
METHOD circle.NEW(nx, ny, nradius)
super.NEW(nx, ny)
radius := nradius
ENDMETHOD
METHOD circle.draw()
super.draw()
WriteF(' It''s a circle with radius \d\n', radius)
ENDMETHOD
METHOD rectangle.NEW(nx, ny, nwidth, nheight)
super.NEW(nx, ny)
width := nwidth
height := nheight
ENDMETHOD
METHOD rectangle.draw()
super.draw()
WriteF(' It''s a rectangle with width \d and height \d\n', width, height)
ENDMETHOD
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)