
17 Apr
2008
17 Apr
'08
7:26 p.m.
Hi Hartmut, I'm looking at the lexer library, and I must say I'm loving it. But there's a feature request I would like to make. Is it possible to allow paramiterization of the ID type. It is now fixed in std::size_t, and it is possibly a very good default. But how would one do to parse UTF-32 in a 32 bit machine? Also, allowing any other type (EqualComparable) would let people use string types as IDs, making it easier to log a execution, since you wouldn't have to map enum values to strings. Thanks, -- Felipe Magno de Almeida