Letractively / parjser

Automatically exported from code.google.com/p/parjser
0 stars 0 forks source link

Failure to parse with "arithmetic" example grammar #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Extract rev 44 of the code with Subversion (the latest).
2. Navigate a browser (Chromium Version 25.0.1364.160 Ubuntu 12.04 
(25.0.1364.160-0ubuntu0.12.04.1)) to file:.../examples/ParjserPlayground.html
3.  Choose "arithmetic" in the Grammmar pull-down.
Choose SimpleTopDownBreadthFirstParser in the Parser pull-down.
Write just "2 + 2" in the Input Text field.
Hit Parse.

What is the expected output? What do you see instead?
Expect a good parse tree but see only:
-{"type":"_EOF","minOccurs":1,"maxOccurs":1,"first":{"_EOF":[0]}}

What version of the product are you using? On what operating system?
Rev 44.  Lubuntu.

Please provide any additional information below.
Other parsers from the list blew the stack.

Original issue reported on code.google.com by jv2a9...@gmail.com on 30 May 2013 at 10:27

GoogleCodeExporter commented 8 years ago
Ok - I can reproduce this issue. Thanks!

Original comment by roland.bouman on 30 May 2013 at 10:49

GoogleCodeExporter commented 8 years ago
All other parsers seem to be ok, problem is in SimpleTopDownBreadthFirstParser

Original comment by roland.bouman on 30 May 2013 at 12:33