X-Git-Url: https://git.yukkurigames.com/?p=rrr.git;a=blobdiff_plain;f=README.md;h=dfe4ee8767c387c9a7a943399a31b01faa27e26a;hp=eaf26ff1e62619527a28a470db82edbacb6be75e;hb=HEAD;hpb=bebb8a0982e0a55a060556df5d6ba6aa512d5dbc diff --git a/README.md b/README.md index eaf26ff..dfe4ee8 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ of _parsing_ equations, RRR will generate random ones. (This example is also available as a loadable module in the included `term.js` file.) - ::javascript var grammar = new rrr.Grammar({ // Canonical expression/term/factor grammar. @@ -77,7 +76,6 @@ To generate a random equation, call `grammar.generate()`. If you want a start expression other than the default, you can provide a different initial string. - ::javascript grammar.generate(); // Equivalent to grammar.generate('') // => '-9 * 3512 + (-(-51 - -9 / 6) / -6278 + -4 * 30321) / 21940'