Alles aangepast.
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
# js-maker
|
||||
|
||||
A compact Racket-to-JavaScript string maker macro.
|
||||
js-maker is a deliberately small syntax-driven Racket-to-JavaScript string
|
||||
maker. The public API is intentionally one macro:
|
||||
|
||||
This js-maker 3 package is a clean restart from `js-transform.rkt`. It exports
|
||||
only:
|
||||
```racket
|
||||
(require js-maker)
|
||||
(js (define (square x) (return (* x x))))
|
||||
```
|
||||
|
||||
- `js`
|
||||
- `js1`
|
||||
|
||||
There is deliberately no `js/expression` compatibility macro in this branch.
|
||||
Use `js1` when the expression-level generator is needed directly.
|
||||
js-maker 3 keeps the implementation compact and supports ordinary `let`,
|
||||
`let*`, and tail-recursive named `let` loops while preserving Racket binding
|
||||
semantics. Demos are in `demo/`; regression tests are in `testing/`.
|
||||
|
||||
Reference in New Issue
Block a user