strings as functions during parsing
TL;DR Given: sequence of Token and Grammar Where: Token := tuple[name:string, value:string, parent:Token] Grammar := Table[system.string, proc(x:Token):string] Return: string of token values passed through the grammar When implementing my translator, I came to the conclusion that I need to perform some action depending on the token, I understand that it would be more correct to […]