EGL, aka Enterprise Generation Language, is a programming language created in 2008.
#1102on PLDB | 16Years Old |
EGL (Enterprise Generation Language), originally developed by IBM and now available as the EDT (EGL Development Tools) Open Source project under the Eclipse Public License (EPL), is a programming technology designed to meet the challenges of modern, multi-platform application development by providing a common language and programming model across languages, frameworks, and runtime platforms. The language borrows concepts familiar to anyone using statically typed languages like Java, COBOL, C, etc. However, it borrows the concept of stereotype from Unified Modeling Language (UML) that is not typically found in statically typed programming languages. Read more on Wikipedia...
program HelloWorld
function main()
SysLib.writeStdout("Hello World");
end
end
1 package com.mycompany.ui;
2
3 import com.mycompany.services.Employee;
4 import com.mycompany.services.EmployeeService;
5 import dojo.widgets.DojoGrid;
6 import dojo.widgets.DojoGridColumn;
7
8 handler EmployeeView type RUIhandler { initialUI = [ grid ],
9 onConstructionFunction = start,
10 cssFile = "main.css" }
11
12 grid DojoGrid { behaviors = [ ], headerBehaviors = [ ], columns = [
13 new DojoGridColumn { displayName = "First Name", name = "FIRSTNAME" },
14 new DojoGridColumn { displayName = "Last Name", name = "LASTNAME" },
15 new DojoGridColumn { displayName = "Salary", name = "SALARY" }
16 ] };
17
18 function start()
19 svc EmployeeService { };
20 call svc.getEmployees () returning to displayEmployees;
21 end
22
23 function displayEmployees(retResult Employee [ ] in)
24 grid.data = retResult as any [ ];
25 end
26
27 end
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | "Hello world" | " |
Print() Debugging | ✓ | SysLib.writeStdout |