Questions Concepts
GitHub icon

XL

XL - Programming language

< >

XL is an open source programming language created in 2000 by Christophe de Dinechin.

Source code:
git clone https://github.com/c3d/xl
#719on PLDB 23Years Old

XL ("eXtensible Language") is the first and so far the only computer programming language designed to support concept programming.XL features programmer-reconfigurable syntax and semantics. Compiler plug-ins can be used to add new features to the language. A base set of plug-ins implements a relatively standard imperative language. Read more on Wikipedia...


Example from the web:
0! is 1 N! is N * (N-1)! for I in 1..5 loop print "The factorial of ", I, " is ", I!
Example from hello-world:
// XL programming language: http://xlr.sourceforge.net writeln "Hello World"
Example from Wikipedia:
if true then TrueBody else FalseBody -> TrueBody if false then TrueBody else FalseBody -> FalseBody

Language features

Feature Supported Token Example
Booleans True False
Strings "
"Hello world"
Print() Debugging writeln
Templates
Semantic Indentation

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout