From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: Nyacc question: where are the actions bound? Date: Mon, 9 Mar 2020 10:07:12 +0100 Message-ID: <20200309090712.GA16073@tuxteam.de> References: <20200308101445.GB28250@tuxteam.de> <40b09b97-862e-6bb0-3205-45bb9dd35d46@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="116024"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Mar 09 10:07:37 2020 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 1jBENs-000U6R-EE for guile-user@m.gmane-mx.org; Mon, 09 Mar 2020 10:07:36 +0100 Original-Received: from localhost ([::1]:39092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBENr-0002Ox-FJ for guile-user@m.gmane-mx.org; Mon, 09 Mar 2020 05:07:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53771) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBENZ-0002JB-RT for guile-user@gnu.org; Mon, 09 Mar 2020 05:07:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBENX-0001qr-Mt for guile-user@gnu.org; Mon, 09 Mar 2020 05:07:16 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:44056) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBENX-0001pf-6F for guile-user@gnu.org; Mon, 09 Mar 2020 05:07:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=Y5Q7VlPzfFJDpBWz0LZp9hE577zxViufTisN5QHHN/w=; b=ffv9hbc3ufmi+7/p/3TsNjIRNgftsMWO9M7RiplBm6n28g/GhZdxgL17cyuvzrGV5yY93A/+DjEPdPaksRvlN9Rxz3Cc+rkdyv6tidTWU1U6KF/HhSUgk5tKsMdji10fpCsppQXEXJX+5FOtrJgN0F1Hl5vIrf47uPul1SHYswR8MKrlrKT+pMKic0PCfpSLtzrcBPKyslg8VqcZvXsCGVzaIbYyjA37qATgAYT6hOq6Z3zESGNPjhWmut2KruyqDf+doexRD4xMtQEYiMCoJLcUkiQSYpyRTZwsge0Icy80F8q7/YWZnplz0DCs2A983yEW2ORKbAwfP6snu0vDng==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jBENU-0004ff-ND; Mon, 09 Mar 2020 10:07:12 +0100 Content-Disposition: inline In-Reply-To: <40b09b97-862e-6bb0-3205-45bb9dd35d46@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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:16269 Archived-At: --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 08, 2020 at 08:10:50AM -0700, Matt Wette wrote: >=20 >=20 > On 3/8/20 3:14 AM, tomas@tuxteam.de wrote: > >Hi, > > > >I'm playing around with Nyacc [...] > >So I defined some function =3Dcollect=3D which will be called from > >actions in the grammar. > > > >My question is: where is the stuff resolved which is mentioned > >in grammar actions? [...] Thanks for your quick response, and for taking the time to make sense of my diffuse text. > Nyacc was envisioned with the paradigm you propose, by using tags. > But I have not tried that in a while.=C2=A0 If you look at the example ca= lc > in examples/nyacc/lang/calc/mach.scm you will see Note that I'm not yet proposing a paradigm. What you (graciously) raise to the level of "paradigm" is still just a set of prejudices as I try to find a way through the bushes :) I'm ready & willing to change my way of seeing things. Care to explain why you havent tried your first paradigm in a while? After all you're probably the one having the most practical experience with Nyacc. > (define (gen-calc-files) [...] > You can run this, then you can use the generated files to provide > the parser [...] > (define calc-full-act-v [...] Thanks for the hint. I'll definitely give that angle a try. Cheers -- tom=C3=A1s --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl5mB0AACgkQBcgs9XrR2kZNrQCfVlEwDm1WE9OouLu52XoY4JcD vL0AnieJENL2cZG99WtheinfrgX4o4mO =0RZ4 -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--