Re: [Tack-devel] Questions about LLgen
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: Wild Pi <wi...@pr...> - 2022-02-04 18:30:15
|
Thank you for fixing the build error. Although make still fails with the error below, LLgen is built successfully. I'm going to play with it. Going back to my second question. Have you built any OO language (C++/Java etc.) parser with LLgen? Basically, I'd like to know how practical it is to build a high quality parser for a full feature OO language. It'll be very helpful if someone could share their experience. ... ... ... ... groff -R -G -e -g -p -ms -Tpdf doc/LLgen.n > .obj/LLgen.pdf groff: can't find `DESC' file groff:fatal error: invalid device `pdf' Makefile:43: recipe for target '.obj/LLgen.pdf' failed make: *** [.obj/LLgen.pdf] Error 3 ------- Original Message ------- On Thursday, February 3rd, 2022 at 1:33 PM, David Given <dg...@co...> wrote: > Yup, that's broken --- sorry, I forgot to update the manual build instructions when most of the pm stuff got ripped out. I've fixed it and added a simple Makefile. Try again, please? > > On Thu, 3 Feb 2022 at 08:32, Wild Pi via Tack-devel <tac...@li...> wrote: > >> Hi, there, >> >> I'm new to LLgen and compiler in general. I just downloaded ACK, but I'm only interested in LLgen at this point. I'm trying to build and use it. I'm using GCC 7.5.0 on Ubuntu 18.0.4. >> >> When I run ./pm from LLgen/ directory, it failed with some errors. I played with the ./pm script, and produced the .pm-exec-x86_64 binary. But it exited with this error: >> >> ./pm >> pm: cannot read pmfile: No such file or directory >> >> My first question: how can I build LLgen on 64-bit Ubuntu? >> >> My second question is about LLgen. I'm thinking to build a parser for a C++/Java like language. I notice clang is a hand written recursive descent parser. So I guess LLgen can be >> used to build a parser for a similar language. But before I spent tons of time into the project, could someone with LLgen experience tell me if LLgen can be used to implement, say, >> a full featured C++ or Java parser? >> >> Thank you, >> >> _______________________________________________ >> Tack-devel mailing list >> Tac...@li... >> https://lists.sourceforge.net/lists/listinfo/tack-devel |