Skip to content

Commit

Permalink
Visitor pattern and memory builder (#5)
Browse files Browse the repository at this point in the history
* Start fresh

* Stopping point

* another stopping point

* Update test.yml

* fix gleam format issue

---------

Co-authored-by: Rishit Chaudhary <[email protected]>
  • Loading branch information
jtenner and rishitc authored Sep 23, 2024
1 parent 5b7120c commit 6cf3f3c
Show file tree
Hide file tree
Showing 40 changed files with 9,577 additions and 1,569 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: erlef/setup-beam@v1
with:
otp-version: "27.0.1"
gleam-version: "1.4.1"
gleam-version: "1.5.0"
rebar3-version: "3"
# elixir-version: "1.15.4"
- run: gleam deps download
Expand Down
73 changes: 0 additions & 73 deletions CODE_OF_CONDUCT.md

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Parse, encode, build, and analyze WebAssembly modules using `shine_coder`! This
a need to conquer and understand the new WebAssembly GC specification, so all the functions in this library
are designed to follow the specification as closely as possible.

Currently this project is in an Alpha state and the developer consuming this library is required to understand
Currently this project is in a discovery state. Development on this project hasn't hit a point where it can
be published to hex and the developer consuming this library is required to understand
the structure of WASM modules in order to build them. For instance, creating a module with a simple `add`
function requires the following steps:

Expand Down Expand Up @@ -65,7 +66,7 @@ intricacies of building WASM modules.

## Goals

Some of these goals are personal,
Some of these goals are personal,

1. Create a library that makes WebAssembly accessible to the Gleam package ecosystem
2. Be compatible with JavaScript and Gleam Targets
Expand All @@ -75,7 +76,6 @@ Some of these goals are personal,

## Maintainers

Special Thanks to

Rishit Chaudhary <[email protected]>
Special Thanks to:

**Rishit Chaudhary** <[email protected]>
3 changes: 3 additions & 0 deletions gleam.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ version = "0.0.1"
#
description = "A Web Assembly Encoder and Decoder written in Gleam"
licences = ["MIT"]
gleam = ">= 0.32.0"
# repository = { type = "github", user = "", repo = "" }
# links = [{ title = "Website", href = "" }]
#
Expand All @@ -17,6 +18,8 @@ gleam_stdlib = ">= 0.34.0 and < 2.0.0"
ieee_float = ">= 1.0.0 and < 2.0.0"
pprint = ">= 1.0.3 and < 2.0.0"
simplifile = ">= 2.1.0 and < 3.0.0"
shine_tree = ">= 0.0.3 and < 1.0.0"
gleamy_structures = ">= 1.0.0 and < 2.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
10 changes: 7 additions & 3 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@
packages = [
{ name = "filepath", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "EFB6FF65C98B2A16378ABC3EE2B14124168C0CE5201553DE652E2644DCFDB594" },
{ name = "glam", version = "2.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glam", source = "hex", outer_checksum = "66EC3BCD632E51EED029678F8DF419659C1E57B1A93D874C5131FE220DFAD2B2" },
{ name = "gleam_erlang", version = "0.25.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "054D571A7092D2A9727B3E5D183B7507DAB0DA41556EC9133606F09C15497373" },
{ name = "gleam_stdlib", version = "0.39.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "2D7DE885A6EA7F1D5015D1698920C9BAF7241102836CE0C3837A4F160128A9C4" },
{ name = "gleam_erlang", version = "0.26.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "3DF72F95F4716883FA51396FB0C550ED3D55195B541568CAF09745984FD37AD1" },
{ name = "gleam_stdlib", version = "0.40.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "86606B75A600BBD05E539EB59FABC6E307EEEA7B1E5865AFB6D980A93BCB2181" },
{ name = "gleamy_structures", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleamy_structures", source = "hex", outer_checksum = "FF1B7600123B2B7C15E91BEBE6F417B4003928BF4282EF01A74A792B4ED6985A" },
{ name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" },
{ name = "ieee_float", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "ieee_float", source = "hex", outer_checksum = "A9C8728DE26A8AA563FF2F49F8802C8875A41BAE86024B34A458C6EB821F1F00" },
{ name = "ieee_float", version = "1.0.1", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "ieee_float", source = "hex", outer_checksum = "F0585C3CF3F93634F40C8EAFBA7AEC98584E8B7B94D1F88C4C8EB4B51732F912" },
{ name = "pprint", version = "1.0.3", build_tools = ["gleam"], requirements = ["glam", "gleam_stdlib"], otp_app = "pprint", source = "hex", outer_checksum = "76BBB92E23D12D954BD452686543F29EDE8EBEBB7FC0ACCBCA66EEF276EC3A06" },
{ name = "shine_tree", version = "0.0.6", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "shine_tree", source = "hex", outer_checksum = "AA365F6E10934F15B086CE9EB2ACF63B9992FA1F29ECBADA7A4B1E95241891E7" },
{ name = "simplifile", version = "2.1.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "BDD04F5D31D6D34E2EDFAEF0B68A6297AEC939888C3BFCE61133DE13857F6DA2" },
]

[requirements]
gleam_stdlib = { version = ">= 0.34.0 and < 2.0.0" }
gleamy_structures = { version = ">= 1.0.0 and < 2.0.0" }
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
ieee_float = { version = ">= 1.0.0 and < 2.0.0" }
pprint = { version = ">= 1.0.3 and < 2.0.0" }
shine_tree = { version = ">= 0.0.3 and < 1.0.0" }
simplifile = { version = ">= 2.1.0 and < 3.0.0" }
Loading

0 comments on commit 6cf3f3c

Please sign in to comment.