[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nyacc support for extension languages
From: |
Joshua Branson |
Subject: |
Re: nyacc support for extension languages |
Date: |
Sun, 19 Aug 2018 17:28:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Matt Wette <address@hidden> writes:
> I am working on providing a module to add to the nyacc distribution for
> the purpose of generating extension languages, and putting together a few
> extensions for demo. So far I'm playing with javascript and matlab.
> These languages use a "nx-" prefix to designate them as "nyacc extension".
> One can interpret "nx" to also mean "not exactly", so "nx-matlab" is not
> exactly MATLAB. It has taken some work to get my yacc like parser to
> parse expressions instead of files, so some work has gone into updating
> the nyacc parser. nyacc/parse.scm now has parser generators that provide
> an #:interactive option and more robust default-reductions for generating
> parsers which work well in interactive mode.
>
This is super cool! Is the goal to eventually make it exactly
matlab/exactly javascript? Or will there always be some portability
issues?
>
> Matt