From: <tomas@tuxteam.de>
To: Matt Wette <matt.wette@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: Nyacc question: where are the actions bound?
Date: Mon, 9 Mar 2020 10:07:12 +0100 [thread overview]
Message-ID: <20200309090712.GA16073@tuxteam.de> (raw)
In-Reply-To: <40b09b97-862e-6bb0-3205-45bb9dd35d46@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]
On Sun, Mar 08, 2020 at 08:10:50AM -0700, Matt Wette wrote:
>
>
> On 3/8/20 3:14 AM, tomas@tuxteam.de wrote:
> >Hi,
> >
> >I'm playing around with Nyacc [...]
> >So I defined some function =collect= 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. If you look at the example calc
> 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ás
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2020-03-09 9:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-08 10:14 Nyacc question: where are the actions bound? tomas
2020-03-08 15:10 ` Matt Wette
2020-03-09 9:07 ` tomas [this message]
2020-03-14 11:59 ` Nyacc question: [found] " tomas
2020-03-14 14:31 ` Matt Wette
2020-03-14 15:47 ` tomas
2020-07-30 13:50 ` Nyacc question: " Matt Wette
2020-07-30 17:17 ` tomas
2020-08-03 20:42 ` tomas
2020-08-03 23:37 ` Matt Wette
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=20200309090712.GA16073@tuxteam.de \
--to=tomas@tuxteam.de \
--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).