Thursday, August 30, 2018

Re: [NEW] devel/wabt

On Thu, Aug 30, 2018 at 05:12:35PM -0400, Brian Callahan wrote:
> Hi Fabian --
>
> On 08/30/18 16:42, Fabian Raetz wrote:
> > Hi all.
> >
> > i've been using the "WebAssembly Binary Toolkit" lately and thought i create a
> > proper port for it.
> >
> > The port doesn't support running the tests as they require
> > some git submodules including
> > the gtest source. Sadly, my cmake skills are not good enough to make the build system
> > use gtest from ports so i decided against it for the moment.
> >
> > In case you wanna compile a small WebAssembly programm yourself, take a look at
> > https://jameshfisher.com/2017/10/13/webassembly-hello-world.html
> >
> > Cheers,
> > Fabian
> >
> > HOMEPAGE: https://github.com/WebAssembly/wabt
> >
> > DESCR:
> > WABT (we pronounce it "wabbit") is a suite of tools for WebAssembly, including:
> >
> > wat2wasm: translate from WebAssembly text format to the WebAssembly binary
> > format
> > wasm2wat: the inverse of wat2wasm, translate from the binary format back
> > to the text format (also known as a .wat)
> > wasm-objdump: print information about a wasm binary. Similiar to objdump.
> > wasm-interp: decode and run a WebAssembly binary file using a stack-based
> > interpreter
> > wat-desugar: parse .wat text form as supported by the spec interpreter
> > (s-expressions, flat syntax, or mixed) and print "canonical"
> > flat format
> > wasm2c: convert a WebAssembly binary file to a C source and header
> >
> >
>
> Is this different from the wabt port I ok'd here?
> https://marc.info/?l=openbsd-ports&m=152950481400669&w=2

There are some subtle differences. The port I sent is in the category "devel"
instead of "lang". Also, I packaged version 1.0.5 where the local patch is
already included. DESCR is also slightly different with regards to formating.

Otherwise both port are equal :)

>
> I'm still waiting for an OK to import that one.
>
> ~Brian

No comments:

Post a Comment