egallesio / STklos

STklos Scheme
http://stklos.net
GNU General Public License v2.0
68 stars 17 forks source link

Add SRFI 178 - Bitvector library #596

Closed jpellegrini closed 6 months ago

jpellegrini commented 10 months ago

Hi @egallesio !

Well... I thought I'd implement one more SRFI... :grin:

This is SRFI 178 - Bitvector library.

MISSING:

Regarding this, I see some possibilities:

POSSIBLE OPTIMIZATIONS FOR THE FUTURE:

jpellegrini commented 10 months ago

I forgot to mention: the read syntax is not mandatory according to the SRFI...

jpellegrini commented 10 months ago

Also... The code to read from a string is already there (see string->bitvector).

jpellegrini commented 6 months ago

Hi @egallesio ! I see you have implemented the #* syntax - that's great! :smile:

egallesio commented 6 months ago

Yep, code of the reader has been refactored for #xxx objects and can be extended in Scheme (see last comment in Issue #434). I hope it will be useful for future extensions.

Anyway, thanks a lot @jpellegrini for this great PR.