-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
185 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ target/ | |
.majestic_history | ||
test-streams-in.txt | ||
test-streams-out.txt | ||
|
||
wapm_packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,8 +69,8 @@ ferramenta ~cargo~. | |
#+begin_src toml :tangle Cargo.toml | ||
[package] | ||
name = "majestic-lisp" | ||
version = "0.4.0" | ||
authors = ["Lucas Vieira <[email protected]>"] | ||
version = "0.4.2" | ||
authors = ["Lucas S. Vieira <[email protected]>"] | ||
description = "Lisp dialect built with Rust as a literate program" | ||
license = "MIT" | ||
keywords = ["lisp", "language", "dialect", "interpreter"] | ||
|
@@ -114,6 +114,36 @@ arquivo ~rust-toolchain~: | |
nightly | ||
#+end_src | ||
|
||
* Configuração para exportação de WebAssembly | ||
|
||
A configuração a seguir (arquivo ~wapm.toml~) determina a configuração | ||
necessária para a publicação do pacote do Majestic Lisp no [[https://wapm.io/][WAPM.io]]. Dessa forma, | ||
o projeto poderá também ser utilizado no [[https://webassembly.sh/][WebAssembly.sh]]. | ||
|
||
#+begin_src toml :tangle wapm.toml | ||
[package] | ||
name = "luksamuk/majestic-lisp" | ||
version = "0.4.2" | ||
description = "Lisp dialect built with Rust as a literate program" | ||
license = "MIT" | ||
license-file = "LICENSE" | ||
repository = "https://github.com/luksamuk/majestic-lisp" | ||
wasmer-extra-flags = "--enable-bulk-memory" | ||
|
||
[[module]] | ||
name = "majestic" | ||
source = "./target/wasm32-wasi/release/majestic-lisp.wasm" | ||
abi = "wasi" | ||
|
||
[module.interfaces] | ||
wasi = "0.1.0-unstable" | ||
|
||
[[command]] | ||
name = "majestic" | ||
module = "majestic" | ||
package = "luksamuk/majestic-lisp" | ||
#+end_src | ||
|
||
* Compilação | ||
|
||
Para compilarmos o projeto, podemos criar um arquivo ~Makefile~ que | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "majestic-lisp" | ||
version = "0.4.0" | ||
authors = ["Lucas Vieira <[email protected]>"] | ||
version = "0.4.2" | ||
authors = ["Lucas S. Vieira <[email protected]>"] | ||
description = "Lisp dialect built with Rust as a literate program" | ||
license = "MIT" | ||
keywords = ["lisp", "language", "dialect", "interpreter"] | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Lockfile v4 | ||
# This file is automatically generated by Wapm. | ||
# It is not intended for manual editing. The schema of this file may change. | ||
[modules."luksamuk/majestic-lisp"."0.4.2".majestic] | ||
name = "majestic" | ||
package_version = "0.4.2" | ||
package_name = "luksamuk/majestic-lisp" | ||
package_path = "luksamuk/[email protected]" | ||
resolved = "local" | ||
resolved_source = "local" | ||
abi = "wasi" | ||
source = "./target/wasm32-wasi/release/majestic-lisp.wasm" | ||
[commands.majestic] | ||
name = "majestic" | ||
package_name = "luksamuk/majestic-lisp" | ||
package_version = "0.4.2" | ||
module = "majestic" | ||
is_top_level_dependency = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "luksamuk/majestic-lisp" | ||
version = "0.4.2" | ||
description = "Lisp dialect built with Rust as a literate program" | ||
license = "MIT" | ||
license-file = "LICENSE" | ||
repository = "https://github.com/luksamuk/majestic-lisp" | ||
wasmer-extra-flags = "--enable-bulk-memory" | ||
|
||
[[module]] | ||
name = "majestic" | ||
source = "./target/wasm32-wasi/release/majestic-lisp.wasm" | ||
abi = "wasi" | ||
|
||
[module.interfaces] | ||
wasi = "0.1.0-unstable" | ||
|
||
[[command]] | ||
name = "majestic" | ||
module = "majestic" | ||
package = "luksamuk/majestic-lisp" |