-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello world grammar mistake? #4
Comments
Try: test On Wed, Oct 22, 2014 at 2:41 PM, flip111 [email protected] wrote:
Robert Plummer |
this helped a little bit i guess ..
what does that mean? |
just execute jison test.jison and ensure it is working before trying it On Wed, Oct 22, 2014 at 2:52 PM, flip111 [email protected] wrote:
Robert Plummer |
That test file didn't work, i corrected it to this test.jison
input.txt
Executed commands:
This gave no error so i assume everything went succesful. However i don't know yet how i can access the generated AST. Using those files like that and trying it with the php port:
|
What happens when you execute jison test.jison? On Fri, Oct 24, 2014 at 2:55 PM, flip111 [email protected] wrote:
Robert Plummer |
nothing visible in console (one empty line to be precise)
|
I looked at the calculator example and i noticed it was using some extra commands
As for the PHP version it still doesn't work. |
Hi i found the bug. This line assumes that the input file lines are terminated by |
Nice find, we should then handle both windows and linux lines. On Sat, Nov 1, 2014 at 1:25 PM, flip111 [email protected] wrote:
Robert Plummer |
I have my test file like this
When i run jison it returns:
Is this a mistake of the grammar or another thing that is going wrong entirely??
The text was updated successfully, but these errors were encountered: