XL (programming language): Difference between revisions

Content deleted Content added
No edit summary
Line 59:
then
return quote(0)
 
A plug-in can be invoked on a whole file from the command line, or more locally in the source code using the ''pragma'' notation, as follows:
 
X := {ZeroRemoval} Two + 0
 
The XL1 phase contains a large set of plug-ins, notably <code>XLSemantics</code>, that provide common abstractions like [[subroutine]], [[data type]] and [[variable]] [[declaration]] and [[definition]], as well as basic [[structured programming]] statements, like conditionals or loops.
Line 121 ⟶ 125:
function IsNull(A : matrix) return boolean written A=0
function IsUnity(A : matrix) return boolean written A=1
 
 
== Development status and history ==