This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generated CODE, PLEASE EDIT WITH CARE | |
| 'use strict'; | |
| var invalid_argument = /* tuple */[ | |
| 248, | |
| "Invalid_argument", | |
| -3 | |
| ]; | |
| var not_found = /* tuple */[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Credit: this is derived from a combination of | |
| // - https://gist.github.com/650000 | |
| // - https://github.com/joyent/node/pull/350 | |
| // - https://github.com/ajaxorg/cloud9/blob/master/support/requireJS-node.js | |
| var path = require('path'), | |
| fs = require('fs'), | |
| defaultCompile = module.constructor.prototype._compile, | |
| defaultResolveFilename = module.constructor._resolveFilename, | |
| // this gives the main module a chance to use define iff it does so before any other module |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open Format | |
| open Dynlink | |
| let () = try | |
| print_endline "init"; | |
| Dynlink.init (); | |
| print_endline "allowing unsafe modules"; | |
| Dynlink.allow_unsafe_modules true; | |
| Dynlink.loadfile "/home1/h/hongboz/ocaml/lib/ocaml/stdlib.cma"; | |
| Dynlink.loadfile |
NewerOlder