• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generic reader and editor for s-expressions.

Editing the language of gods civilized, even on the web.

For more details see the project page here.

Usage

npm install then see examples.

Dev

build

Update paredit-bundle.min.js and paredit-bundle.js:

node build.js

Testing

Manually: You can open examples/paredit.html in a browser (directly the file, no need to use a http server). Build before you do that.

Unit tests: npm run test

With Lively

Load via lively.modules:

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();
}

More Repositories

1

org-ai

Emacs as your personal AI assistant. Use LLMs such as ChatGPT or LLaMA for text generation or DALL-E and Stable Diffusion for image generation. Also supports speech input / output.
Emacs Lisp
605
star
2

hot-lib-reloader-rs

Reload Rust code without app restarts. For faster feedback cycles.
Rust
528
star
3

clj-org-analyzer

Fun with org data
Clojure
277
star
4

axum-yew-setup

A starter project that sets up axum and yew for full stack Rust web apps.
Rust
139
star
5

emacs-rust-config

emacs.d files for making Emacs a Rust development environment
Emacs Lisp
87
star
6

cargo-add-dynamic

cargo-add command to make dependencies into dylibs
Rust
83
star
7

copilot-emacsd

Example configuration to integrate Copilot into Emacs
Emacs Lisp
40
star
8

node-nrepl-client

node.js client for a Clojure nrepl server.
JavaScript
28
star
9

patreon-scraper

TypeScript
23
star
10

flatn

flat node dependencies
JavaScript
18
star
11

rust-hot-reload

hot-reload template for Rust
Rust
18
star
12

axum-yew-template

A cargo-template for generating a full stack axum / yew web app.
Rust
11
star
13

nannou-hot-reload

cargo-generate template for hot reloading & nannou
Rust
6
star
14

yew-utils

Some batteries for the yew WebAssembly frontend framework
Rust
6
star
15

node-hana-odbc

node.js connection to SAP HANA using node-odbc.
JavaScript
4
star
16

ace.improved

For a better ace editor!
JavaScript
4
star
17

subprocess

Clojure lib for spawning subprocesses and listen to stdout and stderr via core.async
Clojure
4
star
18

simple-file-rotation

Rust
4
star
19

three-codeeditor

ace codeeditor integration
JavaScript
4
star
20

pg-taskq

A simple postgres-based distributed task queue for Rust
Rust
3
star
21

language-server-websocket-test

language-server websocket test
TypeScript
3
star
22

fritz-homeautomation-rs

Rust
3
star
23

mocha-es6

testing via mocha + es6 transpilation
JavaScript
2
star
24

firestore-streaming-test-rs

Rust
2
star
25

nspell-browser

nspell, for use inside a browser
JavaScript
2
star
26

rust-opengl-playground

Rust
2
star
27

bookstack-editor

Programatically sync & edit bookstack wikis
Python
2
star
28

fritz-homeautomation

Clojure
1
star
29

runall

Run multiple commands in parallel. concurrently-like utility implemented in Rust.
Rust
1
star
30

polars-hot-reload

cargo-generate template for a hot-reloadable data exploration setup with polars.
Rust
1
star
31

tour-gallery

JavaScript
1
star
32

adventofcode

Rust
1
star
33

cljs-repl-project-template

Leiningen template to create a scaffolding for brepl-driven project.
Clojure
1
star
34

BrightTable

Not your typical table top...
HTML
1
star
35

node-lively2lively

Connect any node.js application to a lively2lively network.
JavaScript
1
star
36

cargo-oh-my-dependencies

A cargo plugin to browse and edit crate features across a workspace.
Rust
1
star