lsFusion is a programming language that describes lsFusion modules.
Each module consists of a sequence of statements divided into module header and body. The header may include four special statements:
NAMESPACE, which define module parameters. The header is followed by the module body which consists of the remaining statements and describes the logic of this module.
// Module header
// Module body
// Classes declaration
// Properties declaration
name(employee) = DATA BPSTRING(Employee);
age(employee) = DATA INTEGER(Employee);
company(employee) = DATA Company(Employee);
name(company) = DATA BPSTRING(Company);
// Form declaration
OBJECTS e = Employee
PROPERTIES(e) name, age, company
// Adding a form to the navigator