Hello,

For fixed-width or delimited data like these it is a lot easier to
write a program by hand than use ANTLR.

Michael

On 17 February 2011 15:53, 辛跃 <[email protected]> wrote:
>
>
>
> i want convert the Stream content like:
>
> attribute1      attibute2       attribute3        attribute4           
> attribute5
>
>  value1          value2         value3            value4                value5
>
>  value1          value2         value3            value4                 
> value5
>
>  vaue1          value2          value3            value4                 
> value5
>
> my goal is store those tokens in the form of
>
> (atribute1 value1) ( attribue2 value2) ( attribue3 value3) ... ...
>
> (atribute1 value1) ( attribue2 value2) ( attribue3 value3) ... ...
>
> (atribute1 value1) ( attribue2 value2) ( attribue3 value3) ... ...
>
> so how could i write my grammer by antlr to reach my goal
>
> thanks
>
>
>
>
>
>
>
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to