Re: [ANN] Guile Homebrew Tap

2020-05-29 Thread Alex Sassmannshausen
On Fri, 2020-05-29 at 18:56 +0200, Ricardo Wurmus wrote: > Alex Sassmannshausen writes: > > > Aside from this do you know if Guix is supported on MacOS? > > Guix cannot be used on macos (outside of virualization). That’s > because > we have neither a free toolchain, nor an active port of glibc

Re: C programs in Scheme syntax

2020-05-29 Thread Jan Wedekind
I have implemented a GNU Guile extension which compiles array operations to machine code using LLVM: http://wedesoft.github.io/aiscm/ I thought you might be interested since your example is an array operation. Regards Jan Am 29. Mai 2020 04:23:46 GMT+01:00 schrieb Keith Wright : >I am thinkging

Re: [ANN] Guile Homebrew Tap

2020-05-29 Thread Ricardo Wurmus
Alex Sassmannshausen writes: > Aside from this do you know if Guix is supported on MacOS? Guix cannot be used on macos (outside of virualization). That’s because we have neither a free toolchain, nor an active port of glibc for their kernel. -- Ricardo

Re: C programs in Scheme syntax

2020-05-29 Thread Andrew Gwozdziewycz
One might also take a look at PreScheme: https://en.wikipedia.org/wiki/Scheme_48 which is a lowlevel Sexp based system that can generate C or Bytecode. There’s also BitC, which was/is a sexp based lowlevel language. I cannot recall if it compiled directly to C, or was itself a compiler to

Re: C programs in Scheme syntax

2020-05-29 Thread Zelphir Kaltstahl
Hi, There is also Schemetran: https://gitlab.com/codetk/schemetran Perhaps that was it? Regards, Zelphir On 29.05.20 05:23, Keith Wright wrote: > I am thinkging about a project that uses Scheme macros > to generate C code. To this end I want to encode C > programs as S-expressions. For

Re: C programs in Scheme syntax

2020-05-29 Thread Matt Wette
The other solutions look closer to what you want but     https://savannah.nongnu.org/projects/nyacc has a C parser written in Guile which outputs SXML and a pretty-printer which converts the SXML to C code. On 5/28/20 8:23 PM, Keith Wright wrote: I am thinkging about a project that uses

Re: [ANN] Guile Hall 0.3.0 released

2020-05-29 Thread Alex Sassmannshausen
Thank you both for bringing Hall to the Guile manual. I now look forward to making the next release :-) Cheers, Alex On Fri, 2020-05-29 at 11:09 +0200, Catonano wrote: > Il giorno ven 29 mag 2020 alle ore 10:27 Ludovic Courtès < > l...@gnu.org> ha scritto: > > > I’m sorry, I won’t do that.

Re: [ANN] Guile Homebrew Tap

2020-05-29 Thread Alex Sassmannshausen
Hey Aleix, This project is very interesting — anything to make Guile more widely available and get started with! I can see that recipes seem pretty straightforward. Would there be a point do you think in having Hall be able to auto-generate them for contribution to your repo? Aside from this

Re: [ANN] Guile Hall 0.3.0 released

2020-05-29 Thread Catonano
Il giorno ven 29 mag 2020 alle ore 10:27 Ludovic Courtès ha scritto: > I’m sorry, I won’t do that. The arguments in the message you reference > above are not compelling to me; I fail to see what’s wrong with the > current text. > > Apologies for not following the discussion closely enough.

Re: [ANN] Guile Hall 0.3.0 released

2020-05-29 Thread Ludovic Courtès
Hi Catonano, Catonano skribis: > Il giorno gio 28 mag 2020 alle ore 17:54 Ludovic Courtès ha > scritto: > >> Hi, >> >> Catonano skribis: >> >> >> What do you think should be added or reworded? I’m happy to fix it. >> >> >> > >> > It's here ! >> >

Re: C programs in Scheme syntax

2020-05-29 Thread Arne Babenhauserheide
Also have a look at https://github.com/sph-mn/sph-sc Examples: ;; declaration (declare a uint32_t b (array uint8_t 3) c (struct (id int) (name char*)) d (enum (x y z)) e (type uint16_t) f (type (struct (id int) (name char* ;; define with value (define a uint32_t 1) ;; macros