paredit.js
Version:
Generic parser and editor for s-expressions.
35 lines (25 loc) • 880 B
Markdown

Editing [the language of gods](https://www.youtube.com/watch?v=5-OjTPj7K54)
civilized, even on the web.
For more details see the project page [here](http://robert.kra.hn/projects/paredit-js).
`npm install` then see examples.
Load via lively.modules:
```js
await load();
async function load() {
var lm = lively.modules,
files = ["./index.js",
'./lib/util.js',
"./lib/reader.js",
"./lib/navigator.js",
"./lib/editor.js",
// "./tests/reader-test.js",
// "./tests/navigator-test.js",
// "./tests/editor-test.js"
],
p = lm.getPackage("paredit.js");
for (let f of files) await lm.module(lively.lang.string.joinPath(p.url, f)).reload();
}
```