• Santarella showed up early and brought cake?

    From yeti@yeti@tilde.institute to tilde.meta on Sun Dec 15 18:58:18 2024
    Santarella showed up early and brought cake?

    ------------------------------------------------------------------------ (yeti@kumari:42)~/wrk/cake$ cat xyzzy.cake
    #include <stdio.h>

    int main(void)
    {
    defer puts("Yay!");
    defer puts("Yay!!");
    defer puts("Yay!!!");
    return 0;
    }
    (yeti@kumari:42)~/wrk/cake$ make
    cake -o xyzzy.cake.c xyzzy.cake
    Cake 0.9.40
    /home/yeti/wrk/cake/xyzzy.cake

    1 files in 0.03 seconds
    0 errors 0 warnings 0 notes
    cc -o xyzzy xyzzy.cake.c
    (yeti@kumari:42)~/wrk/cake$ ./xyzzy
    Yay!!!
    Yay!!
    Yay!
    (yeti@kumari:42)~/wrk/cake$ _ ------------------------------------------------------------------------

    ... and lots of more stuff, but searching `defer` for C was the reason I
    found this project a while ago. Now I finally found the time to put it
    as bonsai tree into `/opt/cake/{bin,src,...}`.

    See:

    Cake a C23 front end and transpiler written in C
    <https://github.com/thradams/cake>

    And this reminded me to look at it again:

    From: Thiago Adams <thiago.adams@gmail.com>
    Newsgroups: comp.lang.c
    Subject: transpiling to low level C
    Date: Sun, 15 Dec 2024 00:05:13 -0300
    Message-ID: <vjlh19$8j4k$1@dont-email.me>
    --
    I do not bite, I just want to play.
    --- Synchronet 3.20a-Linux NewsLink 1.2