kozily / admin

Tasks, project documentation and wiki repository
0 stars 0 forks source link

Implement built-in operators syntactic sugar #75

Closed andres-arana closed 6 years ago

andres-arana commented 6 years ago

Description

Implement the syntactic sugar for built-in operators. The syntactic sugar is a AST transform which converts a very simple expression syntax into the appropriate built-in operator procedure calls.

The following expressions need to be parsed and transformed into the appropriate kernel syntax:

Examples

The application should parse and execute the following example correctly:

Example 1

local X in local Y in local Z in
X = 5
Y = 10
Z = (X + Y)
end end end end        

Tasks

andres-arana commented 6 years ago

Closing as we've split this functionality onto https://github.com/kozily/admin/issues/84, https://github.com/kozily/admin/issues/85 and https://github.com/kozily/admin/issues/86