projects
/
rrr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bebb8a0
)
Remove nonstandard Markdown hints.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Fri, 10 Oct 2014 10:14:01 +0000
(12:14 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Fri, 10 Oct 2014 10:14:01 +0000
(12:14 +0200)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index eaf26ff1e62619527a28a470db82edbacb6be75e..dfe4ee8767c387c9a7a943399a31b01faa27e26a 100644
(file)
--- 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('<Expr>')
// => '-9 * 3512 + (-(-51 - -9 / 6) / -6278 + -4 * 30321) / 21940'