Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Debug grammar tooling problems #89

Open
flip111 opened this issue Oct 20, 2018 · 0 comments
Open

Debug grammar tooling problems #89

flip111 opened this issue Oct 20, 2018 · 0 comments

Comments

@flip111
Copy link

flip111 commented Oct 20, 2018

Hi, i try this code https://keynote.hoa-project.net/PHPTour14/Demonstration/Generation_exhaustive.php to show all possible compiler output. Is it the same as paths? But my CPU just goes to 100% and nothing gets printed.

I'm trying to diagnose why i get a PHP Fatal error: Uncaught Hoa\Compiler\Llk\Parser::parse(): (0) Unexpected token ... blabla there is no indication of which token is expected instead. Which alternatives were tried and what it backtracked on. For this i tried the code in the guide https://hoa-project.net/En/Literature/Hack/Compiler.html#Traces

Also question on the side .. the hoa tool. I can not find it, i was expecting it to be in vendor/bin but it's not there, how can i get this tool ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant