[erlang-questions] yecc question

Radu Brumariu brum76@REDACTED
Wed Aug 1 19:34:39 CEST 2012


Hi, let's say that I am parsing a string and that string has a
backreference to something previously seen.
like this :
{key: 'nameA', value: n1},
{key: 'nameB', value:n3},
{key: 1, value:n2},
{key: 2, value:n4}

here the values of key of 1 and 2 are backreferences to the 'nameA' and 'nameB'.
Is there a way to lookup the value of reference 1 during parsing,
rather than afterwards ?

Thanks,
Radu



More information about the erlang-questions mailing list