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 '127-implement-string-mutation-procedures' into 'main'

update test-strings.scm

Closes #127

See merge request spritely/guile-hoot!147

dcc4f23bd6c3171e59fcd2a5142bc75dbfc44fe8 authored about 1 year ago by David Thompson <[email protected]>
update test-strings.scm

* test/test-strings.scm: Remove tests for the internal
`%mutable-string-set-str!` procedure and ...

38f77d4d1969b1a24aa7fda31b6131d643defb36 authored about 1 year ago by Robin Templeton <[email protected]>
Merge branch '127-implement-string-mutation-procedures' into 'main'

Resolve "Implement string mutation procedures"

Closes #127

See merge request spritely/guile-ho...

5035fac9d63647462524236084f5ece3f2b66200 authored about 1 year ago by Robin Templeton <[email protected]>
reflect.js: Fix mutable string printed representation.

2fa2481a875b9897999589f37ab26c6ec1005bcf authored about 1 year ago by David Thompson <[email protected]>
lower-stringrefs: Fix stringview_iter.slice.

Reference to $iter that should be $temp.

9eabc9ca876aadd8efd51069d754f008dfcef5a8 authored about 1 year ago by David Thompson <[email protected]>
update test-strings.scm

* test/test-strings.scm: Quote result strings correctly and reenable
tests using string-copy.

cd8d55f029af2aeb377d14260c52e382df5301b3 authored about 1 year ago by Robin Templeton <[email protected]>
reflect: Fix mutable string printing.

4412e91823c61009392f3effa14c056d3378a52c authored about 1 year ago by David Thompson <[email protected]>
string mutation procedures

Allocate $mutable-strings where necessary and implement mutation
procedures.

* module/hoot/comp...

021200f96fd4be30942ce906b6ff38f8914cba7d authored about 1 year ago by Robin Templeton <[email protected]>
Merge branch 'fix-weak-map-get' into 'main'

Handle null case in weak_map_get

See merge request spritely/guile-hoot!142

06ffffb38fff2bf7671e60fcba4c8d25c581d459 authored about 1 year ago by David Thompson <[email protected]>
stdlib: Add weak-map-get-scm function.

bbefcc1bf2fb4b1bdbe66ecaba187ae280a56263 authored about 1 year ago by David Thompson <[email protected]>
stdlib: Change result type of weak_map_get to (ref null eq).

9375f5f2688e238a1f95c481eda91c275bfe20d9 authored about 1 year ago by David Thompson <[email protected]>
Move bytevector literal initializers to data section

This makes bytevectors non-constant, but it reduces total binary size.
Fixes #150.

76acec9277daca962aa90b461073f389d958bf5e authored about 1 year ago by Andy Wingo <[email protected]>
Fix #137

Needs a Guile bump to recognize append as a primcall.

ff83dc05237508b727b11f0369d3862d468ec662 authored about 1 year ago by Andy Wingo <[email protected]>
Merge branch 'doc-status-update' into 'main'

Bring hoot status up-to-date in manual

See merge request spritely/guile-hoot!145

84a813d594c4d0e5305a24e8c7fe9bfc8f77d99f authored about 1 year ago by Andy Wingo <[email protected]>
Merge branch 'current-jiffy-f64' into 'main'

Reimplement current_jiffy to use f64 instead of i64

Closes #152

See merge request spritely/gui...

2519d743d3263896bf20349c5ddd33427cd52408 authored about 1 year ago by Andy Wingo <[email protected]>
All exceptions structured!

Fixes #145.

ee98769c308310c3190e60abb1ffa5383c3e6d76 authored about 1 year ago by Andy Wingo <[email protected]>
Compiler front-end residualizes structured exceptions

With a new Guile, we can make it so that exceptions for vector-ref et al
are proper structured e...

987ade0e620079dd977ebcb4cafa2fddd666ff92 authored about 1 year ago by Andy Wingo <[email protected]>
doc: Fix link to Guile prompt docs in HTML output.

6eb0378db800b72dcfd8439b09fa54a72f25ca48 authored about 1 year ago by David Thompson <[email protected]>
doc: Update Status section.

9c16869f04e55f000d46f24c45036b701f169655 authored about 1 year ago by David Thompson <[email protected]>
doc: WASM -> Wasm.

https://webassembly.org/ says the abbreviation is "Wasm", not "WASM".

b3b7cbcb3226841b286e1cfcc12aaacb907e07ef authored about 1 year ago by David Thompson <[email protected]>
Merge branch 'ffi-docs' into 'main'

doc: Add FFI section

Closes #151

See merge request spritely/guile-hoot!143

419a609716404e0664ed0313abc7b3c780008313 authored about 1 year ago by David Thompson <[email protected]>
Reimplement current_jiffy to use f64 instead of i64.

i64 means allocation of a BigInt in JS. We'd like to avoid that
allocation.

f9566b20a19efd2daf7e6bc5e1dbda913095eb85 authored about 1 year ago by David Thompson <[email protected]>
reflect: Adjust optional import parameters.

03991055734fd14768cc49ac1279ca0ac30ecc1d authored about 1 year ago by David Thompson <[email protected]>
doc: Add FFI section.

35778b5a536f89752151f1d3220443b9e61f20ea authored about 1 year ago by David Thompson <[email protected]>
Enable structured exceptions thrown from prelude

4d34bb07463c06b8b55ce831dda097d374538908 authored about 1 year ago by Andy Wingo <[email protected]>
Bump guix.scm to fix compilation error detected by (wasm vm)

8068562a4e2d1190f74953ffa948ae64b1604a14 authored about 1 year ago by Andy Wingo <[email protected]>
Fix to allow switch optimization to work on symbols

We needed to extend Guile to allow it to accept target-specific
definitions of symbol-hash. Onc...

89d866e1ada3b2e496f0d0e282e419428cee531a authored about 1 year ago by Andy Wingo <[email protected]>
More structured exceptions for ports

0b08e3ce90000c89ca05bdd05beeaf9b4b834a5d authored about 1 year ago by Andy Wingo <[email protected]>
Bump guile to fix symbol-hash unboxed return

34cc9ece08580cbc710058b450b2da9ba128dd83 authored about 1 year ago by Andy Wingo <[email protected]>
Faster string->list

Avoid string-ref, which is quadratic in loops

6afe89beb87fc9815d2f7cab9b7d21b175092da9 authored about 1 year ago by Andy Wingo <[email protected]>
The last bit of structured exception prep, whee

5291a03a3a2ff40961d61070b4e061ee44b80398 authored about 1 year ago by Andy Wingo <[email protected]>
More structured "unimplemented" errors

49c7ca56eecdc4eb94e04bb31421bf4d9d175b20 authored about 1 year ago by Andy Wingo <[email protected]>
write-u8 fixie

bb38c3119e14f0b92d0b83d5a283c6a0559bd477 authored about 1 year ago by Andy Wingo <[email protected]>
Match raises match errors

ec79dfdc5cfb883cb29645ba0bb51f128956c937 authored about 1 year ago by Andy Wingo <[email protected]>
Reimplement `error`

ac63648c0b2c629cd90bd95ff7ebb92196ec116d authored about 1 year ago by Andy Wingo <[email protected]>
Add note about trusted nature of vtable methods

a06a609c86750a9fc136731a6c41f9f32140fd6c authored about 1 year ago by Andy Wingo <[email protected]>
Use structured unimplemented errors for file procs

a801aab0be9a2828371633479d569a5af5a8321d authored about 1 year ago by Andy Wingo <[email protected]>
Add more type checks around ports

d7398e7079961ab35d2af2f34ff2884bbcba675a authored about 1 year ago by Andy Wingo <[email protected]>
Avoid copies in more cases in string<->utf8

3a4814d0f4fd1d53ec8abba74e2e90f62d1574a2 authored about 1 year ago by Andy Wingo <[email protected]>
Fix broken peek-char, read-char for multibyte chars

Actually might not even be a fix, as of yet? Untested :(

a35aef32eaf9ad9604c1c97362a9538452abac8b authored about 1 year ago by Andy Wingo <[email protected]>
More structured exceptions in port procedures

b89a395f676ea1a29ca719a21281762b94f387b9 authored about 1 year ago by Andy Wingo <[email protected]>
Structured exceptions in port procedures

2ece89ab510820a379069fce30335ded4c638120 authored about 1 year ago by Andy Wingo <[email protected]>
Structured exceptions in vector procedures

77752c9ff7994d441a08dbb3d14c86fea26d7b9d authored about 1 year ago by Andy Wingo <[email protected]>
Faster string-for-each

Add some case-lambda

b8ab0fa8213eb295f10ce6fee44b9f04a91df4b9 authored about 1 year ago by Andy Wingo <[email protected]>
Structured exceptions in string comparisons

3535c50c3437271dbf26986ec25af79d7f110d43 authored about 1 year ago by Andy Wingo <[email protected]>
Structured exceptions in ffi

7e0d9d49231faf99bb4da70328049c32ad136007 authored about 1 year ago by Andy Wingo <[email protected]>
Continue structured exception work

Also implement real-part, imag-part

03e99e89315723914ef6c2cfb0aa239ca025ce49 authored about 1 year ago by Andy Wingo <[email protected]>
prelude: Fix current-jiffy.

bfe760073151f6e4bd2161b32d6e6f28706df9eb authored about 1 year ago by David Thompson <[email protected]>
Fix finite?, infinite?, nan?

Fixes #138 -- in the end we don't need primitives for inf? / nan?.

68b50d24414149a363ba80e5ac00f1cdbd70ca7c authored about 1 year ago by Andy Wingo <[email protected]>
Simplify `exact`

afd1ddedac99b07b353118d4e283b88abe98daf7 authored about 1 year ago by Andy Wingo <[email protected]>
Simplify numerator and denominator

f01c5c6ea6b30d74b48c039269943e59b9acc002 authored about 1 year ago by Andy Wingo <[email protected]>
Test suite caches compilation results

There are many repeated compiled expressions; caching compilations
should yield a nice speedup.

b562b122a573613263ae1ad3b0e7920969b5b371 authored about 1 year ago by Andy Wingo <[email protected]>
Continue structured exception work

5753f576ed56472ed5bdf93765cebb428274ec14 authored about 1 year ago by Andy Wingo <[email protected]>
Continue structured exception work

6a7689002c69a012de9ba38b0f74a5869a66fd10 authored about 1 year ago by Andy Wingo <[email protected]>
More structured error work

cec7004c01304fce76965370a0ff06e16de1d503 authored about 1 year ago by Andy Wingo <[email protected]>
Begin refactoring to throw structured errors

We will have the main module define some globals to throw a few
different kinds of exceptions. ...

c6489d244d04ffb6baa836b24b3a2844555a18bc authored about 1 year ago by Andy Wingo <[email protected]>
Fix typo

d6d95595b8911c73dc341ba416a47ca806e57af7 authored about 1 year ago by Andy Wingo <[email protected]>
Support symbol-hash primcall

This primcall is emitted by the switch optimization... in new Guile.
Bump Guile.

8705f7e6ef270b2d5a0cab860ccbee81b68f8f88 authored about 1 year ago by Andy Wingo <[email protected]>
Improve max and min, now that we have case-lambda

4ecd94eaa54a790dec0fde20241b5146f2f47dc4 authored about 1 year ago by Andy Wingo <[email protected]>
Inline primcalls in `list`

Otherwise length of constant lists weren't folding.

3acd10f5d6dbe06a67765ab1523759c1d3b7979e authored about 1 year ago by Andy Wingo <[email protected]>
Better vector pattern-matching

40c063ec01dc428036c8888cad04582a17a51828 authored about 1 year ago by Andy Wingo <[email protected]>
Avoid reference to `write` in record writers

afef64309f67a9986ee9e70388c292074935a311 authored about 1 year ago by Andy Wingo <[email protected]>
Soft ports can directly call string->utf8 to write string to buf

48d57ec2c285168b0635971cb8daf35fd397628b authored about 1 year ago by Andy Wingo <[email protected]>
match uses eq?, not equal?

Avoid silent introduction of equal?. equal? comparisons should use a
lambda

1fc13c93c0e6219d94a933842bf9da6177a76e08 authored about 1 year ago by Andy Wingo <[email protected]>
Reorder position of `list` in prelude

73ee3a7deea5e02ca45ea00464af9c83f6f8fb61 authored about 1 year ago by Andy Wingo <[email protected]>
Reorder position of raise, raise-exception in prelude

268a1b9eb94b0b142743e5612147ee186d78644e authored about 1 year ago by Andy Wingo <[email protected]>
Little optimize helper lets you specify --import-abi

c28e9d2082efe2ba9882695bcbf81d6110331bda authored about 1 year ago by Andy Wingo <[email protected]>
Lazily initialize parentv for record types

This allows vtables to be completely elided. Whoopeee!!!

b8168f33916cb8de3b0c296cb8927264a65acd0a authored about 1 year ago by Andy Wingo <[email protected]>
Move some string and vector runtime up

Should help ordering

a7a009463b15e4cac5b5aecd714adb55153ae4c5 authored about 1 year ago by Andy Wingo <[email protected]>
Attempt to inline parent vector construction for record subtypes

22f2d6411ab3651dc48596255db2d579656a662e authored about 1 year ago by Andy Wingo <[email protected]>
Move record type definitions later in the prelude

This avoids letrec* ordering edges which allows more dead code elision.

1b1ff0c866292edaaccbe39114f68096c9fcbf2a authored about 1 year ago by Andy Wingo <[email protected]>
Record printer, comparer are "trusted"

We really need to avoid recursive data structures in the prelude, at
least as long as Guile's tr...

f4f35a057806d69b2a7ace9e2a7c33cab9690ff1 authored about 1 year ago by Andy Wingo <[email protected]>
record-constructor takes vtable

To avoid having fix-letrec tie the knot via set!, have the "constructor"
field of records take t...

8e9d45ab07843b05e979e17e373e6212af34e3f4 authored about 1 year ago by Andy Wingo <[email protected]>
%make-vtable helper is syntax rule

This lets peval fold better.

94790e898dfa29aa00591c97ae51ba4fe9a6bca6 authored about 1 year ago by Andy Wingo <[email protected]>
Bump Guile for better primcall folding

31de82ec5cd3e9245462b073200b880b02c472df authored about 1 year ago by Andy Wingo <[email protected]>
Allow peval, letrectification to elide inline-wasm blocks

* guix.scm (guile-next-next): Bump, for effects analysis extensibility.
* module/hoot/inline-was...

d51b59a5126d7a2b329e409ad5385d652d14c5a2 authored about 1 year ago by Andy Wingo <[email protected]>
Better compiler support for string->utf8, utf8->string

Using new Guile allows us to inline string->utf8 conversions, which is
useful when writing liter...

a8b87044ed0132df6eed3c54fb6c9fa0b858af41 authored about 1 year ago by Andy Wingo <[email protected]>
Add `read` implementation

Fixes #97.

Also implement `make-bitvector` and `bitvector-set-bit!`.

Also define some more exc...

01b3373bbcc793150c7a63204628a79774e02d0f authored about 1 year ago by Andy Wingo <[email protected]>
Merge branch 'wip-ffi' into 'main'

Foreign function interface

Closes #70

See merge request spritely/guile-hoot!138

302bf3ea6fa2dd742c54fcfd3a371da339d597d5 authored about 1 year ago by David Thompson <[email protected]>
Add FFI.

a2ab07a02bb86dd6ecb5c2a2c03d10d5a09219b3 authored about 1 year ago by David Thompson <[email protected]>
Add gensym to primitives module.

25e1cc532f53ef45fa21fde2eb81d70b64ebd793 authored about 1 year ago by David Thompson <[email protected]>
Add wasm-import primcall.

ef01a7b7cd7a7434cae61985aea306252933dad1 authored about 1 year ago by David Thompson <[email protected]>
vm: Handle (ref null extern) better in wrapped imports.

23f130c92de791646876413ac8c640fa3b8ee6ea authored about 1 year ago by David Thompson <[email protected]>
stdlib: Change $extern-ref to hold a nullable extern.

7ab96ccebd4ee1861b6e02f3ce7ebd7e81f7193a authored about 1 year ago by David Thompson <[email protected]>
reflect: Make extern-ref describable.

40b18e211f0ba622941ea9233af4e56e110cb4b0 authored about 1 year ago by David Thompson <[email protected]>
reflect: Allow passing external references to Scheme.

a01373f199fb3c66fbbedf5125c6d0be1aa41004 authored about 1 year ago by David Thompson <[email protected]>
reflect: Support user imports.

5ee98c667ed0714fc4382ab81610389c63b612c0 authored about 1 year ago by David Thompson <[email protected]>
reflect: Fix debug printing.

8c66222af78f42570023dc47416c48b88f31993f authored about 1 year ago by David Thompson <[email protected]>
Implement exception types

Names are close to what Guile uses.

b4f7b21fcf71d3a1aeaf29a3a0f79f1df42a1baf authored about 1 year ago by Andy Wingo <[email protected]>
Extensible record types!

a6aa6f526168bee26ad5002844ae3db2d68163fb authored about 1 year ago by Andy Wingo <[email protected]>
Simplify stdout/stderr inline wasm

f87932855605c90a73f173243f2de436a3b89785 authored about 1 year ago by Andy Wingo <[email protected]>
Simplify vector-copy, vector-copy!, vector-fill! inline wasm

ed4f4386248b866bbac55bd9a77fa8a207e43f36 authored about 1 year ago by Andy Wingo <[email protected]>
Simplify exception handling inline wasm

ac008037a9facc26ea24713ff9b794afd5dfed3f authored about 1 year ago by Andy Wingo <[email protected]>
Simplify jiffies inline wasm

5f4a2cbfabc67f1f6962b0a2d9d41fb37bab4ffb authored about 1 year ago by Andy Wingo <[email protected]>
Destination of bytevector-copy! has to be mutable

102da76ab91956a75c3d9fb0c24a3b30ef33bdc4 authored about 1 year ago by Andy Wingo <[email protected]>
Simplify utf8<->string inline wasm

6a964f4d336e038d3eb4449505e8e1d95869ee2f authored about 1 year ago by Andy Wingo <[email protected]>
Simplify string inline wasm

5ab804b6c84ae4dbb7f553e4cdec6bd1e4846a66 authored about 1 year ago by Andy Wingo <[email protected]>
Simplify numerics inline wasm

05c508389b5b2b12fdc8cfd133dc82f90572aeb2 authored about 1 year ago by Andy Wingo <[email protected]>
Simplify string-copy, string-compare inline wasm

96ecd2ef68ee259a60326532de04c715d20fbf2e authored about 1 year ago by Andy Wingo <[email protected]>
Simplify port inline wasm

efa7e6ed047a6ba64eb742fd3aac19dc63af7b16 authored about 1 year ago by Andy Wingo <[email protected]>