diff options
| author | Your Name <agrawalshagun07@gmail.com> | 2025-04-26 02:53:43 +0530 |
|---|---|---|
| committer | Your Name <agrawalshagun07@gmail.com> | 2025-04-26 02:53:43 +0530 |
| commit | e0e982e4e66b94dd1dfb1b7e0de80692729c065d (patch) | |
| tree | 7f39528fe2a3d2daf0f41b1ce1cdd42c7b135017 /README.md | |
| parent | 0f07ef8ebfcbb7f9077246eec08fd1435cdaee46 (diff) | |
Update README to include WASM compilation post.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,6 +6,8 @@ Follows the book [Writing a C Compiler by Nora Sandler](https://nostarch.com/wri Post about my experience implementing the book [writing-a-c-compiler-in-clojure](https://shagunagrawal.me/posts/writing-a-c-compiler-in-clojure/). +Post on how to compile to WASM [compiling-clojure-to-webassembly](https://shagunagrawal.me/posts/compiling-clojure-to-wasm-image/). + ## Prerequisites * [Clojure](https://clojure.org) @@ -20,15 +22,18 @@ To see all available tasks in the project, run `bb tasks`: ``` sh bb tasks - The following tasks are available: clean Removes target folder. nrepl Starts a nrepl session. storm Starts a nrepl session with storm debugger. +lib:run:main Run's main only for cljcc library. +lib:build:jar Builds uberjar only for cljcc lib. +lib:build:wasm Builds native WASM image. cli:run:main Run's main CLI function. cli:build:jar Builds uberjar for CLI. cli:run:jar Runs CLI jar. +cli:build:wasm Builds native image for WASM. cli:build:native Builds native image for CLI. ``` |
