After reading Practical Common Lisp I finally understood what the big deal about macros was, and I have been looking for a language for the .NET platform that supports this. There are a few lisp dialects for .NET but from what I have been able to gather all are either very beta or abandoned. Recently my interest has been sparked by Clojure, but it’s for the java platform and while on probably could use ikvm it doesn’t feel some integrated. Especially when you want to do stuff like WPF.
Recently I have been hearing whisper about F#, I tried to look at the documentation if I could find anything about macro support, but haven’t found it. So does anyone know?
Thanks 🙂
Well, F# is based on OCaml and OCaml has a rather extensive macro system. Given the syntactic and semantic similarities of F# and OCaml you may be able to port over the Ocaml macro system to F#.
Other than stealing Ocaml’s macro system I’m unaware of a canned macro system for F#.