--
Best regards, Ruslan.
(1) In this line:QSAFE_CHAR ~ [!\x23-\x7E] | WSP | NON_ASCIIis the '!' meant to be a literal '!' or a negated set, in which case '^' is used?
(2) In this line:| [\xF0] [\x90-\xBF][\x80-\xBF][\x80-\xBF]is that '\x90' meant to be '\x80' like the lines above and below it, or really '\x90'?
--
You received this message because you are subscribed to the Google Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marpa-parser...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Lexer "L0" accepted lexeme L1c12: CRLF; value=""Lexer "L0" rejected lexeme L2c1-11: text; value="VERSION:4.0"Lexer "L0" accepted lexeme L2c1-11: 'VERSION:4.0'; value="VERSION:4.0"
Lexer "L0" accepted lexeme L2c12: CRLF; value=""Lexer "L0" rejected lexeme L3c1-49: text; value="UID:urn:uuid:4fbe8971-0bc3-424c-9c26-36c3e1eff6b1"
progress:P0 @0-0 L1c1 vCards -> . vCard +P1 @0-0 L1c1 vCard -> . 'BEGIN:VCARD' CRLF 'VERSION:4.0' CRLF content 'END:VCARD'P36 @0-0 L1c1 :start -> . vCardsR1:1 @0-1 L1c1-11 vCard -> 'BEGIN:VCARD' . CRLF 'VERSION:4.0' CRLF content 'END:VCARD'R1:2 @0-2 L1c1-12 vCard -> 'BEGIN:VCARD' CRLF . 'VERSION:4.0' CRLF content 'END:VCARD'R1:3 @0-3 L1c1-L2c11 vCard -> 'BEGIN:VCARD' CRLF 'VERSION:4.0' . CRLF content 'END:VCARD'R1:4 @0-4 L1c1-L2c12 vCard -> 'BEGIN:VCARD' CRLF 'VERSION:4.0' CRLF . content 'END:VCARD'P2 @4-4 L2c12 content -> . content_line +P3 @4-4 L2c12 content_line -> . content_name params ':' value CRLFP4 @4-4 L2c12 content_name -> . nameP5 @4-4 L2c12 content_name -> . group '.' nameP6 @4-4 L2c12 group -> . A_D_DP7 @4-4 L2c12 name -> . A_D_DError in SLIF parse: No lexemes accepted at line 3, column 1Lexer "L0" rejected 1 lexeme(s)Rejected lexeme #1: text; value="UID:urn:uuid:4fbe8971-0bc3-424c-9c26-36c3e1eff6b1"; length = 49* String before error: BEGIN:VCARD\nVERSION:4.0\n* The error was at line 3, column 1, and at character 0x0055 'U', ...* here: UID:urn:uuid:4fbe8971-0bc3-424c-9c26-36c3e1eff6b1\nMarpa::R2 exception at /home/ron/bin/vcard.parser.pl line 96.So it is trying A_D_D.
--
You received this message because you are subscribed to the Google Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marpa-parser...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I assume the problem is that you're using ':' for 2 purposes:
content_line ::= content_name params ':' value CRLFandTEXT_CHAR ~[\\] [\\n,;:]
--
You received this message because you are subscribed to the Google Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marpa-parser...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I didn't know it was off list. It seems I need to learn how to use my new phone.
LTM is pretty useful when parsing programming languages, but hard to work with in data like or ad hoc formats in my experience.
Peter
Hi,
Peter mentioned Longest-tokens-match off list an hour ago and I only noticed it 5 minutes ago. This is what I was not expecting from scanerless interface.This means Repa is still valid thing. I should kill all attempts at continuos parsing in it and release.
Pauses and manual lexing are not "sexy" :)
What is IRIF? Is it new marpa front end with inline actions?