From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: good papers on graphics in scheme/lisp? Date: Thu, 3 Mar 2022 14:35:09 -0800 Message-ID: References: <87tucekf68.fsf@nonconstructivism.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Mar 03 23:35:44 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 1nPu2x-0005bl-Q6 for guile-user@m.gmane-mx.org; Thu, 03 Mar 2022 23:35:43 +0100 Original-Received: from localhost ([::1]:36872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPu2w-0004zF-GA for guile-user@m.gmane-mx.org; Thu, 03 Mar 2022 17:35:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPu2Y-0004yz-Bi for guile-user@gnu.org; Thu, 03 Mar 2022 17:35:18 -0500 Original-Received: from [2607:f8b0:4864:20::1035] (port=38775 helo=mail-pj1-x1035.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPu2U-0005sc-3N for guile-user@gnu.org; Thu, 03 Mar 2022 17:35:17 -0500 Original-Received: by mail-pj1-x1035.google.com with SMTP id ge19-20020a17090b0e1300b001bcca16e2e7so9059141pjb.3 for ; Thu, 03 Mar 2022 14:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=+n4wFRFsEcqKXrunz7ZneJfKVV58GICrl/Q4n/tHrYY=; b=PxRAuhzF6hQiZED1CWLTeWC1TJIDISXNUTlOFujL+qlg5YS5Zdh+l4be1Iywagz4O9 OLYweZ/2RmMxDHsclAoAHKvRLX1zw92J+KJgUJQ/tomDAp1oW573i0ZyfIbmQsdcYaLr NjNTvq5mtZbA/5T4asb1ulI+oUQigBXRAelBKft5eYdSo/qtr7L2EkzG7r0oNTBgKa54 e6RGjujPqjEYs4h3wpgQ5TkNfF2BPKj3ZrX8Qfm1SbvsYgwco8hsYYrmjP2cQ6kDJv1R b2SJvUq/NjDd4ZKwQ3ugZ0jhusVjrwTVNQDnCx54mqcxvj8XG9uNBXUkOIVR/1cus4jC 0Iiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=+n4wFRFsEcqKXrunz7ZneJfKVV58GICrl/Q4n/tHrYY=; b=wiwhETEp9XpSlTZ8qZWAYQi7hbc/Ii5QQxkGIYEUPdiuDfn0AGDqWJ8gPDm0nBgphW 53KLeXa9qblPMzEnEJ9t9MwJzGyXSrS6XEZgHTQoc1adunTEe+3jAM5xA9k/GfdTpWPu Og2fAcp5RojAW/GqWBurp+4dWG4XcT+sziuD6dxopMV0LzZH5xWpuYTa52bxL9P2bjBt iYitkwroz/XakBMEVPrT7pQ3tc0pEwlbuAmopPuBT8HHk94/Xf3ibF5izJ5lJrY5M/Ly nvL+2kBf3Te+gHF2XxcshHsiJNDOqsysgY2/9gOswihDroOc7aM/SANyenxTsCLjc23g YLuQ== X-Gm-Message-State: AOAM533Ibd/pPsMbGg+kraWhMMw69X07yp9g8vTlIVkLyGUv8V3mXiYM iwu+lCqrES8LhOMiPKkuLhwNcRz7KYs= X-Google-Smtp-Source: ABdhPJxNAg9xO+8yqiUA7A67lmo7oaoMl9w79YeljD/BYbUNQMFlBXtsEPIFxbKtXh022drTqLsY0g== X-Received: by 2002:a17:903:244c:b0:151:b4ad:9632 with SMTP id l12-20020a170903244c00b00151b4ad9632mr2790346pls.30.1646346910923; Thu, 03 Mar 2022 14:35:10 -0800 (PST) Original-Received: from [192.168.1.14] (c-67-169-2-50.hsd1.ca.comcast.net. [67.169.2.50]) by smtp.gmail.com with ESMTPSA id b1-20020a17090aa58100b001bcb7bad374sm8967671pjq.17.2022.03.03.14.35.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 14:35:10 -0800 (PST) Content-Language: en-US In-Reply-To: <87tucekf68.fsf@nonconstructivism.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1035 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=matt.wette@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:18159 Archived-At: 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