IRC channel logs

2022-04-01.log

back to list of logs

<sneek>tohoyn: Greetings :)
<tohoyn>sneek: botsnack
<sneek>:)
<tohoyn>new version 0.11.0-1 of Theme-D-Intr has been released. It contains several bug fixes, improved struct and union handling, and support for G-Golf boolean result stripping.
<tohoyn>see https://www.iki.fi/tohoyn/theme-d-intr/.
<stis>Hello guilers!
<dsmith-work>Happy Friday, Guilers!!
<stis>dsmith-work: o/
<unmatched-paren>is there a portable way to do conditional compilation based on the Scheme implementation used? i'd like my program to work on both Chez and Guile, but I don't want to restrict myself to only R6RS
<unmatched-paren>like how you might do #ifdef __clang__ or #ifdef __GNUC__ in C
<unmatched-paren>or #+/#- in common lisp
<unmatched-paren>or would i just have to write two different `(impl)-compat.scm` files and choose which one to compile/interpret in in my makefile?
***alMalsamo is now known as littlebobeep
<dsmith-work>unmatched-paren: ISTR there was some filenaming convention that used the name of the Scheme as part of the filenme.
<dsmith-work>Something like look for foo.guile.scm or foo.chez.scm before foo.scm ?
<unmatched-paren>dsmith-work: What does 'ISTR' mean? I haven't heard that particular acronym before :)
<unmatched-paren>right, that makes sense
<dsmith-work>I think that may have been in R6RS?
<dsmith-work>I Seem To Remember
<unmatched-paren>ah
<singpolyma>unmatched-paren: I'm curious what you're finding insufficient in r6rs?
<dsmith-work>Mayebe cond-expand ?
<dsmith-work> https://www.gnu.org/software/guile/manual/html_node/SRFI_002d0.html
<dsmith-work>Does Chez have that?
<unmatched-paren>hm, apparently R6RS is more extensive than I thought, though i think there are some things in ice-9 that i'd like to use
<unmatched-paren>i would also like to eventually support non-R6RS Schemes (CHICKEN, for example)
<unmatched-paren>and gambit
<singpolyma>There are also things in ice-9 that are historical where portable versions also exist in guile
<unmatched-paren>I'll focus on guile first, see if there's anything that i really like in ice-9, and then later port it to Chez
<unmatched-paren>i'll need to use (library ...) and (import ...) instead of (define-module ...) and (use-modules ...) if i want it to be reasonably portable, right?
<dsmith-work>Yah, define-module and use-modules were in Guile many years (decades?) before there was an R6RS
*daviid suspects unmatched-paren is secretly porting guix to chicken, chez, gambit ... and kawa, so java folks can also have a bit of fun in their life
<unmatched-paren>daviid: i don't think i'm quite good enough at scheme to do that :) sounds like a fun (read: traumatizing) project for an experienced schemer :)
<unmatched-paren>on the other hand, if we port it to the JVM through Kawa, I think it would be rapidly adopted at ENTERPRISE BIG DATA CLOUD SCALE startups :D
<unmatched-paren>whether that is a good thing is debateable