Snippets tagged compilation

  • Traverse quotation

    Shows how to use the 'ExprShape' module to recursively traverse an entire quotation and how to write quotation transformations. As an example, the snippet replaces all numeric constants in the quotation and then runs the transformed code.

    26 people like this

    Posted: 13 years ago by Tomas Petricek

  • Compiling quotations

    Demonstrates how to compose code at run time using F# quotations (both typed and untyped) and how to compile and run/execute the quotation using F# Quotations Evaluator (based on F# 2.0 PowerPack code) from the F# Software Foundation. (Updated October 25, 2019)

    0 people like this

    Posted: 4 years ago by Tomas Petricek, Zane Purvis