UNPKG
webppl
Version:
latest (0.9.15)
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.2
0.8.1
0.8.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Probabilistic programming for the web
webppl.org
probmods/webppl
webppl
/
src
/
args.js
12 lines
(8 loc)
•
199 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
var
parseArgs =
require
(
'minimist'
);
function
makeGlobal
(
programFile, argv
) {
global
.
argv
=
parseArgs
([programFile].
concat
(argv)); }
module
.
exports
= {
makeGlobal
: makeGlobal };