PCalc PCalc is a discrete distribution probability calculator. Example Input n = 10 X ~ Binomial(n, .5) ? P(X > 3) ? E(X) Output Query Result .828125 5 Building To convert the parser to js, run the following: $ npx pegjs -e parser --format globals parser.pegjs