unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Blake Shaw <blake@nonconstructivism.com>
To: Matt Wette <matt.wette@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: good papers on graphics in scheme/lisp?
Date: Sat, 05 Mar 2022 01:18:11 +0700	[thread overview]
Message-ID: <87h78dzin0.fsf@nonconstructivism.com> (raw)

Matt Wette <matt.wette@gmail.com> writes:

> On 3/3/22 11:29 AM, Blake Shaw wrote:
>> <tomas@tuxteam.de> writes:
>>
>>> On Wed, Mar 02, 2022 at 12:34:32PM -0500, Olivier Dion via General
>>> Guile related discussions wrote:
>>>> On Wed, 02 Mar 2022, Blake Shaw <blake@nonconstructivism.com> wrote:
>>> [...]
>>>
>>>>> 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.
>>> Actually NYACC comes with a pretty complete C99 compiler [1], which is
>>> used to generate FFI bindings. So perhaps using that as a stepping stone
>>> towards GLSL doesn't sound that crazy...
>>>
>>> Cheers
>>>
>>> [1] https://www.nongnu.org/nyacc/nyacc-c99-ug.html
>> oh wow i didn't see that it ships with a c99 parser, I have only touched
>> the FFI helper -- thanks for pointing me here, this is a massive leg up.
>>
>> sounding less and less crazy by the minute :)
>>
>
> Note nyacc comes with a c99 parser, not compiler.  mes has the back end.
>
> The best paper I read on C++ for FFI was the one wrapping Qt for python,
> but that was many years ago.  I found this more recent link:
>     https://doc.qt.io/qtforpython/shiboken6/shibokengenerator.html
> Maybe it can be helpful..
>
> Matt
>
This looks like great help, thanks!

ez,
b

-- 
“In girum imus nocte et consumimur igni”



             reply	other threads:[~2022-03-04 18:18 UTC|newest]

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

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=87h78dzin0.fsf@nonconstructivism.com \
    --to=blake@nonconstructivism.com \
    --cc=guile-user@gnu.org \
    --cc=matt.wette@gmail.com \
    /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).