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

Merge branch 'bignum-addition' into 'main'

Bignum addition

See merge request spritely/guile-hoot!55

d5f51ab30313885c2d01b645ec43c7b398437307 authored over 1 year ago
bignum addition

* js-runtime/reflect.js (bignum_from_i32, bignum_add): New functions.
* module/hoot/stdlib.scm (...

803814a2e9ae8c8e64e80d537d9a887e7b9a6bd8 authored over 1 year ago
Merge branch 'vm-i64' into 'main'

vm: Add i64 operations

Closes #35

See merge request spritely/guile-hoot!54

c0bd6ffc03982e76583cdefacfdfab8c4dcbab15 authored over 1 year ago
Merge branch 'add-sub-immediate-hack' into 'main'

ADD/IMMEDIATE and SUB/IMMEDIATE hack

See merge request spritely/guile-hoot!53

43e6e686d7af9a5dbfd0f1dd649becb32d524c0f authored over 1 year ago
vm: Add i64 operations.

b54a847d0fe13937b47ce3807629c4835c1206cd authored over 1 year ago
Merge branch 'vm-memory' into 'main'

VM memory

Closes #38

See merge request spritely/guile-hoot!52

ea417f68a2d0a54733eb7aad014f3472fb926f0b authored over 1 year ago
Export current instruction listener.

b180ecdcdf30f979b350f6f7b65c111e42ce740d authored over 1 year ago
vm: Fix reversed argument order in 'call' instruction.

d66aa46af71070e409e3ba131865363f3d2191a2 authored over 1 year ago
vm: Call start function before returning instance.

8d953bcbbe95a955ddfe47f9af21e67766eee880 authored over 1 year ago
vm: Add wasm-instance-export-names procedure.

88509f8cb75f3fa9f713e640cfa68d6fa9cf25f5 authored over 1 year ago
vm: Fix function signature vector in validation phase.

df4d6989479af505464dfe886e10953b20e4e031 authored over 1 year ago
vm: Add support for linear memory instructions.

e614bea8445b24ad5f4135ea20a9f136d0256eac authored over 1 year ago
Merge branch 'vm-parametric-instructions' into 'main'

vm: Implement drop and select instructions.

Closes #40

See merge request spritely/guile-hoot!46

8ac0894eb7efb0c98dd887652711391cd21226c4 authored over 1 year ago
vm: Implement drop and select instructions.

5756f40ab98c86de761adea7e1574da1a30a6d5b authored over 1 year ago
Merge branch 'vm-v8-tests' into 'main'

Compare VM results to V8 during tests

Closes #33

See merge request spritely/guile-hoot!50

992e900f8b46d127f7154d875e3fee69a060553e authored over 1 year ago
vm: Run tests against V8, too.

9139569eebd3708fcbc8147b3b077e175fbfef52 authored over 1 year ago
Merge branch 'vm-fix-fallthrough' into 'main'

vm: Fix block fallthrough type checking

See merge request spritely/guile-hoot!49

7121b367847b980e5b5234c1e49b2a25c7ab7c15 authored over 1 year ago
vm: Fix block fallthrough type checking.

3025bb0746b7d2907bd633086aad9dc31b799da9 authored over 1 year ago
add/immediate and sub/immediate fixnum overflow

* module/hoot/compile.scm (lower-to-wasm) <add/immediate>
<sub/immediate>: Use the existing `$fi...

715cbe5135ca1996c0b3f9b2a9c88ef5ffe662cb authored over 1 year ago
Merge branch 'vm-finish-i32' into 'main'

vm: Implement i32.clz, i32.ctz, and i32.popcnt.

Closes #41

See merge request spritely/guile-ho...

2f1eb9642e52c9cca1f6545ba300ae080c732036 authored over 1 year ago
Merge branch '48-arithmetic-overflow' into 'main'

Fixnum * fixnum -> bignum

See merge request spritely/guile-hoot!51

1cdcf7881b4eec2ddb99c2b4ec0d30121e256860 authored over 1 year ago
mul primcall: detect fixnum overflow

* module/hoot/stdlib.scm (compute-stdlib): New function.
* module/hoot/compile.scm (lower-to-was...

42dafd45b795aca9ab4c6bd27338c544938075e6 authored over 1 year ago
Merge branch 'fix-guix-shell-cache' into 'main'

Move manifest.scm to ci-manifest.scm

See merge request spritely/guile-hoot!48

ee61fa72133e34078180192f0ec4f71f8155252e authored over 1 year ago
Merge branch '49-fixnum-fixnum-bignum' into 'main'

Resolve "Fixnum + fixnum -> bignum"

Closes #49

See merge request spritely/guile-hoot!47

417e79b3760fd2bb83c018c4fabc354c378eab39 authored over 1 year ago
add and sub primcalls: detect fixnum overflow

* module/hoot/stdlib.scm ($i32->bignum): New function.
($fixnum-add, $fixnum-sub): New functions...

97fc9f9646f69d32374d0c198e9648af5d8531fc authored over 1 year ago
Move manifest.scm to ci-manifest.scm.

e39176bf4bc837a54d704a92fd530410934580e3 authored over 1 year ago
vm: Implement i32.clz, i32.ctz, and i32.popcnt.

7ecb857d71637d4238801ccb9fcbba09ca53ccc8 authored over 1 year ago
Merge branch 'vm' into 'main'

Add the beginnings of a VM

See merge request spritely/guile-hoot!44

c3b409233a27b394c352982a03ba73e82b309966 authored over 1 year ago
Add VM.

b872d9694ba6db7a3ed29bbfcdefe693bc0026a7 authored over 1 year ago
Dynamic-wind is implemented, woooo

9c762d060004c8c3be446713e3eb22aa52f894e0 authored over 1 year ago
Bump guile dependency

35102e9b919bf286b7a43e78dac74e8d07f48883 authored over 1 year ago
abort-to-prompt working for unwind-only prompts

713fa48abf422f27752af431691108eb3bb12bae authored over 1 year ago
Fix parsing of struct.get_s, struct.get_u

fb075c924fe3fcf56e75c84a1b9d98269fdcc74d authored over 1 year ago
Tweak representation of dynprompt, dynwind

Dynwind will unwind the value stacks. Neither needs to unwind the
dynwind stack though, as unwi...

a1d741e8f9e90a0b86d2594a8b802fe12b1412ab authored over 1 year ago
Fix exports

5937044a0df696cc6b6f182905159106ec81d830 authored over 1 year ago
Minor fixen

3c7035947c40748ebf6ee085dae2ecff5225884e authored over 1 year ago
New module: (wasm stack)

A tool for validation

868d9cfe3cf282e85d678fb0c169f4f8a2682731 authored over 1 year ago
New module: (wasm symbolify)

Useful when linking and optimizing wasm modules.

0757f4be52f7f0c926a764ce409ae78d41a0a6d9 authored over 1 year ago
Merge branch 'small-parse+assemble-fixes' into 'main'

Small fixes for assembler and WAT parser

See merge request spritely/guile-hoot!43

515bc43f93fc6ab0fb38c4decda47c5e9d046342 authored over 1 year ago
Keep parsed instructions in list form.

For example: (i32.add) rather than just i32.add.

9c181d4fcde1cc1097dfc6f8dca22e6610fadf37 authored over 1 year ago
Handle integer block types in assembler.

eec845b4c83f5c9b6f1ecfe861bb3ccbbc728d52 authored over 1 year ago
Merge branch 'export-type-getters-verbose' into 'main'

Export type accessors and predicates.

See merge request spritely/guile-hoot!41

b212235cc1084ec8e1626908fb79aae20eaf9d02 authored over 1 year ago
Export type accessors and predicates.

43ec9b0861d3f51afbeabcd5fca976aabe95ba1a authored over 1 year ago
Enable prompt test

No abort-to-prompt though :)

816f759978330c8a8feff4ffc6dcdcc11568ef7d authored over 1 year ago
Fix $values; add values and apply tests

b4798acb36d584f2fd81675495b306d95fab69bc authored over 1 year ago
Bump V8 dependency

Also modify the tests, as the new V8 doesn't need the explicit
promise-awaiting logic.

4cdabde9085205ad5ea7cbc5c3edc531f72e8ab1 authored over 1 year ago
Fix ref.test, ref.cast parsing

Let's give this a go again

6bd46b73d3eb31f6a635804d8c32624ed26ff76b authored over 1 year ago
Fix apply error cases

2b5d8578d3f4e88fb20604332eded43edc8b7d2e authored over 1 year ago
Add compile.scm

fd7a0de9b0b4bed2431bae7951ae9c50008f49a1 authored over 1 year ago
Fix resolver bug for blocks returning a single reftype

8f740574edd0d322b4b7d2dad09747d1628d224d authored over 1 year ago
Merge branch 'fix-emacs-dir-locals' into 'main'

Greatly simplify Emacs .dir-locals.el config.

See merge request spritely/guile-hoot!42

064383306e86058b3208a3c556540c151092d8fb authored over 1 year ago
Add eval.scm, call.scm helpers

d24df9445d0170d81e4ecb3dd60e84e90d817afa authored over 1 year ago
Further work towards apply and values

Not sure this is working yet though

acca01b783c1653ef988beb61802067cf2e765d8 authored over 1 year ago
Implement optional lambda* arguments

Yay!

fa7c27bbd0ed584f849162bc51eec4aab4a33b70 authored over 1 year ago
Fix vars defined by joins

In a funny interaction between WebAssembly's type system, the Beyond
Relooper algorithm, and Gui...

9af3f640e8b356c3a5e8b0d1c0f4edcf1ad226b5 authored over 1 year ago
Greatly simplify Emacs .dir-locals.el config.

2d3a051237f3534ee2c932b4b86802e3ba418ee8 authored over 1 year ago
Add support for rest args

f75119387876b7d147b501839a2f35e08029319d authored over 1 year ago
Allow invoking via JS with more than 8 args

The code to grow the $argv table as needed wasn't being invoked.

b483c2935dae323a15809471aab4b18ae126529c authored over 1 year ago
Add $collect-rest-args stdlib function

It's possible to specialize this to the npositional of the call site but
as it's a fair amount o...

99415d9eacf8817ddcef83e1f43a0982157013c3 authored over 1 year ago
Add "undefined" value

This is an internal ABI detail that should never be exposed to the
user.

81a5751adb2783c172f1c6e47bced12ca7f7efbb authored over 1 year ago
Prepare for rest, opt args

eb6ce24b672a0f69a4fa0b999dac6a336629c7c9 authored over 1 year ago
Implement push-prompt, unwind primcalls

Also bump Guile dependency.

18fd6d17f34a25e6a3680486dcb0e49a68d9fa4b authored over 1 year ago
Add dynamic stack

* Makefile.am: Build reflect.wat with $(GUILD).
* js-runtime/reflect.wat: Add new dynstack types...

6e9816b1e7fca8804734a6cee5509656dd167910 authored over 1 year ago
Merge branch 'simpler-make-check' into 'main'

Simpler explanation of how to run the tests using guix shell

See merge request spritely/guile-h...

fc60e44910c23ff40629da75a4278746c0be7544 authored over 1 year ago
Merge branch 'dev-env-tweaks' into 'main'

Small fixes to pre-inst-env and automagic Geiser config

See merge request spritely/guile-hoot!40

a4a105c7b0b7e865757cd55a944a0fdc93e3c995 authored over 1 year ago
Simpler explanation of how to run the tests using guix shell

abab28ad77a04da204d15ab0bb1c74fee2944996 authored over 1 year ago
Configure Geiser Guile binary to be wrapped in pre-inst-env.

This puts the 'module' directory on Guile's load path by default so
'M-x run-guile' launches a R...

859329fda47bc44a0e005941a2a36049c1fd98e9 authored over 1 year ago
Fix GUILE_LOAD_PATH errors in pre-inst-env.

Extraneous ":" and a typo ("buildir" instead of "builddir").

9d8d6bb5458ec4d060d1534ccd0f426f7aaadcc4 authored over 1 year ago
Merge branch 'easier-ci-images' into 'main'

Make it easier to build/upload CI images.

See merge request spritely/guile-hoot!39

287fa3d7b6c15cc983361f50223d1d5394a77a78 authored over 1 year ago
Make it easier to build/upload CI images.

f41bef66f95cafa321c6d6ad4a5770dc1be73794 authored over 1 year ago
Add support for fsin/fasin/* instructions

a2a9f2d6ebb38a86115e13c760af1b753f7cb084 authored over 1 year ago
Add support for ffloor, fceiling, fsqrt

556e66d44620940b71ab871327e15d7911b8246c authored over 1 year ago
Add support for fabs

e00640decf4be98462723b783693a7b4d18c8cf6 authored over 1 year ago
Add support for fsub, fmul, fdiv

222d43160a8ab1524eea9323c7ad8fab379e6e57 authored over 1 year ago
Add support for fadd, fadd/immediate

aea735bb8e912be6880c21ba2bfd6b68129ef56c authored over 1 year ago
Implement multi-byte bytevector setters (untested)

We don't currently have a way to make mutable bytevectors, so for now
this isn't tested.

aafc36220b4cb1676aea7772cc53b4277d72e0c6 authored over 1 year ago
Implement bytevector float access for widths 32, 64

eb2ed829477d631f68acb1dc41c76444d0d18263 authored over 1 year ago
Implement bytevector integer access for widths 16, 32, 64

c1fe418970b78d3b194f34dd72eaa59bcd496e5e authored over 1 year ago
Target wasm32-unknown-hoot for CPS lowering too

This fixes the tree-il->cps lowering of u32 / s32

70c179aeb19ef6db9a5fdd89e1a0e8a0f8028299 authored over 1 year ago
Fix test runner to exit if *any* test failed, not just last test

f59b7dd07bb0333b613f530283057f8e91b3fb6d authored over 1 year ago
Wire up more s64/u64/scm conversions

3e2520ef1d2cf044ffbae5fb84d292e9bba18089 authored over 1 year ago
Implement f64->scm; wire up some more math insts to stubs

9380912b2f8c26f753e028b21f5f7f3225ebfc96 authored over 1 year ago
Wire up rsh/immediate, lsh/immediate

ab9a1fb7f16a186163dbf9e90cb679fb94e977f6 authored over 1 year ago
Wire up lsh

46378d5fd49ac1830b8bfbaf28e493bd3703210a authored over 1 year ago
Fix bug parsing wat with reftyped if

93d11a57e4248d8cfb88f3375c357ce1f566f97d authored over 1 year ago
Merge branch '32-fix-reftypes-parsing-bugs' into 'main'

Resolve "Fix reftypes parsing bugs"

Closes #32

See merge request spritely/guile-hoot!38

af0fb3621be7b0162dbda68a12f14409a6d48b4e authored over 1 year ago
hacks for heaptype parsing

* module/wasm/wat.scm (parse-wat): Remove predicates for heaptype
operands of ref.null, ref.cast...

6d911e8abb017ea3ee85f7a68b689c0d968cce69 authored over 1 year ago
Wire up "rsh" on fixnums

56e45223e7c48a2d5a82b4824b99fb30bce32c45 authored over 1 year ago
Emit runtime function calls for $add, etc slow paths

388f6a334303c3039eff3582d15baaff640af4ed authored over 1 year ago
Compile div, quo, rem, mod

f26f2915c543c628dc98b83fc08263b8857e8009 authored over 1 year ago
Merge branch 'fix-negative-fixnums' into 'main'

Fix compilation for negative integers in fixnum range.

Closes #31

See merge request spritely/g...

5f95b95b876210a63bd8aa7317fe0feeca1960b3 authored over 1 year ago
Atomic boxes working

b8251758c7b0919b0c9b9a03b7e4e7137ae90202 authored over 1 year ago
Wire up string-set! (but still unimplemented)

f0d9a7ae28066ce2b4d447ce0118de012ed506df authored over 1 year ago
Finish converting stdlib to wat

db8076840f7439e92676b92587cac76d94fc6d6c authored over 1 year ago
Fix parsing of imported globals using "import" syntax

0f2cbe8d75dac9afe506d9c8dee2c454992190c0 authored over 1 year ago
Move runtime functions over to wat

e28ae159d5713d8e82a2b0ee24793ee609f46269 authored over 1 year ago
Fix wat parsing of a number of GC and extended memory ops

2b0b1fab4c95937f94b23ce623d88fdae4c15fce authored over 1 year ago
Start moving over more of the stdlib to wat

It's easier to author wat than building wasm by hand, for big functions
anyway. Also it means w...

793c3aad33439dfdfb1d480b4219e71aa278805e authored over 1 year ago
Fixup to string-ref patch

Apologies, this was local but I failed to upload!

081eacd3d1d89bd0188f5c570b7001f7daacf7ae authored over 1 year ago
Merge branch 'dob-typos' into 'main'

Typo fix

See merge request spritely/guile-hoot!30

2c4dad9f8213e95cefd3d65593c24f8b1dbe6906 authored over 1 year ago