[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Featuritism
From: |
Akim Demaille |
Subject: |
Re: Featuritism |
Date: |
09 Jan 2002 15:02:32 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
>>>>> "Akim" == Akim Demaille <address@hidden> writes:
Akim> Flex can provide two different services:
Akim> 1. computation of the location.
Akim> I think there is just no hope to achieve this goal: the very
Akim> definition of a location is just too dependent of the language
Akim> you consider. In addition, not all users need the same location
Akim> definition.
In the wide range of possible definition of locations I forgot one
important: some scanners include yytext (well, a copy, of course) in
the position, so that when they output an error message, they also
include the text of the error:
~/src/gawk % gawk 'BEGIN {error+}' nostromo Err 1
gawk: cmd. line:1: BEGIN {error+}
gawk: cmd. line:1: ^ parse error
One such example is GNU AWK. The scanner is written by hand and it
keeps the whole current line, but the idea applies equally.
- Re: Locations suggest -- we're stupid, (continued)
- Re: Locations suggest -- we're stupid, Akim Demaille, 2002/01/07
- Re: Locations suggest -- we're stupid, Hans Aberg, 2002/01/07
- Re: Locations suggest -- we're stupid, Akim Demaille, 2002/01/07
- Re: Locations suggest -- we're stupid, Hans Aberg, 2002/01/07
- Featuritis, John W. Millaway, 2002/01/07
- Re: Featuritis, Nikos Balkanas, 2002/01/08
- Re: Featuritis, Hans Aberg, 2002/01/09
- Re: Featuritism, Akim Demaille, 2002/01/09
- Re: Featuritism,
Akim Demaille <=
- Re: Featuritism, Hans Aberg, 2002/01/09
- Re: Featuritism, Akim Demaille, 2002/01/10
- Re: Featuritism, Hans Aberg, 2002/01/10
- Re: Featuritism, Hans Aberg, 2002/01/09
- Re: Featuritism, Akim Demaille, 2002/01/10
- Re: Featuritism, Hans Aberg, 2002/01/10
- why are locations dictated by bison?, John W. Millaway, 2002/01/11
- Re: why are locations dictated by bison?, Hans Aberg, 2002/01/11
- Re: why are locations dictated by bison?, Akim Demaille, 2002/01/12
- Re: why are locations dictated by bison?, Akim Demaille, 2002/01/12