Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #r "../packages/FunScript.1.1.88/lib/net40/FunScript.dll"
- #r "../packages/FunScript.1.1.88/lib/net40/FunScript.Interop.dll"
- #load "MyModuleFile.fs"
- open FunScript
- //[<FunScript.JS>]
- //let main() =
- // let SomeFunc = MyNamespace.MyModule.SomeFunc
- // ()
- let res = Compiler.compile(<@ MyNamespace.MyModule.SomeFunc @>)
- let js = res.ToString()
- let file = new System.IO.FileInfo("Output.js");
- let ft = file.CreateText()
- ft.Write(js)
- ft.Dispose()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement