Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

epsilon

< >

epsilon is a programming language created in 1967.

#1896on PLDB 57Years Old
Homepage · Twitter

EOL is an imperative programming language for creating, querying and modifying EMF models. You can think of it as a mixture of Javascript and OCL, combining the best of both worlds. As such, it provides all the usual imperative features found in Javascript (e.g. statement sequencing, variables, for and while loops, if branches etc.) and all the nice features of OCL such as those handy collection querying functions.


Example from the web:
var m : new Model; m.name = "m"; // Create five packages for (i in 1.to(5)){ var package : Package = new Package; package.name = "p" + i; package.package = m; // Create three classes in each package for (j in 1.to(3)) { var class : Class = new Class; class.name = "c" + i + "" + j; class.isAbstract = false; class.package = package; } } // Assign random supertypes to the classes created for (c in Class.allInstances) { c.extends = Class.allInstances.random(); }

Language features

Feature Supported Example Token
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0