Sorry, fat fingers. Continues at the end...

On Tue, Jan 7, 2014 at 1:47 AM, Ruslan Zakirov <[email protected]>wrote:

> Hi,
>
> After long period of ignoring pet projects I'm in attempt to convert one
> to scanless interface. Stuck and don't understand where to go next.
>
> Full script and full output: https://gist.github.com/ruz/8290356
>
> Here is error I get:
>

Error in SLIF parse: No lexemes accepted at line 3, column 1
  Lexer "L0" rejected 1 lexeme(s)
  Rejected lexeme #1: text;
value="UID:urn:uuid:4fbe8971-0bc3-424c-9c26-36c3e1eff6b1"; length = 49

Progress by that time:

P4 @4-4 L2c12 content_name -> . name
P5 @4-4 L2c12 content_name -> . group '.' name

name and group are rules in G0/L0:

G0 R6 name ::= A_D_D
...
G0 R34 A_D_D ::= [A-Za-z0-9-] +
...
G0 R85 :start_lex ::= name

Trace of the terminals:

Lexer "L0" accepted lexeme L2c12: CRLF; value="
"
Lexer "L0" rejected lexeme L3c1-49: text;
value="UID:urn:uuid:4fbe8971-0bc3-424c-9c26-36c3e1eff6b1"

Here come questions:

1) why doesn't lexer try name with value="UID"?
2) should I disambiguate everything on lexer level?

Tried the most recent dev release with the same result.


>
>
> --
> Best regards, Ruslan.
>



-- 
Best regards, Ruslan.

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to