You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Logan Bell (JIRA)" <ji...@apache.org> on 2012/07/15 07:42:34 UTC
[lucy-issues] [jira] [Created] (LUCY-239) Simplify JSON Parser Y File
Logan Bell created LUCY-239:
-------------------------------
Summary: Simplify JSON Parser Y File
Key: LUCY-239
URL: https://issues.apache.org/jira/browse/LUCY-239
Project: Lucy
Issue Type: Improvement
Affects Versions: 0.3.3, 0.4.0
Reporter: Logan Bell
Priority: Trivial
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[lucy-issues] [jira] [Assigned] (LUCY-239) Simplify JSON Parser Y File
Posted by "Logan Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCY-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Logan Bell reassigned LUCY-239:
-------------------------------
Assignee: Logan Bell
> Simplify JSON Parser Y File
> ---------------------------
>
> Key: LUCY-239
> URL: https://issues.apache.org/jira/browse/LUCY-239
> Project: Lucy
> Issue Type: Improvement
> Affects Versions: 0.3.3, 0.4.0
> Reporter: Logan Bell
> Assignee: Logan Bell
> Priority: Trivial
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[lucy-issues] [jira] [Commented] (LUCY-239) Simplify JSON Parser Y File
Posted by "Logan Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCY-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414579#comment-13414579 ]
Logan Bell commented on LUCY-239:
---------------------------------
Greets,
Our JSON parser is powered by the Lemon parser generator[1], with the grammar
file in core/Lucy/Util/Json/JsonParser.y. As formal grammars are the topic of
this week's book club, I thought it might be a good time to hack on it a bit.
Right now, the grammar is slightly more complex than it needs to be. This
block is unnecessary:
/* Structural characters. */
begin_array ::= LEFT_SQUARE_BRACKET.
end_array ::= RIGHT_SQUARE_BRACKET.
begin_object ::= LEFT_CURLY_BRACKET.
end_object ::= RIGHT_CURLY_BRACKET.
name_separator ::= COLON.
value_separator ::= COMMA.
All we have to do is replace all instances in the file of the non-terminals on
the left with the corresponding terminals on the right and that block can be
deleted.
Have we got a volunteer willing to take this task on?
Marvin Humphrey
> Simplify JSON Parser Y File
> ---------------------------
>
> Key: LUCY-239
> URL: https://issues.apache.org/jira/browse/LUCY-239
> Project: Lucy
> Issue Type: Improvement
> Affects Versions: 0.3.3, 0.4.0
> Reporter: Logan Bell
> Assignee: Logan Bell
> Priority: Trivial
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[lucy-issues] [jira] [Resolved] (LUCY-239) Simplify JSON Parser Y File
Posted by "Logan Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCY-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Logan Bell resolved LUCY-239.
-----------------------------
Resolution: Fixed
> Simplify JSON Parser Y File
> ---------------------------
>
> Key: LUCY-239
> URL: https://issues.apache.org/jira/browse/LUCY-239
> Project: Lucy
> Issue Type: Improvement
> Affects Versions: 0.3.3, 0.4.0
> Reporter: Logan Bell
> Assignee: Logan Bell
> Priority: Trivial
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira