unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Olivier Dion via General Guile related discussions <guile-user@gnu.org>
To: Blake Shaw <blake@nonconstructivism.com>, guile-user@gnu.org
Subject: Re: good papers on graphics in scheme/lisp?
Date: Wed, 02 Mar 2022 12:34:32 -0500	[thread overview]
Message-ID: <875yow5kd3.fsf@laura> (raw)
In-Reply-To: <875yow2t06.fsf@nonconstructivism.com>

On Wed, 02 Mar 2022, Blake Shaw <blake@nonconstructivism.com> wrote:

> Next week I will start working on my installation /Scribble Jam/ for
> iLight Singapore[2], and I'm planning to do it all in Guile OpenGL +
> GLSL. I've started fiddling with Guile OpenGL and it seems pretty
> complete and performant (I haven't experienced any GC hiccups from the
> small stress tests I've put it through, but its still only minor
> stuff).

> There is still a chance I might choose to create a Guile
> interface to a subset of the C++ OpenFrameworks[3] library

FFI for C++ is a real pain to do.  You can't juste use plain Scheme (at
least I don't know how for C++).  If you go that route, I have C++
templates that can help you for the glue between Scheme and C++
(e.g. std::vector, std::map, std::string).

> Also, one last thing, I'm considering attempting to create a DSL that
> compiles to a subset of GLSL like Chicken's GLLS library[4], as I'm
> becoming more and more interested in compilation. I remember reading
> somewhere about a Guile library that allows you to write C in Guile,

I think you are refering to
<http://sph.mn/computer/guides/c/c-indent.html>.

There's also <https://www.nongnu.org/nyacc/> that can be helpful if
you're familiar with LALR(1) parsers.

Regards,
old

-- 
Olivier Dion
Polymtl



  reply	other threads:[~2022-03-02 17:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 16:56 good papers on graphics in scheme/lisp? Blake Shaw
2022-03-02 17:34 ` Olivier Dion via General Guile related discussions [this message]
2022-03-02 17:42   ` tomas
2022-03-02 18:12 ` Aleix Conchillo Flaqué
  -- strict thread matches above, loose matches on Subject: below --
2022-03-03 11:36 Blake Shaw
2022-03-03 19:10 Blake Shaw
2022-03-03 19:29 Blake Shaw
2022-03-03 22:35 ` Matt Wette
2022-03-04  5:42   ` tomas
2022-03-04 18:18 Blake Shaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yow5kd3.fsf@laura \
    --to=guile-user@gnu.org \
    --cc=blake@nonconstructivism.com \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).