[
https://issues.apache.org/jira/browse/FELIX-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747322#action_12747322
]
Guillaume Nodet commented on FELIX-1521:
----------------------------------------
I haven't experimented much with the multiline support in gogo yet, so I did
not even noticed that ";" was required.
So maybe we should first try to make our grammar inline with what gogo does,
then discuss changes.
For ValuePart, I've added a TODO, because the parser does not really behave
like that now.
The point is that the parser does not know what the arguments are:
> $a toString
> echo file://uri
Also, imho, command names do not have to be java identifiers. When stored in
the osgi registry, any string could work as a command name.
Even with scopes, you need to be able to write:
> osgi:bundles 0
So excluding all characters that are not java identifiers would not work in
both case.
We need to better capture what the parser does in the grammar, and start from
that to enhance it.
> [gogo] ANTLR grammar for gogo
> -----------------------------
>
> Key: FELIX-1521
> URL: https://issues.apache.org/jira/browse/FELIX-1521
> Project: Felix
> Issue Type: New Feature
> Components: Gogo
> Reporter: Guillaume Nodet
> Attachments: gogo.g, gogo.g, gogo.g
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.