Wow, interesting project!

For DSls there are several options

  • You should be able to use camlp4 itself with F# if you stick to the OCaml-compatible subset.
  • F# quotations enable a form of DSL programming. I would have to take a look at the characteristics of your DSL to see if they would be approriate in this context. For more details on F# quotations see the FLinq sample in the distribution, and also the script.fsx file that is part of that sample.
  • Another option is to write your own parser for the DSL and embed it as strings. While this has problems it has the advantage of being highly portable between implementation technologies.

We (email me at Microsoft Research) would be glad to follow up with a closer look at your requirements

Cheers!

Don

By on 6/3/2006 9:14 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper