Re: mapping token identifier to value

2018-12-17 Thread r0ller
ladó: Akim Demaille < a...@lrde.epita.fr (Link -> mailto:a...@lrde.epita.fr) > Dátum: 2018 december 17 06:28:28 Tárgy: Re: mapping token identifier to value Címzett: r0ller < r0l...@freemail.hu (Link -> mailto:r0l...@freemail.hu) >   Hi! > Le 14 déc. 2018 à 14:21, r0ller a écrit :

Re: mapping token identifier to value

2018-12-16 Thread Akim Demaille
Hi! > Le 14 déc. 2018 à 14:21, r0ller a écrit : > > Hi Akim, > > I'm trying to get rid of numbering tokens and let bison do that but it seems > to be more difficult than I thought. Although, I managed to come up with an > idea as I'm anyway generating the bison source I could generate a map l

mapping token identifier to value

2018-12-14 Thread r0ller
Hi Akim, I'm trying to get rid of numbering tokens and let bison do that but it seems to be more difficult than I thought. Although, I managed to come up with an idea as I'm anyway generating the bison source I could generate a map like:     std::map symbol2token={             { "t_Con", yy::pa