Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

gitlab.com/spritely/guile-hoot


https://gitlab.com/spritely/guile-hoot

Implement string-length, string-ref

Also fix characters to print more normally

49be53cdc6090ed37e32ab8885323cdd0e8cfe0f authored over 1 year ago by Andy Wingo <[email protected]>
Bytevectors working

* design/log.md: Add entry.
* guix.scm: Bump guile.
* module/hoot/compile.scm: Support different...

41d0f50912f3d707c1d215eb54d7521b5c4d2673 authored over 1 year ago by Andy Wingo <[email protected]>
Rely on Hoot-specific canonicalization in GUile

* module/hoot/compile.scm (lower-to-wasm): Remove unboxed struct field
support.
* guix.scm (guil...

c9da019c0e4c01a6a0292afa7abbde6c6b2b430a authored over 1 year ago by Andy Wingo <[email protected]>
Struct access implemented

Unfortunately this is not testable yet, as there is no way to get a
vtable into the compilation ...

fe2639637845a7a12b6562b3e663fc4dedd9be9e authored over 1 year ago by Andy Wingo <[email protected]>
Closures working

8b7c5a01309fa740ae7a17e9cde0125e3966e717 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'fix-make-clean' into 'main'

Don't delete examples/basic-types.js during 'make clean'.

Closes #30

See merge request spritel...

114a3b76aa906e0a7206a006d94b4c402f91a22f authored over 1 year ago by terpri <[email protected]>
Merge branch '8-unbinaryen' into 'main'

Resolve "Remove dependency on binanaryen (assemble basic-types.wat and reflect.wat)"

Closes #8
...

066fbcf60e39a278e9aea6eae4d3ae24971eec7b authored over 1 year ago by terpri <[email protected]>
remove binaryen dependency

* guix.scm (binaryen): Remove package definition...
(guile-hoot): and its use as a guile-hoot in...

7bccc06caaedc12ed2f41e3c4652909f8f4b0daf authored over 1 year ago by Robin Templeton <[email protected]>
remove wasm-as references

* configure.ac:
* pre-inst-env.in: Remove wasm-as check and WASM_AS variable.

0232050e441a0679f54ea92c73feb68ac1dc3b6f authored over 1 year ago by Robin Templeton <[email protected]>
use assemble-wasm for WAT assembly

* Makefile.am: Use assemble-wasm for WAT assembly. Remove
BINARYEN_FEATURES variable.

822dd31454c81b0835bb3da5fee5dc9c396a20fe authored over 1 year ago by Robin Templeton <[email protected]>
* module/Makefile.am: Add assemble-wasm script to SOURCES.

622591291ecd5bda515aea50fdea60529047a9bc authored over 1 year ago by Robin Templeton <[email protected]>
fix missing unquote

* module/wasm/wat.scm (parse-wat) <parse-block>: Add missing unquote for
`nullable?' in match cl...

68a74423a5566bfc7912a37cbb678b0c46ec7eb3 authored over 1 year ago by Robin Templeton <[email protected]>
return nonnegative integers from $bytevector-ref

* js-runtime/reflect.wat ($bytevector-ref): Use `array.get_u' instead of
`array.get'.

906be1bb1da2efa633dbf6e40c3826a47884f4f6 authored over 1 year ago by Robin Templeton <[email protected]>
remove reftype operand checks and accept alternative syntax

* module/wasm/wat.scm (parse-wat) <unfold-instruction>: Remove
`id-or-idx?' checks for reftype o...

4720fd9d2b7f9ae95ffb47bb0ee20b0589f8b836 authored over 1 year ago by Robin Templeton <[email protected]>
Fix compilation for negative integers in fixnum range.

6a193bd4dbc469c1cda0f106c2bee25bc64889f9 authored over 1 year ago by David Thompson <[email protected]>
Don't delete examples/basic-types.js during 'make clean'.

2fdd0226cd082e50b7727c6d435866a10d9c9648 authored over 1 year ago by David Thompson <[email protected]>
Merge branch '29-typo-fix' into 'main'

Resolve "typo fix"

Closes #29

See merge request spritely/guile-hoot!34

57cd7e6adcc5a19034e5e158d5f2fe9f763a30a8 authored over 1 year ago by terpri <[email protected]>
* module/wasm/wat.scm (parse-wat): Fix typo.

c2ecfc55319390435693ea373a791471569f7bbd authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '8-remove-dependency-on-binanaryen-assemble-wasm-script' into 'main'

add assemble-wasm script

See merge request spritely/guile-hoot!33

68edd59e3bb0f3508b7c6bce14a9e4b05d6f8508 authored over 1 year ago by terpri <[email protected]>
* module/scripts/assemble-wasm.scm: New script.

c796ed13700b016b135b422ea080c0d0d92cf098 authored over 1 year ago by Robin Templeton <[email protected]>
Correct copyright notice and etc of compile-wasm.scm script.

b7ad1f0596b0651982aeef59567e3f3dfde84a39 authored over 1 year ago by Christine Lemmer-Webber <[email protected]>
Update license headers to correctly be Apache v2

Closes #15.

6bb60bed417a294f91c2eec046adb47420b89282 authored over 1 year ago by Christine Lemmer-Webber <[email protected]>
Merge branch '18-single-operand-ref-type-instructions' into 'main'

Resolve "single-operand ref type instructions"

Closes #18

See merge request spritely/guile-hoo...

037ce4d15781b0a4e98161999bb4e81fde6a00fb authored over 1 year ago by terpri <[email protected]>
nullable ref-type instructions

* module/wasm/assemble.scm (assemble-wasm) <emit-gc-ht>
<emit-gc-nullable-ht>: New procedures.
*...

3d8b3ddb864d17b16ab673d23e0ca4a578991beb authored over 1 year ago by Robin Templeton <[email protected]>
guix: Update commit for guile-tailify.

c85d52b4d8a51f69d85be54526f6546489254e7b authored over 1 year ago by David Thompson <[email protected]>
Update set of unimplemented primcalls

c41818ae95dbf6c11bf0356005f71c280fdc2e46 authored over 1 year ago by Andy Wingo <[email protected]>
Untested code for closures

Need to change Guile to emit total nfree on closure-ref, closure-set so
that we can cast to the ...

a51127d1d4a81ad00f7cff8c21ebfe33074814d4 authored over 1 year ago by Andy Wingo <[email protected]>
Compile bv-length primcall

bv-contents is sadly not implementable yet

7cb36170d5d0343121834e3d1bcf58491e8432f0 authored over 1 year ago by Andy Wingo <[email protected]>
Compile box, box-ref, box-set! primcalls

783eb3b0bc1a8604c0563a629c864da480aac214 authored over 1 year ago by Andy Wingo <[email protected]>
Compile make-vector, vector-ref, etc primcalls

c0d4a9cdf057b33ec892577ee1335b5e384a87e9 authored over 1 year ago by Andy Wingo <[email protected]>
Compile cons, car, cdr primcalls

52a9799e87138d7d12bc63ee93a0d3d92e5617e6 authored over 1 year ago by Andy Wingo <[email protected]>
Compile $throw terms

28e51cd962067bd139e40c4df27fa8478d34255b authored over 1 year ago by Andy Wingo <[email protected]>
Split standard library out to (hoot stdlib)

e5e2680ad8f0a82530ff9a9c1efc5ed82bbb923d authored over 1 year ago by Andy Wingo <[email protected]>
Fix beyond-relooper bug for merge continuations

Push the right label; oops :)

0ad2e539f07694d7f2b08942a8ee798736c63a1e authored over 1 year ago by Andy Wingo <[email protected]>
guix: Update commit for guile-tailify.

7d928e357b5afe0d64917c4d6c4c9c9355c0b05a authored over 1 year ago by David Thompson <[email protected]>
Update log

Remove bits about object initialization as the compiler now gets `cons`
directly.

60c1e3bf2390438216bd2e02b58b191e74d5e023 authored over 1 year ago by Andy Wingo <[email protected]>
Use built-in tailification and unify-returns from Guile

Using the wasm32-unknown-hoot target triple selects Hoot-specific
backend lowering of CPS.

7f735b045164d6b91022b7179bf063213f3cde24 authored over 1 year ago by Andy Wingo <[email protected]>
Use new guile wip-tailify

a51f44a0ec6a9cd1d16e4fb51c98d98884083577 authored over 1 year ago by Andy Wingo <[email protected]>
Add guile.m4 to acinclude

This way a bootstrap without guile.m4 in the environment will error in a
sensible way at configu...

a69a6c92a429e14de26900d0184908ac1834b664 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch '19-new-instructions' into 'main'

Resolve "new instructions"

Closes #19

See merge request spritely/guile-hoot!23

698723563eeb47828a72c4629ffa62354eb76dea authored over 1 year ago by terpri <[email protected]>
new wat instructions

* module/wasm/wat.scm (parse-wat): Add parser support for new
instructions: array.get, array.get...

d3aac8b7738ce45a0946bc9c2ab11ee04ac90743 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '16-string-heap-types' into 'main'

Resolve "string heap types"

Closes #16

See merge request spritely/guile-hoot!20

025fd5c695eaccf3b11183a2e988f04a8aec8f33 authored over 1 year ago by terpri <[email protected]>
string heap types

* module/wasm/wat.scm (parse-wat) <parse-heap-type>: Parse `string' and
`stringview_iter' as hea...

46d9d078624b590a838b9f89a9780d81ccac888e authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '17-constant-table-initializers' into 'main'

Resolve "constant table initializers"

Closes #17

See merge request spritely/guile-hoot!21

04779f212ffad3223d61a2cdcfb41d6cf0a18cbc authored over 1 year ago by terpri <[email protected]>
* module/wasm/wat.scm (parse-wat): Allow constant table initializers.

712f92a4851538c2905e7274b4b73041a8b9af28 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '20-modify-syntax-of-wat-files-2' into 'main'

Resolve "modify syntax of wat files"

Closes #20

See merge request spritely/guile-hoot!25

cf49022a46c629bc962cd4029ad4e23443c33725 authored over 1 year ago by terpri <[email protected]>
annotate decimal values with hex equivalents

* examples/basic-types.wat:
* js-runtime/reflect.wat: Annotate values converted to decimal for
W...

003791b992d410ae4d3bbafdfe5857edec609a82 authored over 1 year ago by Robin Templeton <[email protected]>
convert WAT hex constants to decimal

* examples/basic-types.wat:
* js-runtime/reflect.wat: Convert hexadecimal constants to decimal.

f8698089a32812a111ed35f931c7d02b54341388 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '22-primcalls-bitwise-logical-operations' into 'main'

Resolve "primcalls: bitwise logical operations"

Closes #22

See merge request spritely/guile-ho...

e2679e58b85be321be9c98c137edb40713c1dabe authored over 1 year ago by terpri <[email protected]>
Merge branch '23-invalid-default-alignment-values-for-memory-instructions' into 'main'

Resolve "invalid default alignment values for memory instructions"

Closes #23

See merge reques...

eca0fc5cf0d7eeac0920057fb286f533104bbd27 authored over 1 year ago by terpri <[email protected]>
fix natural alignments for memory instructions

* module/wasm/wat.scm (natural-alignment): Return log2(n) for n-octet
operations (e.g., 3 for i6...

aa04969dbade62ec0a5fc61658b06f327f0c9eac authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch 'autotoolsify' into 'main'

Add autotools build system

See merge request spritely/guile-hoot!26

30ea8f93923a4ab262273c85ee9984a69ba29d49 authored over 1 year ago by David Thompson <[email protected]>
Add autotools build system.

7774463b71a306d07e79be48056f8df7afab7be7 authored over 1 year ago by David Thompson <[email protected]>
Add Guix package recipe.

96e5433a6f5ad089e1f87b232cdccf3899dd982a authored over 1 year ago by David Thompson <[email protected]>
Update file README.md

caa8c936ae6da54b7115b95e84187a38f25ac943 authored over 1 year ago by Danny O'Brien <[email protected]>
Merge branch 'un-updates' into 'main'

Remove references to "guile-hoot-updates", we're just "guile-hoot" now

See merge request sprite...

39f83c603febdcd70c26247575f2737351060790 authored over 1 year ago by David Thompson <[email protected]>
Remove references to "guile-hoot-updates", we're just "guile-hoot" now

844ece09a6828cad54d261fcb7e898e1a483d0f0 authored over 1 year ago by Christine Lemmer-Webber <[email protected]>
bitwise logical primcalls

* module/hoot/compile.scm (lower-to-wasm) <logand, logior, logxor>
<logsub>: Implement bitwise l...

49d93d3ee5099a7cee8426efe4bd3cff2ca8a892 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '21-struct-get-by-field-name' into 'main'

Resolve "struct.get by field name"

Closes #21

See merge request spritely/guile-hoot-updates!27

8d0fc4419e6271f0add63e3fb397bbbda9160b5c authored over 1 year ago by terpri <[email protected]>
struct access by field name

* module/wasm/resolve.scm (resolve-wasm): When registering struct
fields, unconditionally return...

01997c067c410622130bd38db3709117d0586ae3 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '13-value-typed-if' into 'main'

Resolve "value-typed if"

Closes #13

See merge request spritely/guile-hoot-updates!19

1f2098618a045d6d08f5b69c086e0efb4bc8230e authored over 1 year ago by terpri <[email protected]>
parse value types as block types for `if'

* module/wasm/wat.scm (parse-wat) <parse-block-type>: Parse value types
as block types for `if' ...

01d1ca46af3eb6351342a0f67189d0e7de870b22 authored over 1 year ago by Robin Templeton <[email protected]>
Notes from 2023-05-22 Hoot sync meeting

9b1141ce9d5bfc91743b58704f9b1f258751490f authored over 1 year ago by Christine Lemmer-Webber <[email protected]>
Merge branch '12-fix-br_table-parsing' into 'main'

Resolve "fix br_table parsing"

Closes #12

See merge request spritely/guile-hoot-updates!18

98fdce60b6621220645148a2f9bb14ef2eb59554 authored over 1 year ago by terpri <[email protected]>
fix br_table parsing

* module/wasm/wat.scm (parse-wat) <parse-block>: Keep target list in the
specified order and use...

ec4f8d9cd5608e669c37388ce0d9c86fd1eb3bb9 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '11-rec-groups-support' into 'main'

Resolve "rec-groups support"

Closes #11

See merge request spritely/guile-hoot-updates!15

ead68d8dd56ba9c1f7cf77a3a532cd011f62a20c authored over 1 year ago by terpri <[email protected]>
* test/test-wasm-assembler.scm: Add initial rec-group tests.

9e0610ca12b2641ec3a13d9e81a56cd325c0bb05 authored over 1 year ago by Robin Templeton <[email protected]>
refactor rec-group and sub-type parsing

* module/wasm/wat.scm (parse-wat) <parse-field>: Renamed from
parse-field-type. Allow abbreviati...

219658161064b33469733ed9f4266adb4fb0bff9 authored over 1 year ago by Robin Templeton <[email protected]>
fix array-type parsing

* module/wasm/wat.scm (parse-wat) <parse-array-type, parse-prim-type>:
Fix list-depth bug in arr...

7901b3bafe7b1d14914713b370e20a5bf35e6ba9 authored over 1 year ago by Robin Templeton <[email protected]>
fix sub-type parsing

* module/wasm/wat.scm (parse-wat): Update WAT syntax for sub-types and
allow them in new context...

1920edbe9d5ab57b67940245ca0d507717217143 authored over 1 year ago by Robin Templeton <[email protected]>
rec-group parsing

* module/wasm/wat.scm (parse-wat): Recognize top-level `rec' sections.
(parse-wat) <parse-storag...

ba7ea0a613ccb367879aa238ea8f8f3c41907a23 authored over 1 year ago by Robin Templeton <[email protected]>
add `final?' field to subtype records

* module/wasm/types.scm (<sub-type>): Add `final?' field. All references
updated.
* module/wasm/...

89be07781fc12dd86645b1f2ee74eb94dc8f2446 authored over 1 year ago by Robin Templeton <[email protected]>
Add a loop-to-500-million test case

4bf182e61650e6cfa0fa2c054f36320e5eb272d4 authored over 1 year ago by Andy Wingo <[email protected]>
Implement some more primcalls

290993e8b81cd4ccb1c797813d28d45a19fab744 authored over 1 year ago by Andy Wingo <[email protected]>
Fix some bugs compiling loops

We were managing the context incorrectly

4c7542cd77870d91735edbe9bebc89cedaff6de2 authored over 1 year ago by Andy Wingo <[email protected]>
Fix char? compilation

bfbf8de1a7006bca2e443324f3837b2aedce69dd authored over 1 year ago by Andy Wingo <[email protected]>
Add logic to elide return arity checks for introduced wrappers

ab03bc3d270f71891a5bb49f4a74e7eeab9cfaec authored over 1 year ago by Andy Wingo <[email protected]>
Add implementations of sub, sub/immediate, mul

No overflow or slow-path handling yet though.

c722e087ded0cf79e367708d26eec132f2ceeffa authored over 1 year ago by Andy Wingo <[email protected]>
Update log

ef0e904fca258baba3611b3e371dae118f784418 authored over 1 year ago by Andy Wingo <[email protected]>
Add recursive fac and fib tests

eb154a2c4f4b703fb3a299b07e13764e9b738954 authored over 1 year ago by Andy Wingo <[email protected]>
Proper typing for known-arity callees

We don't need to do the $kvarargs thing when calling functions with
known arity; we can pass arg...

db94fbd2d15bb0a32e4d1cf475bc027547d24836 authored over 1 year ago by Andy Wingo <[email protected]>
Unify returns for tailified CPS

The return stack has to have a unified type, and the type that makes
sense is $kvarargs; therefo...

a37cd104b329db4d8d9df5d62608fe51e66998a4 authored over 1 year ago by Andy Wingo <[email protected]>
Remove support for restore1

This instruction is no longer emitted by tailification.

2a424f8c5275d9817a3c613adffcc1d7337ffb9a authored over 1 year ago by Andy Wingo <[email protected]>
Add stub implementations for <, <=, = slow paths

* module/hoot/compile.scm (compute-stdlib): Add stubs that just trap.

b63732b0395a4d37cfcd337285df4c4f6a06c9d3 authored over 1 year ago by Andy Wingo <[email protected]>
Add unify-returns pass

* module/hoot/unify-returns.scm: New file. Could be better; compiling
the wrapper conts will st...

c15530f9793f5cb6008474c3a82e69a369b07089 authored over 1 year ago by Andy Wingo <[email protected]>
Require a new Guile (update the manifest)

94c5967959ef10437aec8030a6c76f6d2e4cf0d5 authored over 1 year ago by Andy Wingo <[email protected]>
Non-tail calls working!!

493356d1ee1fcf2fb80431a889ca89aacf775c1c authored over 1 year ago by Andy Wingo <[email protected]>
Addition working, woo

402dee3e12b9eb1d431006c9b0fad30414ef6062 authored over 1 year ago by Andy Wingo <[email protected]>
Fix a bunch of bugs; compile restore1 like restore

41569967ace8f240bd801292a62c1eb1d37cfeda authored over 1 year ago by Andy Wingo <[email protected]>
Conditionals working

Had to fix some of the untested code, of course!

e41714d40d2f47d8a43b017b40c6e859ac29c46a authored over 1 year ago by Andy Wingo <[email protected]>
Fix calls with arguments

ea5a5deb108de620fbd899a4f916398b15b8ebc3 authored over 1 year ago by Andy Wingo <[email protected]>
Add tests that calls work (!)

e5ff2199170be4f19ff371e7f894904441664a5c authored over 1 year ago by Andy Wingo <[email protected]>
First draft of save/restore instructions

Not yet tested, but we should be close to working. The idea is to save
unboxed values in linear...

852a389326801985fc969c9a230395e1e438c432 authored over 1 year ago by Andy Wingo <[email protected]>
Add support for addressing memories by name

Also adds support for multi-memory.

c724d09655ea57d23e3d02001e4b67bea176fcc2 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch '10-add-gc-proposal-types-to-parse-heap-type' into 'main'

Resolve "Add GC-proposal types to `parse-heap-type`"

Closes #10

See merge request spritely/gui...

82149edde2c9e9c47877e75bc4679007fc9da3c9 authored over 1 year ago by terpri <[email protected]>
parse GC heap types and ref types

* module/wasm/wat.scm (parse-wat) <parse-heap-type>: Add heap types from
the GC proposal.
(parse...

a9cee3343aca148ccbaa7f63d18bc540499d8f54 authored over 1 year ago by Robin Templeton <[email protected]>
Add more TODOs in compile.scm

333d1e2488346e16761f920bfaed7d68f45ff54b authored over 1 year ago by Andy Wingo <[email protected]>
Update ABI.md

3a2599174fda4212d40d3ed31d264387a01f5d7e authored over 1 year ago by Andy Wingo <[email protected]>
Update log

554faf8aba825e952ee508f7d3b8b2648b68314f authored over 1 year ago by Andy Wingo <[email protected]>
Use a better primcall matcher

Also fixes a couple typos

4e5075885d0e3bbc652e62c30b445f1257db0ca7 authored over 1 year ago by Andy Wingo <[email protected]>