Skip to content

Transform ParenScript, a subset of Common Lisp, to ES modules, compatible with Deno and web browsers (and Node.js too).

Notifications You must be signed in to change notification settings

gr0uch/parenscript-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ParenScript Builder

Transform ParenScript, a subset of Common Lisp, to JavaScript modules, compatible with Deno and web browsers (and Node.js too).

Somewhat based on sigil.

Install

./build.sh

Usage

psbuild <filename1.lisp> ... <filenameN.lisp>

Output is written to stdout.

ES Modules

To import an ES Module:

(import
  :default <name of variable>
  :names (<names of variables>)
  :path "./<path to module>.mjs")

To export an ES Module:

(export
  :default <name of variable>
  :names (<names of variables>))

License

WTFPL v2

About

Transform ParenScript, a subset of Common Lisp, to ES modules, compatible with Deno and web browsers (and Node.js too).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published