I suggest you ...

Compiling quotations

I'd like to be able to compose code at run time using F# quotations, which is now possible only with F# PowerPack

69 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    AnonymousAnonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Phillip TrelfordPhillip Trelford commented  ·   ·  Flag as inappropriate

        In F# 3+ you can convert quotations to LINQ lambda expressions using LeafExpressionConverter.QuotationToLambdaExpression and then compile those.

      • Phillip TrelfordPhillip Trelford commented  ·   ·  Flag as inappropriate

        There are 2 other open source projects that can run F# quotations (1) Unquote (2) Foq. Although it would be nice to have this in the main distribution, perhaps it could be provided in a library and as a Nuget package.

      • EdEd commented  ·   ·  Flag as inappropriate

        Please please please! It would make F# outrageously powerful if it could JIT compile.

      Feedback and Knowledge Base