Here, I'll just get right to the point. Here is the magical incantation. Does it work for you?
git clone -b polyglot https://github.com/congo-cc/congo-parser-generator poly
cd poly
ant clean test
Actually the 'clean' above does not do anything if this is a fresh checkout, but I put it in there, since in later runs, you might want to clean up before launching the thing. (Of course, ideally, it shouldn't matter, but just so that if somebody reports some issue, we are the same page.) Anyway, the above should work -- on Mac, Linux, Windows.
Well, your environment has to be set up. Naturally, you have to have the JDK+Ant. Since recently, you need JDK 17 or higher but all the generated parser code still only requires JDK 8. You are also supposed to have a python3
on your path. I honestly don't know which is the minimal version that is needed.
And you also need a dotnet. If I run
dotnet --list-sdks
on the command-line, I get something like:
3.1.416 [C:\Program Files\dotnet\sdk]
6.0.200 [C:\Program Files\dotnet\sdk]
7.0.202 [C:\Program Files\dotnet\sdk]
on Windows. On Mac and Linux, I only have 6.x and 7.x installed. But, at least at the moment, we are targeting 6.x, so that is the key one that you would need to install, I guess. If you don't have that, then the above magic incantation probably won't work.
So, anyway, anybody out there would be doing the community a favor if you could just tell us whether the above runs with no problems, or if you had to do something or other to get it to work, then tell me what it was. It should not be too hard. If you have that working, then there are some other fun things in store, like some benchmarks! (Nothing more fun than benchmarks, eh?)