[ 
https://issues.apache.org/jira/browse/FELIX-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747166#action_12747166
 ] 

Derek Baum commented on FELIX-1500:
-----------------------------------

I think this issue could be re-opened.

It is a well-defined sub-set of FELIX-1487.

I think we should change the priority of | and ;, regardless of any support for 
handling handling script files in FELIX-1487.

This is the same priority as Unix shells, and Peter Kriens has indicated that 
he would support this:

"About the priority of | and ; ... I remember thinking long and hard about this 
but forgot why I picked this model, it still seems slightly more powerful 
because the newline acts as a ';' with a higher priority than the '|' but I am 
not opposed to switching the priority."

> [gogo] Change | and ; priority
> ------------------------------
>
>                 Key: FELIX-1500
>                 URL: https://issues.apache.org/jira/browse/FELIX-1500
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo
>            Reporter: Guillaume Nodet
>
> The main driver would be to support scripts files, not only lines.
> The parser needs to be aware of new lines for readability, as complex 
> closures can't be inlined easily.
> This leads to have the parser replace (semantically, i mean) newlines by 
> either:
>   ( line ) ;
> or 
>   line ;
> The first one would be needed to keep the | priority over ; while the second 
> one would be appropriate if we change the priority.
> It seems more intuitive to me that newlines don't change the priority and are 
> just considered as a separator of commands.
> Additionally, this would be also closer to unix shells.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to