Re: [q-lang-users] New stuff in cvs: multichar ops, views
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2007-06-01 12:06:47
|
Rob Hubbard wrote: > Alternatively, is there any way of issuing a warning if the lexer's > action is affected by the presence of an operator definition when > parsing a sequence of punctuation characters to form a symbol? Again, > probably not, as I can't see a good rule or heuristic to distinguish > likely intended parses from unintended ones... I thought about this myself, but to do this right the lexer would have to look ahead in the input and perform a considerable amount of backtracking, which would be a major performance killer. So I decided against it. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |