rita 3.0.31 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/dist/rita.cjs +1 -1
- package/dist/rita.cjs.map +1 -1
- package/dist/rita.js +1 -1
- package/dist/rita.js.map +1 -1
- package/dist/rita.min.js +68 -66
- package/dist/rita.min.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,13 +120,9 @@ console.log(grammar.expand());
|
|
|
120
120
|
|
|
121
121
|
## RiScript
|
|
122
122
|
|
|
123
|
-
RiScript
|
|
123
|
+
[RiScript](https://github.com/dhowe/riscript) (the minor language that powers RiTa) was designed specifically for writers working with code. RiScript primitives (choices, symbols, gates, transforms, etc) can be used as part of any RiTa [grammar](https://rednoise.org/rita/reference/RiTa/grammar/) or executed directly using [RiTa.evaluate](https://rednoise.org/rita/reference/RiTa/evaluate/). For more info, see this interactive [notebook](https://observablehq.com/@dhowe/riscript) on observable.
|
|
124
124
|
|
|
125
|
-
<br>
|
|
126
|
-
|
|
127
|
-
<hr>
|
|
128
|
-
|
|
129
|
-
<br>
|
|
125
|
+
<br> <br>
|
|
130
126
|
|
|
131
127
|
## Developing
|
|
132
128
|
To install/build the library and run tests (with npm/mocha and node v14.x):
|
|
@@ -236,6 +232,8 @@ Create a new file on your desktop called 'test.html' with the following lines, s
|
|
|
236
232
|
</script>
|
|
237
233
|
</html>
|
|
238
234
|
```
|
|
235
|
+
If you already have a sketch, simply add `<script src="https://unpkg.com/rita"></script>` to your index.html to include RiTa.
|
|
236
|
+
|
|
239
237
|
|
|
240
238
|
#### With [node.js](http://nodejs.org/) and [npm](https://www.npmjs.com/)
|
|
241
239
|
|
package/dist/rita.cjs
CHANGED
|
@@ -43238,7 +43238,7 @@ markov_default.parent = RiTa;
|
|
|
43238
43238
|
stemmer_default.tokenizer = RiTa.tokenizer;
|
|
43239
43239
|
RiTa.SILENT = false;
|
|
43240
43240
|
RiTa.SILENCE_LTS = false;
|
|
43241
|
-
RiTa.VERSION = "3.0
|
|
43241
|
+
RiTa.VERSION = "3.1.0";
|
|
43242
43242
|
RiTa.FIRST = 1;
|
|
43243
43243
|
RiTa.SECOND = 2;
|
|
43244
43244
|
RiTa.THIRD = 3;
|