XL2 - The imperative flavor of XL

use XL.UI.CONSOLE
WriteLn "Hello World"

Hello World in XL2

XL2 is the imperative flavor of XL. It is intended to feel familiar to programmers who used languages such as C, C++, Pascal or Ada.

Key properties of XL2

XL2 offers the following features:

Meta-programming in XL2

translation Simplify
  when
    'X' * 2
  then
    return parse_tree('X'+'X')

Simple plug-in in XL2

XL2 is based on XL, so it also offers advanced innovative meta-programming capabilities:


  1. Support for object-oriented programming in XL2 is currently relatively weak.