From: | Kaz Kylheku <157-073-9834@kylheku.com> |
Newsgroups: | comp.compilers |
Date: | Sat, 10 Nov 2018 04:00:39 +0000 (UTC) |
Organization: | Aioe.org NNTP Server |
References: | 18-05-009 18-11-001 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="85535"; mail-complaints-to="abuse@iecc.com" |
Keywords: | code, yacc |
Posted-Date: | 10 Nov 2018 23:09:18 EST |
On 2018-11-09, rockbrentwood@gmail.com <rockbrentwood@gmail.com> wrote:
> A notable gap is that Yacc is not self-compiled; thereby falling short of the
> "is it worth using" test!
GNU Bison's grammar is written in Yacc. Amusingly, it is going to town
with Bison extensions, so you need Bison to re build it:
http://git.savannah.gnu.org/cgit/bison.git/tree/src/parse-gram.y
So the user doesn't have to, they keep the generated C in the repo.
And that's about how far anyone can reasonably go in using a Yacc to build
Yacc.
--
TXR Programming Lanuage: http://nongnu.org/txr
Music DIY Mailing List: http://www.kylheku.com/diy
ADA MP-1 Mailing List: http://www.kylheku.com/mp1
Return to the
comp.compilers page.
Search the
comp.compilers archives again.