Description
Great library, one small issue I'm having though. It seems like you resolve built-in keywords/functions before the variables (from the ContextModel) are resolved. This yields a couple of problems.
If I bind a variable name like score
, the library seems to be trying to resolve e
and subsequently doesn't properly resolve score
(as I presume its then trying to resolve scor
?). This happens whenever any variable name contains a built-in keyword. Other examples of invalid variable names:
variable
ceiling
resin
Basically anything that contains e
or a built-in function like sin
, ceil
, etc.
Also, it should be noted in my use case that variables can be named anything (my users define variables).
So for example, a variable name could be something like qw%d
. This is more of a special case, and not really needed, but it would be nice if your code was smart enough to tell that this is probably a variable name and not a wd
and d
separated by a modulus. Although, if you're resolving variables first, this actually should be a fairly trivial case to handle.
Thanks! I can also take a look at fixing this if you point me in a right direction / have any pointers.