kei-lisp 2.1.0 → 2.3.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 -2
- package/dist/cli.cjs +1706 -170
- package/dist/index.cjs +1708 -169
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +656 -19
- package/dist/index.d.ts +656 -19
- package/dist/index.js +1706 -170
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# kei-lisp
|
|
2
2
|
|
|
3
|
+
[](https://github.com/ike-keichan/kei-lisp/actions/workflows/ci.yml)
|
|
3
4
|
[](https://www.npmjs.com/package/kei-lisp)
|
|
4
5
|
[](./LICENSE)
|
|
5
6
|
[](https://nodejs.org/)
|
|
@@ -10,6 +11,7 @@ an interactive REPL, or embed it in your application as a library.
|
|
|
10
11
|
## Features
|
|
11
12
|
|
|
12
13
|
- Common Lisp-inspired syntax (`setq`, `defun`, `let`, `cond`, ...)
|
|
14
|
+
- Macros: `defmacro` with backquote/unquote (`` ` ``, `,`, `,@`) and `macroexpand`
|
|
13
15
|
- CLI tool **and** embeddable library
|
|
14
16
|
- ESM and CommonJS dual output with TypeScript types
|
|
15
17
|
- Zero runtime dependencies
|
|
@@ -166,8 +168,8 @@ Runnable TypeScript examples live in [`examples/`](./examples/):
|
|
|
166
168
|
|
|
167
169
|
```sh
|
|
168
170
|
pnpm build # build the package once
|
|
169
|
-
|
|
170
|
-
|
|
171
|
+
node --experimental-strip-types examples/basic-eval.ts
|
|
172
|
+
node --experimental-strip-types examples/exit-handling.ts
|
|
171
173
|
```
|
|
172
174
|
|
|
173
175
|
## Reference
|