Content deleted Content added
Jerryobject (talk | contribs) Standardize: spacing, sentence case, date format. Add WP:LINKs. |
Jerryobject (talk | contribs) m →Metaprogramming: Spelling–punctuation error fix. |
||
Line 516:
F# allows some forms of syntax customizing via [[metaprogramming]] to support embedding custom [[___domain-specific language]]s within the F# language, particularly through computation expressions.<ref name="overview"/>
F# includes a feature for run-time meta-programming called quotations.<ref name="quotations">{{cite web |url=http://msdn.microsoft.com/en-us/library/dd233212.aspx |title=Code Quotations (F#) |access-date=2012-11-24}}</ref> A quotation expression evaluates to an abstract syntax tree representation of the F# expressions. Similarly, definitions labelled with the <code>[<ReflectedDefinition>]</code> attribute can also be accessed in their quotation form. F# quotations are used for various purposes including to compile F# code into [[JavaScript]]<ref name="js"/> and [[Graphics processing unit|GPU]]<ref name="gpgpu"/> code.
===Information-rich programming===
|