[Tack-devel] Questions about LLgen
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: Wild Pi <wi...@pr...> - 2022-02-03 07:31:54
|
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, |