I thought that I would be able to use quotations to accomplish what I'm trying to do (create a tree of expressions which I can store in a DB and execute later on). Much to my dismay, however, I've learned that quotations are not serializable and cannot be compiled (I would like to avoid F# PowerPack because the performance is bad).
So I'm curious to know, are F# quotations useful for anything at all? Of what use is a data structure representing code if it can't be compiled back into code? What am I missing here?
Related: Another limitation of F# quotations? What are F# quotations?
Yes they are useful for something.
Wikipedia says
F# quotations are used for various purposes including to compile F# code to JavaScript and GPU code.
I've experimented with them and created a F#-Code to ActionScript compiler.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With