XL (programming language): Difference between revisions

Content deleted Content added
No edit summary
Line 62:
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 := {Differentiate} d(sin(omega * T) * exp(-T/T0)) / dT
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.