This is a F# compiler for edge.js.
See edge.js overview and edge.js on GitHub for more information.
###Quick install guide
It should be pretty easy to get going on Windows:
-
Make sure you have F# installed with Visual Studio 2012
-
Navigate to a test project
-
Install edge.js with
npm install edgejs -g
(Note you dont have to do a global package install, just omit the -g) -
Install edge-fs into your test project with
npm install edge-fs -g
-
create a test node.js file along the lines of:
var edge = require('edge'); var helloWorld = edge.func('fs', 'fun input -> async{return ".NET welcomes " + input.ToString()}'); helloWorld('JavaScript', function (error, result) { if (error) throw error; console.log(result); });
8. Test with ```node testfile.js```
Ill be writing more documentation over time.