From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Blake Shaw Newsgroups: gmane.lisp.guile.user Subject: Re: good papers on graphics in scheme/lisp? Date: Sat, 05 Mar 2022 01:18:11 +0700 Message-ID: <87h78dzin0.fsf@nonconstructivism.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3733"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Mar 04 19:19:41 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nQCWj-0000n7-E2 for guile-user@m.gmane-mx.org; Fri, 04 Mar 2022 19:19:41 +0100 Original-Received: from localhost ([::1]:55932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQCWi-00034E-3r for guile-user@m.gmane-mx.org; Fri, 04 Mar 2022 13:19:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQCVj-000332-6s for guile-user@gnu.org; Fri, 04 Mar 2022 13:18:41 -0500 Original-Received: from out2.migadu.com ([188.165.223.204]:40242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQCVg-00077i-8L for guile-user@gnu.org; Fri, 04 Mar 2022 13:18:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nonconstructivism.com; s=key1; t=1646417914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dZ/vpamWZOilnoZSrGUiQWy8UW+omGTavJZwB7lMPjY=; b=MaFxkbdPiMDsu+/Xrz/9+ylplfHxdbykJUDdfWllbnjRji0nRvMbzwZsYIBsK7VbNuz1PL /2yfGY845BaGQnX39OplDC3e9Cj987ipjx5kJiVx2wS4lpu4hbF0HrYgz5IlBVaz/+2EmE IiGdypgKvuEZb2HPABpXEY+K8RCE5LM= Gcc: nnimap+imap.migadu.de:sent.2022 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. User-Mail-Address: blake@nonconstructivism.com X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: nonconstructivism.com Received-SPF: pass client-ip=188.165.223.204; envelope-from=blake@nonconstructivism.com; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18161 Archived-At: Matt Wette writes: > On 3/3/22 11:29 AM, Blake Shaw wrote: >> 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 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 >>>> . >>>> >>>> There's also 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”