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 '105-define-inexact-exact-conversion-and-use-it-for-fraction-flonum-comparison' into 'main'

Resolve "define inexact->exact conversion and use it for fraction<->flonum comparison"

Closes #...

abb241acde7c152909321863c9ce796e77ab4ec4 authored over 1 year ago by David Thompson <[email protected]>
Merge branch '104-add-special-cases-for-fraction-flonum-comparisons' into 'main'

Resolve "Add special cases for fraction<->flonum comparisons"

Closes #104

See merge request sp...

16222571243b2e4272c3a1d5b4f4dea764c02fed authored over 1 year ago by David Thompson <[email protected]>
define f64->exact conversion for fraction<->flonum comparison

* module/hoot/prelude.scm (exact): New procedure.
* module/hoot/stdlib.scm ($decode-f64, $f64->e...

1859d79860a2255da0e38fd8860583ca66ab8865 authored over 1 year ago by Robin Templeton <[email protected]>
Bump Guile, to fix JIT bug

75a55a49d2a84ec14fc963b2abf12e0d114be8e3 authored over 1 year ago by Andy Wingo <[email protected]>
Remove --experimental-wasm-{gc,return-call} v8 flags

These are no longer needed, as tail calls and gc are riding the train.

d6a0c7d247c5532a4ab862366ad73768b9f4df1b authored over 1 year ago by Andy Wingo <[email protected]>
Renumber GC opcodes, rename to final names

This is a big honkin' patch. Many of the GC opcodes changed allocations
recently: https://githu...

905c497cbf302fdbe588deab4204b135232c8c43 authored over 1 year ago by Andy Wingo <[email protected]>
Rename parse-wat to wat->wasm, disassemble to wasm->wat

Also fold (wasm disassemble) into (wasm wat)

17c6454ac2e3b636a3213a1ae1b4d4c4c92f55b2 authored over 1 year ago by Andy Wingo <[email protected]>
add fraction/flonum comparison tests

* Makefile.am (SCM_TESTS): Add test/test-numeric.scm
* test/test-numeric.scm: New comparison tes...

791261f93cf8b5721985b1273cf1dfbab9d7d274 authored over 1 year ago by Robin Templeton <[email protected]>
fix typos in comparison functions

* module/hoot/stdlib.scm ($slow-<, $slow-<=, $slow-=): Fix argument-name
typos in fraction-to-fl...

59675138f627c6b74dc3e1d074ea12992b461311 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '103-define-f64-is-nan-and-f64-is-finite-functions' into 'main'

Resolve "Define f64-is-nan and f64-is-finite functions"

Closes #103

See merge request spritely...

88165d42eabb6ca4e7e8fc78e339ac20d09e7f63 authored over 1 year ago by David Thompson <[email protected]>
Merge branch '102-fix-fraction-exact-comparisons' into 'main'

Resolve "Fix fraction<->exact comparisons"

Closes #102

See merge request spritely/guile-hoot!97

8857cfc8dade6009d7a54b348d62786a389dedd1 authored over 1 year ago by David Thompson <[email protected]>
fix comparison function names in error messages

($slow-<=, $slow-=): Use correct function name in error strings.

b524537afc51553bbbcbda3bb2eb3534d69aee55 authored over 1 year ago by Robin Templeton <[email protected]>
add special cases for fraction<->flonum comparison

* module/hoot/stdlib.scm ($slow-<, $slow-<=, $slow-=): Add special cases
for comparisons between...

874ef4449dba21fb71715145750d225de5c60d34 authored over 1 year ago by Robin Templeton <[email protected]>
add flonum comparison tests for infinities and NaNs

* test/test-flonums.scm: New tests.

e11e13aa7d39fa56af0c445874e2ed1242e8d5d6 authored over 1 year ago by Robin Templeton <[email protected]>
define f64_is_nan and f64_is_infinite reflect functions

* js-runtime/reflect.js (f64_is_nan, f64_is_infinite): New functions...
* module/hoot/reflect.sc...

d5e4dfd16cbed0b5fcc7cc8b7354311c438114b6 authored over 1 year ago by Robin Templeton <[email protected]>
fix flonum<->exact comparison

* module/hoot/stdlib.scm ($slow-<, slow-<=, $slow-=): Avoid
exact->inexact conversion when compa...

a2f416e416d65d649ee1c5b06776c5d361e6116c authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch 'repl-debugger' into 'main'

Add some REPL commands for debugging

Closes #69

See merge request spritely/guile-hoot!96

bd204f48f58901a51f3e91c77d55ca042712afe7 authored over 1 year ago by terpri <[email protected]>
repl: Add basic debugging tools.

fc019c53ea27d26e92c319645eb0bc3cb32c2dc8 authored over 1 year ago by David Thompson <[email protected]>
repl: Improve printing of func and block types.

465a708d26fa040e76576d557b03122eee5ddf51 authored over 1 year ago by David Thompson <[email protected]>
dump: Clean up func sig representation.

Don't show empty params and properly nest results.

bd41f39f5a8871ee9e55c5321f02d9d108cd44d8 authored over 1 year ago by David Thompson <[email protected]>
vm: Make runtime errors continuable.

9ec88afa3b259d57e4e5e5cb3e99d1905837abe2 authored over 1 year ago by David Thompson <[email protected]>
resolve: Convert s32/s64 constants into i32/i64 constants.

935b4454a02e1def4d63a5a6be24e27fe4c2e1a5 authored over 1 year ago by David Thompson <[email protected]>
parse: Wrap mem type in memory.

fb3cebc1bfdc253799772005df1e64463c9040cd authored over 1 year ago by David Thompson <[email protected]>
parse: Strip type from type use objects.

This matches the form generated by (wasm resolve).

fa87fe7bef2313b8d54d388335e71a38bb9a951f authored over 1 year ago by David Thompson <[email protected]>
test: Remove assemble+disassemble hack when invoking VM.

1f4ce44c0daa94e810087d1b9b858379a7f5d0f2 authored over 1 year ago by David Thompson <[email protected]>
reflect: Remove assemble+disassemble hack.

527db78bc9279c127c7273e033088e0bcf67fa29 authored over 1 year ago by David Thompson <[email protected]>
resolve: Wrap bare instructions in list.

383156c2955b87181159e79f73e4e004b26c4345 authored over 1 year ago by David Thompson <[email protected]>
vm: Correctly extract global type during validation.

2f6883342a095281894f3f13ee70054f1100a429 authored over 1 year ago by David Thompson <[email protected]>
resolve: Fully resolve signatures in type uses.

77f10d4709230cbce6c8bd06cea4b04c81b255e4 authored over 1 year ago by David Thompson <[email protected]>
Merge branch 'better-repl-tools' into 'main'

Add better REPL tools

See merge request spritely/guile-hoot!94

64ddb41a78f86c660ec5bc135573d24993bc4927 authored over 1 year ago by terpri <[email protected]>
Merge branch '76-implement-integer-math-functions' into 'main'

Add $lsh, $rsh slow paths

Closes #76

See merge request spritely/guile-hoot!92

a1ee40611c2ac454770f3dccb04218645fe67be8 authored over 1 year ago by David Thompson <[email protected]>
* module/hoot/stdlib.scm ($lsh, $rsh): Normalize bignum results.

57c7a358007ec9c7d8f5d5ff78ebaf4426725a7f authored over 1 year ago by Robin Templeton <[email protected]>
$lsh and $rsh slow paths

* js-runtime/reflect.js (bignum_lsh, bignum_rsh): New functions.
* module/hoot/reflect.scm (rsh)...

56d30465471add987a77b002bfbd1624c41fbe5b authored over 1 year ago by Robin Templeton <[email protected]>
Add (hoot repl) module.

61cc3aac9b100f20fcbc11d87faf4e4b71ea8baf authored over 1 year ago by David Thompson <[email protected]>
vm: Remove REPL commands.

6bae6bbad221523a483905c1efb464d9154e1db3 authored over 1 year ago by David Thompson <[email protected]>
vm: Export additional procedures.

0424f28f993c92f85aa265cfd2b720cf5b9256b9 authored over 1 year ago by David Thompson <[email protected]>
call $lsh for lsh slow path

* module/hoot/compile.scm (lsh): Call $lsh rather than $rsh for the slow
path.

899b25430197b2f1187defcebc51815c8887412a authored over 1 year ago by Robin Templeton <[email protected]>
add failing tests for $lsh and $rsh (slow paths)

248d332cae86a64cfec41cf760a796bf6829b209 authored over 1 year ago by Robin Templeton <[email protected]>
reflect: Export reflector procedures.

0db1019c8287131d6fbb2eb81ba6f99941f1513e authored over 1 year ago by David Thompson <[email protected]>
reflect: Set custom printer for <reflector>.

37d5be37302fb93384809414619b34d7ee893f5c authored over 1 year ago by David Thompson <[email protected]>
dump: Move type repr procedures to top-level and export them.

d6c77ac65c6bed524b7dfe4da52918732814e96d authored over 1 year ago by David Thompson <[email protected]>
dump: Use symbolic representations of all types.

Also make it function definition printing optional because they output
can be overwhelming.

ed853ddc57484c21349b9374919c86c219641cd1 authored over 1 year ago by David Thompson <[email protected]>
Merge branch '78-implement-u64-s64-conversion-functions-in-stdlib' into 'main'

Resolve "Implement u64/s64 conversion functions in stdlib"

Closes #78

See merge request sprite...

208f961d883b1bae0b46398864f97c799da8cead authored over 1 year ago by David Thompson <[email protected]>
add missing u64/s64 conversions

* module/hoot/stdlib.scm ($u64->bignum, $s64->bignum)
($scm->u64/truncate): New primcalls.

eebcd2473ac1cff6bda07363057fb1a5507a313a authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '80-implement-integer-valued-functions-in-stdlib' into 'main'

Resolve "Implement integer-valued functions in stdlib"

Closes #80

See merge request spritely/g...

c7110d17507fdf9b8494ea53815fb1cb49189a71 authored over 1 year ago by David Thompson <[email protected]>
return "-0.0" for -0 in flonum_to_string

* js-runtime/reflect.js (flonum_to_string): Return "-0.0" when f64 is
negative 0.

e6b23fc8dd34502dbcf26d04aceae2d671c14853 authored over 1 year ago by Robin Templeton <[email protected]>
define $abs, $floor and $ceiling

* module/hoot/stdlib.scm ($abs, $floor, $ceiling): Implement primcalls,
along with...
($remz, $f...

2d65abb2fd0a10eb653502a7d6f5fcba8cfd104b authored over 1 year ago by Robin Templeton <[email protected]>
define $scm->f64

* module/hoot/stdlib.scm ($scm->f64): New primcall.

cc6a91eb790fb2863cbb53cef2f0a7bad7c2f06c authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch 'use-vm-for-tests' into 'main'

Run tests against d8 and our own VM

See merge request spritely/guile-hoot!91

c4807828ac964c9698b83cdcb277d37a585737bd authored over 1 year ago by terpri <[email protected]>
Run compiler tests against d8 and our own VM.

1dc6a3a45d0b5a80e3077d51e8671909cc995aec authored over 1 year ago by David Thompson <[email protected]>
Fix output printing when running tests against our VM.

22669e9bf4dd450704d5d8b928f09f6df2a7eb15 authored over 1 year ago by David Thompson <[email protected]>
vm: Fix shr/shl instructions.

d9ccb669c09dd8fac4998baa0c014a587155f225 authored over 1 year ago by David Thompson <[email protected]>
Make complex number printing in reflect.js match Scheme.

ea03504a5a4284e2cf8f521439fcadf95a83df11 authored over 1 year ago by David Thompson <[email protected]>
Beginnings of `write'

7ea3ed871d970906702ff1a96aeaa338d94a0a48 authored over 1 year ago by Andy Wingo <[email protected]>
Fix multi-word bitvectors

0f4ae5d962ab29a5af4d20b7aa611615331c2645 authored over 1 year ago by Andy Wingo <[email protected]>
Implement keyword->symbol, symbol->keyword

270cb2442d2c25f20573709285e068efe62e3c69 authored over 1 year ago by Andy Wingo <[email protected]>
Implement bitvector-length, bitvector-ref

1b830e0208a349afbaf6f6bd84e17a9ed0f0fc88 authored over 1 year ago by Andy Wingo <[email protected]>
Bump Guile

Needed for keyword->symbol primitive.

c9227044aef59ac83ec20fc8d82f6b8d055a7344 authored over 1 year ago by Andy Wingo <[email protected]>
Implement number->string for flonums, fractions, compnums

6cc09fe5fe0aa3c4d94c5ea645e1636ede4c7170 authored over 1 year ago by Andy Wingo <[email protected]>
string->symbol, symbol->string scheme-side type checks

d799d010ec61d6b83f2c3aa04229d460a97e5f67 authored over 1 year ago by Andy Wingo <[email protected]>
Better reflect-side repr, output

Attempt to print without a newline, if the shell supports it. Ensure
that inexact numbers have ...

ce31d5899fd8dba5b10055c2f5e0df7bb8dff19a authored over 1 year ago by Andy Wingo <[email protected]>
Fix compilation of $switch

bd8925400a121c165a0def5e4b130c6a40eb318f authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'flonum-fraction-constants' into 'main'

Implement flonum, fraction, and complex constants

Closes #83

See merge request spritely/guile-...

4876f18dd4cabc7f3b54ea495e4eabc391f38324 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'split-test-constants' into 'main'

Split up test-constants into many files!

Closes #84

See merge request spritely/guile-hoot!90

da7ca459591df7d4a384530706c06090888bb988 authored over 1 year ago by terpri <[email protected]>
Split up test-constants into many files!

489bdff36b431c01b3660fa899a1ad8a88fa49f6 authored over 1 year ago by David Thompson <[email protected]>
Implement flonum, fraction, and complex constants.

abfb8e461f29fb084f9b0516b7ed30105638a7c1 authored over 1 year ago by David Thompson <[email protected]>
reflect: Fix complex number representation.

bb7871b7fa75663003363eaf01aa4b50fec7e032 authored over 1 year ago by David Thompson <[email protected]>
Implement symbol=?

14813f02e6871ebc3ad9fe0f1beadb981b987fa4 authored over 1 year ago by Andy Wingo <[email protected]>
Implement number->string for exact integers

d259d61de16b73a2c61cd169d58172f5ee0fc9c4 authored over 1 year ago by Andy Wingo <[email protected]>
Implement symbol->string primcall

Also wire up string->bignum, string->symbol, string->keyword in the
compiler; the stdlib needs s...

1a99f633eeaa02fea09001be3b15d93de3cdaa13 authored over 1 year ago by Andy Wingo <[email protected]>
Support $switch

Beyond relooper is neat :)

dd6eb16ebbe353f7e7d75dcfd67ffdc581360b49 authored over 1 year ago by Andy Wingo <[email protected]>
Lower number?, rational?, real?, and so on

Requires new Guile.

c68530a66650bdee20a0da84714b32a933a85c47 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'reflect-scm-updates' into 'main'

A couple of small updates to (hoot reflect)

See merge request spritely/guile-hoot!87

04f004b06f919eac740468ea13a8d2da41931720 authored over 1 year ago by terpri <[email protected]>
reflect: Fix bug in debug_str_scm.

We can't reflect on values that come from the root hoot module because
the reflector doesn't exi...

ba6c4cfc78cb3783e01f9f4a4769705dccbc1f94 authored over 1 year ago by David Thompson <[email protected]>
reflect: Add read/write host functions.

0f947b610fef3ea7370650ffb09a0673e9946332 authored over 1 year ago by David Thompson <[email protected]>
Implement vector stdlib

e16fa48b5cf66249a944ce893f499bebcab9fdf5 authored over 1 year ago by Andy Wingo <[email protected]>
Implement string stdlib

The exception is mutable strings. Will have to poke more at that.

16ef5906775657a3d6380343d1c3814b176165f9 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch '79-implement-slow-comparison-functions-in-stdlib' into 'main'

Resolve "Implement slow comparison functions in stdlib"

Closes #79

See merge request spritely/...

917dcab0f262c52750632dea9cfadf5717a22aee authored over 1 year ago by David Thompson <[email protected]>
number comparison

* js-runtime/reflect.js (bignum_lt, bignum_le, bignum_eq): New methods.
* module/hoot/reflect.sc...

cea9bf8c1dc2fd8e28a28d0aa227848d44361e76 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch 'vm-updates' into 'main'

Update VM to support recently added Hoot features

See merge request spritely/guile-hoot!84

59d2bc5be000e2c728986feefb9169782f3ca1d3 authored over 1 year ago by terpri <[email protected]>
Merge branch '82-fix-bignum_logsub-in-reflect-js' into 'main'

Resolve "Fix bignum_logsub in reflect.js"

Closes #82

See merge request spritely/guile-hoot!86

3d7752578f00ba35c4fec8052c6fd016aa790fba authored over 1 year ago by terpri <[email protected]>
fix bignum_logsub in reflect.js

* js-runtime/reflect.js (bignum_logsub): Use bitwise-AND instead of
bitwise-XOR.

b13c451b95b33d654bfbfa0f7a4e8e0b0cd4700e authored over 1 year ago by Robin Templeton <[email protected]>
reflect: Add missing lobsub implementation.

Not sure why this was working before a recent Guile update...

a5164a39d205ce5a616cb915006b393f1e252662 authored over 1 year ago by David Thompson <[email protected]>
test: Disable benchmarks in test-constants.

fbfae4946ddcc0d6ef70b9c87cc602639ac8d86c authored over 1 year ago by David Thompson <[email protected]>
test: Allow running test-constants against our VM.

4478d341d3a10e10af906496892ef7720e5ed96e authored over 1 year ago by David Thompson <[email protected]>
implement string-map, list->string

7106b4096886b479c6765929b9aa0125c7424592 authored over 1 year ago by Andy Wingo <[email protected]>
implement string-copy

235ef417a9e4738eca0df13406092f2f6b20b88d authored over 1 year ago by Andy Wingo <[email protected]>
Implement boolean?, boolean=?

9240aeac8b2f7e30153c67b887e55c37cce2ef5c authored over 1 year ago by Andy Wingo <[email protected]>
Implement u8-ready?

Also char-ready?, but sloppily

3256bcc1d9442c3d88d2805b207fdf0bf8be3be6 authored over 1 year ago by Andy Wingo <[email protected]>
Implement more ports functionality

d26b6c8fddb35f1509893767060526e3e7f86ccb authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'ShalokShalom-main-patch-54822' into 'main'

This lets the commands be correctly copied

See merge request spritely/guile-hoot!85

15a9254379aae4466fe3c161dd450cf6e317bd66 authored over 1 year ago by David Thompson <[email protected]>
This lets the commands be correctly copied

Previously, it would fail, when copied into the terminal

2688c135c0f32f399d08bc1a05930340f02723c8 authored over 1 year ago by ShalokShalom <[email protected]>
reflect: Add support for all heap types.

e8a4c81d998ebed7350af5fe05b11b8813b088b1 authored over 1 year ago by David Thompson <[email protected]>
reflect: Add debug imports.

1aa3090354d7b9d667be6118535928d0c576c0fd authored over 1 year ago by David Thompson <[email protected]>
vm: Fix instructions that wrap numbers such as i32.wrap_i64.

6c6529a8da112b4b56a218344f0afdd0d1cf5951 authored over 1 year ago by David Thompson <[email protected]>
vm: Support string refs in is-a?

dce7cbe6cc071659bfd9f4ac3c12b121c893ac8d authored over 1 year ago by David Thompson <[email protected]>
vm: Implement string.encode_wtf8_array.

613b259e5fada697f5fa9d788af9db7ef03025d7 authored over 1 year ago by David Thompson <[email protected]>
vm: Implement string.measure_utf8 and string.measure_wtf8.

89e9d7b90a3e2bfad00cf313ca772e9ccc03bddc authored over 1 year ago by David Thompson <[email protected]>
vm: Implement string.new_lossy_utf8_array.

f6568c6799e52370ce9989e203ce481f9cb768ce authored over 1 year ago by David Thompson <[email protected]>
stack: Add $i8-array/$i16-array cases to type checker.

9a643763c17411bb52b6ee6e925ec9ea46e18051 authored over 1 year ago by David Thompson <[email protected]>