> On 8 Dec 2018, at 07:19, Akim Demaille <a...@lrde.epita.fr> wrote:
>
> Hi!
>
>> Le 7 déc. 2018 à 20:30, Uxio Prego <uxio.pr...@gmail.com> a écrit :
>>
>> I don't know of this division of parsers in pure and impure.
>>
>> Are pure approaches like GLR while LALR(k) are impure?
>
> No, it's unrelated to the parsing technology, it's only a question
> of API: whether you exchange information with the scanner via global
> variables, or additional arguments.
>
> https://www.gnu.org/software/bison/manual/html_node/Pure-Decl.html
Oh, alright (oops). Simply the widely understood jargon of pure
and impure functions.
Bitten by surprise because my Bison use isn't pure yet. I had
read a bit about the topic, and decided to postpone that as a
to do, and I long had forgot. However from a maintainability
perspective, that looks like a horrendously big mistake towards
my future self, that I should amend as soon as possible.
Thanks,