Hi,
we love Plush very much, we use it in our open source project https://oya.sh/ as a engine for rendering.
It would very helpful to be able to change starting(S_START, C_START, E_START) and ending(E_END) tokens to something else.
I came up with something like this allowing user to change those tokens with token.SetTemplatingDelimiters(start, end) and fetch them with token.Resolve.
I had quite a problem with naming convention in lexer so feel free to point out everything you see. thanks
Hi, we love Plush very much, we use it in our open source project https://oya.sh/ as a engine for rendering. It would very helpful to be able to change starting(S_START, C_START, E_START) and ending(E_END) tokens to something else. I came up with something like this allowing user to change those tokens with
token.SetTemplatingDelimiters(start, end)
and fetch them withtoken.Resolve
. I had quite a problem with naming convention in lexer so feel free to point out everything you see. thanks