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

vm: Fix block type printing in print-location.

8a16dc3dc930f395c03d90e30cbc0c7286f4a2d5 authored over 1 year ago by David Thompson <[email protected]>
vm: Fix wasm-array-copy!

a00e4b26f122d9591ed5708e546bd1c17cafb619 authored over 1 year ago by David Thompson <[email protected]>
vm: Improve print-runtime-error.

436d0e610970e6dc9d19fc7e7a9685ef17191c01 authored over 1 year ago by David Thompson <[email protected]>
vm: Fix bugs in print-location.

1c92f6bda70fd0208decec8a0ee5480538517aab authored over 1 year ago by David Thompson <[email protected]>
reflect: Fix WASM->Guile conversion of complex numbers and fractions.

2e074722fbdb354f63cd1d3ae3bac98773029a95 authored over 1 year ago by David Thompson <[email protected]>
reflect: Add accessors for hoot types.

69e7f73ce4babeb9a29ea3338a536a34b3de6a96 authored over 1 year ago by David Thompson <[email protected]>
vm: Properly wrap imported non-WASM procedures.

a4adced8b8fc156430825068c487f3f376766beb authored over 1 year ago by David Thompson <[email protected]>
Better names?

Who knows.

9dce1d57a7e949346636937f7589f3f5d1c45aa5 authored over 1 year ago by Andy Wingo <[email protected]>
Give call/cc some more names [nfc]

Maybe it is more readable this way.

67da97b6e207c8f019d51b6f0d6fe806459c579e authored over 1 year ago by Andy Wingo <[email protected]>
Implement call/cc

81dfb5aca238732adf81b983e4a0430c16ef6617 authored over 1 year ago by Andy Wingo <[email protected]>
Fix compilation of add/immediate etc

56d60bfd4b117ce751a0ce9a7d0404ace610ba6d authored over 1 year ago by Andy Wingo <[email protected]>
Fix compilation for procedure? primitive

Needs latest Guile bump, but upshot is we'll never see program?

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

49a8490ebf8eca25f0f8ff01c7b296e2f88a832f authored over 1 year ago by Andy Wingo <[email protected]>
Add default-prompt-tag

d1b2b7cafe44d494f72a2236f7e667790f79ad61 authored over 1 year ago by Andy Wingo <[email protected]>
Implement current-{input,output,error}-port

675730d4db6d872bee645ce1751a26c2772f93ef authored over 1 year ago by Andy Wingo <[email protected]>
Implement stdin, stdout, stderr

937c1a4c7d13f4a6ffb28efc6d0771eab7398611 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch '75-extend-inexact-for-fractions' into 'main'

Resolve "Extend `$inexact` for fractions"

Closes #75

See merge request spritely/guile-hoot!81

f83fb99e7bf374ca08f9042ebcc6e3876ad6266b authored over 1 year ago by David Thompson <[email protected]>
extend $inexact for fractions

* module/hoot/stdlib.scm ($inexact): Handle fraction-to-flonum
conversion.
* test/test-constants...

125462f15cd9f9210d466fa8f48a37929044da28 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '76-implement-integer-math-functions' into 'main'

Implement boolean bitwise functions ($logand, $logior, $logxor, $logsub)

See merge request spri...

f0c81af85834f35671406fa57dfb57dc5e14e6e3 authored over 1 year ago by David Thompson <[email protected]>
bitwise operations

* js-runtime/reflect.js (bignum_logand, bignum_logior, bignum_logxor)
(bignum_logsub): New metho...

2b93d8645ae73ae8e214bbd838e37c8e4329628e authored over 1 year ago by Robin Templeton <[email protected]>
Add soft ports (untested)

The goal is to use them to make stdin, stdout, stderr textual ports to
communicate with the outs...

f7acba745cc255bd9af171936b250803fd82eec5 authored over 1 year ago by Andy Wingo <[email protected]>
Rework read-string, write-string to use utf8->string, string->utf8

7405db4ea4d86974675524772806df6a7d6e2010 authored over 1 year ago by Andy Wingo <[email protected]>
Add clear-buffer? optarg to get-output-{bytevector,string}

3f012c4f263e144f8664a28d25092f28c01f30ab authored over 1 year ago by Andy Wingo <[email protected]>
Add input-waiting? field to ports

37754c3f9cc69c677cce8f75b19b97aea0178347 authored over 1 year ago by Andy Wingo <[email protected]>
Implement read-line

5314ef26383d755a9cc5c9bfd15a271e781dc915 authored over 1 year ago by Andy Wingo <[email protected]>
Implement string input, output ports

3ae83cbd19f728862e0614d6bf817a8b91f51836 authored over 1 year ago by Andy Wingo <[email protected]>
Implement parameterize

539f97b8a3bc6e98619dc0c5d7bcc52214e8748d authored over 1 year ago by Andy Wingo <[email protected]>
Implement parameters

b1c88d2d63e22d61c343d527c44b2725847b91e2 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch '77-implement-sqrt-and-trigonometric-math-functions' into 'main'

Resolve "Implement sqrt and trigonometric math functions"

Closes #77

See merge request spritel...

2f55cec56a44c587d22e759ccb1c83720ed8f149 authored over 1 year ago by David Thompson <[email protected]>
Merge branch 'vm-repl-commands' into 'main'

Add some simple VM REPL commands

See merge request spritely/guile-hoot!78

9f65588645d0d1b32f0f3ff2ebab724dcd626a22 authored over 1 year ago by terpri <[email protected]>
sqrt and trigonometric functions

* js-runtime/reflect.js (fsqrt): New method.
* module/hoot/reflect.scm (fsqrt): New runtime impo...

9d64670a8ea0dc5d228cb55159a5b4d4e28df211 authored over 1 year ago by Robin Templeton <[email protected]>
Merge branch '71-bignum-normalization' into 'main'

Resolve "Bignum normalization"

Closes #71

See merge request spritely/guile-hoot!77

718357c0f6447e75c21f738e1dee77e94e6bac85 authored over 1 year ago by David Thompson <[email protected]>
Add testing comment

192721f2f8e5aaaebecad0eba34273db1296e1b0 authored over 1 year ago by terpri <[email protected]>
vm: Add handy REPL commands.

2fdba4d2b161380abc0cec07a9f0791a208d8d02 authored over 1 year ago by David Thompson <[email protected]>
bignum normalization

($normalize-bignum): New function, returning its bignum argument as a
fixnum if possible, or ret...

69b21f9ed59ce7a373c6fce4043cbee79e42ec6e authored over 1 year ago by Robin Templeton <[email protected]>
reflect: Add bignum_gcd import.

030164493a5bee6109ddbfc27847a7c2cc169180 authored over 1 year ago by David Thompson <[email protected]>
vm: Rewrite instruction position tracking.

9e2aa9e5ba0fcf72913ca539d695a4740509e365 authored over 1 year ago by David Thompson <[email protected]>
Implement read-string

Also fix bugs calculating UTF-8 lengths; doh

9ea21de178f1fd712a4acabf363fc6343db3745d authored over 1 year ago by Andy Wingo <[email protected]>
Implement peek-char, read-char

03f275daa41e2137cd43f621c4a1ff73410ac838 authored over 1 year ago by Andy Wingo <[email protected]>
Implement read-bytevector, read-bytevector!

7b56cc360a6dd88ca9d2e958938f4295f5662885 authored over 1 year ago by Andy Wingo <[email protected]>
Fix call-with-values

The compiler will only inline %call-with-values when the producer is a
lambda, so use some synta...

51c974eb6c866164af44bf3e6408849fe762c589 authored over 1 year ago by Andy Wingo <[email protected]>
Implement peek-u8, read-u8

e04dab1049a5c6f41fce771b2e3c84743fd9ed05 authored over 1 year ago by Andy Wingo <[email protected]>
Fix apply with more than 3 args

58377ee1a0d0e9976eb361b2c49443b46dbd5d30 authored over 1 year ago by Andy Wingo <[email protected]>
Add the most important debugging aid: pk

1c7b48578348a35329106d6a423d1c36a6d71c90 authored over 1 year ago by Andy Wingo <[email protected]>
Improve error message when refusing to compile a symbol constant

9f4f3d35c5e25d561f721f88f19df73737a0f8bf authored over 1 year ago by Andy Wingo <[email protected]>
cons, make-vector make mutable objects

Otherwise we won't be able to set-car! or vector-set! :)

d1b714d2f909b48fe9cebfb616931aeed74d029f authored over 1 year ago by Andy Wingo <[email protected]>
Implement write-char, write-string

60677eb68b78e00c397bbacabe8a24a025d1eaed authored over 1 year ago by Andy Wingo <[email protected]>
Another test, for write-bytevector

38f9c28b19394e257b23dfe989dd50b92cc4933b authored over 1 year ago by Andy Wingo <[email protected]>
Binary output working ?!?

* module/hoot/prelude.scm (bytevector-copy): Add bytevector-copy,
bytevector-copy! implementatio...

17cbce1096111a79c9862e41de797bf4da08c521 authored over 1 year ago by Andy Wingo <[email protected]>
First stab at binary output

6cdf30d2874695428ae372378eb2ca3584ca1e68 authored over 1 year ago by Andy Wingo <[email protected]>
Eliminate assume-u64, assume-s64 primcalls

f8afabcec55c9828eeb54aeaebe21fafd26ae189 authored over 1 year ago by Andy Wingo <[email protected]>
Rework grow-the-stack runtime procedures

Let's emit less code; fewer opportunities for errors. Also, fix the
raw stack growth code.

e2b2fab02621f513c3861b074b9385bbfbe352e5 authored over 1 year ago by Andy Wingo <[email protected]>
Add compilation support for sadd, ssub, etc

307453990e6149d7c564e7de7ffad0b4d9f21d5a authored over 1 year ago by Andy Wingo <[email protected]>
Fix function type for join conts

Join continuations can receive unboxed args; make an appropriate
function signature.

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

Needed to get reprs for sadd, ssub, etc primcalls

4f0a85a0a948bcc555849e92130aa49efae13556 authored over 1 year ago by Andy Wingo <[email protected]>
Better diagnostics on not-yet-implemented stdlib, primcall lowering

Now when the stdlib dies because something isn't implemented, it will
print a reason first. Tha...

74c218d7b85af5561306f883e45b77611b1173c9 authored over 1 year ago by Andy Wingo <[email protected]>
Fix tailification for joins that take parameters

18d02f7a585c37b161a5ebb1877f3bc69dcae4d4 authored over 1 year ago by Andy Wingo <[email protected]>
Fix "beyond relooper" bug

node-within needs to visit children from highest to lowest
reverse-post-order numbering.

75f0bfab39f970a8334bc27d4abad30abd39e6f4 authored over 1 year ago by Andy Wingo <[email protected]>
Remove port types; rework port representation

8b803f77b2183de2bf88afb0e4797ecb846ef13d authored over 1 year ago by Andy Wingo <[email protected]>
Implement bytevector output ports; bump guile

5985d8176d992923a1d8da92398c41683cba8a44 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'fraction-arithmetic' into 'main'

implement fraction arithmetic

See merge request spritely/guile-hoot!67

98680258cd55b75cd8747b615b993fec09715557 authored over 1 year ago by David Thompson <[email protected]>
fraction tests

* test/test-constants.scm: New tests for fraction arithmetic.

369ba0af34d5c3412dcb7147a513a8e28bb35ffa authored over 1 year ago by Robin Templeton <[email protected]>
fraction utility functions

* js-runtime/reflect.js (bignum_gcd): New method.
* module/hoot/stdlib.scm ($bignum-gcd): Import...

c408159f08a201ac0eecb23c42ffc37f3f34c589 authored over 1 year ago by Robin Templeton <[email protected]>
integer quotient

* module/hoot/stdlib.scm ($quo): Add fixnum support from `(hoot
compile)'.

a4cd081364f2264b25b41e26bc9c3b7ec451d101 authored over 1 year ago by Robin Templeton <[email protected]>
fraction support for arithmetic operations

* module/hoot/stdlib.scm ($add, $sub, $mul, $div, $inexact): Add support
for fraction arguments.

934226dd0a5ddd0e45671a4975d063d01394209d authored over 1 year ago by Robin Templeton <[email protected]>
exact fraction arithmetic

* module/hoot/stdlib.scm ($add-fracnum-fixnum, $add-fracnum-bignum)
($add-fracnum-fracnum, $sub-...

0a95b7d5d983db92ce623f3e1617cf7c5b9a5436 authored over 1 year ago by Robin Templeton <[email protected]>
add $i32->fixnum

* module/hoot/stdlib.scm ($i32->fixnum): New function.

eff756ff87b224560b821336674e5b773c6f994c authored over 1 year ago by Robin Templeton <[email protected]>
add optional result type argument to arith-cond

* module/hoot/stdlib.scm (arith-cond): Treat the first argument as the
result type if it doesn't...

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

vm: Fix return_call and friends

Closes #56

See merge request spritely/guile-hoot!72

ec6d716f8effb30b9b977f6a0242b171092892c2 authored over 1 year ago by David Thompson <[email protected]>
reflect: Fix make_vector call.

77e22343b4a1d066532727f55f6ff1dd7115f9c7 authored over 1 year ago by David Thompson <[email protected]>
Remove old TODO comment.

398ba4fdf79e82cd02e1d870af383738219acfcc authored over 1 year ago by David Thompson <[email protected]>
Merge branch 'vm-improve-inter-instance-calls' into 'main'

vm: Elide runtime type checks for WASM->WASM calls

Closes #34

See merge request spritely/guile...

7dfc44f84a3a8de3807a5ccfab171792e3a999ba authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch 'stack-i31-sub-type-any' into 'main'

stack: i31 is also a subtype of any

Closes #59

See merge request spritely/guile-hoot!73

cad68ba0d0a50ba1560c859e6a74cad5fdbc862b authored over 1 year ago by Andy Wingo <[email protected]>
vm: Elide runtime type checks for WASM->WASM calls.

d9089920954104b646c8b40b1839fd873bce06b7 authored over 1 year ago by David Thompson <[email protected]>
vm: Fix exported function call type checking.

We were not catching if too few args were being passed.

239d3a47f56f48dec38ce7ae8a459dd2ada17850 authored over 1 year ago by David Thompson <[email protected]>
stack: i31 is also a subtype of any.

f62f16754719ddc18f296cbc3acde0eaa4f42f94 authored over 1 year ago by David Thompson <[email protected]>
vm: Fix return_call and friends.

Proper tail calls now woooooo!

8bfd2798e9548de6d5caf60ac8085289e831df12 authored over 1 year ago by David Thompson <[email protected]>
Merge branch 'vm-canonical-types' into 'main'

vm: Add recursive type group canonicalization.

See merge request spritely/guile-hoot!70

f6d2c0b39c0d8793bfb60497e2d0f144401c2671 authored over 1 year ago by David Thompson <[email protected]>
vm: Improve return_call and friends.

Still not what it should be, but closer!

80a007f4300f4acbb6a6c9bcf318f8184d66439b authored over 1 year ago by David Thompson <[email protected]>
vm: Fix struct/array signed/unsigned access.

ec139c7ecb42b4886a392de98d5c6cdce10f9f52 authored over 1 year ago by David Thompson <[email protected]>
vm: Implement a few stringref instructions.

3ef18f11aa860131c999d8b1585153c9ddc86534 authored over 1 year ago by David Thompson <[email protected]>
Add (hoot reflect) module.

05abee4da7ad629cead45dc1a7da05102ee8a167 authored over 1 year ago by David Thompson <[email protected]>
vm: Add f64.promote_f32 instruction.

6b018b1faf8c02ab3dfadb6ae5ffe718af56e60a authored over 1 year ago by David Thompson <[email protected]>
vm: Fix array.new_fixed.

72e0bb91d57f8514e6661e5357e36fa8fb739678 authored over 1 year ago by David Thompson <[email protected]>
vm: Add recursive type group canonicalization.

8584d4e01a69f77d444fd516fc0b421ab55be779 authored over 1 year ago by David Thompson <[email protected]>
vm: Fix func/array/struct printing.

7ab38a243a994f77ef7ba173d396560b2a3d64c0 authored over 1 year ago by David Thompson <[email protected]>
Implement with-exception-handler, raise, and raise-continuable

1df15107c4461630879346466c5dca8a1a1ddf25 authored over 1 year ago by Andy Wingo <[email protected]>
Add a simple pattern matcher to the prelude

Life is too short to cdadr

397c745e57205ae9d6b1b05df33ad8b9cd5546d4 authored over 1 year ago by Andy Wingo <[email protected]>
Fix debug printing for debug-str-scm

0b65678a7d3ed8028d45e954457f96ca233eba37 authored over 1 year ago by Andy Wingo <[email protected]>
Use match in the standard prelude

ff2fb7b58d8e2e5a21040b871760913805e8b481 authored over 1 year ago by Andy Wingo <[email protected]>
Implement cond-expand properly

747609e9207abcc5d1040e989217dc070017707d authored over 1 year ago by Andy Wingo <[email protected]>
Fix emitted code for calls with more than 3 args

We were emitting folded code, which is bogus...

e99eb3cc4494f126635516445da23d98a11c5b08 authored over 1 year ago by Andy Wingo <[email protected]>
Merge branch '66-arithmetic-ops-do-the-wrong-thing-for-non-integer-immediates' into 'main'

Resolve "Arithmetic ops do the wrong thing for non-integer immediates"

Closes #66

See merge re...

960d4e8e42c2c8e18ee29d4ed0eff9076afc6a58 authored over 1 year ago by terpri <[email protected]>
add $fixnum? predicate

* module/hoot/stdlib.scm ($fixnum?): New function.
($add, $sub, $mul, $div, $quo, $mod, $inexact...

e1ffc323a3329d90149f638d18dffee5baaf6b0e authored over 1 year ago by Robin Templeton <[email protected]>
Bump Guile in advance of exception handling work

89ceca4bfd242900476e16db6a9b98615ec3cb67 authored over 1 year ago by Andy Wingo <[email protected]>
Implement `bytevector`

1d9ddf2859015ec0a53c0dd69091f0b7a712f66d authored over 1 year ago by Andy Wingo <[email protected]>
Add a little debugging routine for Scheme

03f16e3796fda170b04a4cdc9ba02fc76d16a397 authored over 1 year ago by Andy Wingo <[email protected]>
Fix some missing primcalls and a typo

02e481beb3d252b63a7fecb5b64a00e2e196074d authored over 1 year ago by Andy Wingo <[email protected]>
Fix bug printing throw errors

0cc5cf3c60633f88f2fa6bfc26e9110dff599a61 authored over 1 year ago by Andy Wingo <[email protected]>
Fix compilation of `null?`

94e2e2672282ac23972408d556b4536a625b999f authored over 1 year ago by Andy Wingo <[email protected]>