[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nyacc 0.65.0 released

From: Matt Wette
Subject: Re: nyacc 0.65.0 released
Date: Thu, 31 Dec 2015 09:22:42 -0800

One other thing to mention on why I think SXML is good for generating the parse 
I believe SXML can provide a natural way to use attribute grammar semantics.   
So, if an expression comes out of the parser as
        (expr (add (ident “x”) (ident “y”)))
then after semantic analysis it may look something like 
        (expr (@ (type “double”)) (add (@ (type “double”) (lt “int”) (rt 
“double”)) (ident (@ (type “int”)) “x”) (ident (@ (type “double”)) “y”)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]