You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Brosnan Yuen edited this page Aug 20, 2015
·
2 revisions
Everything in nerdamer revolves around symbol manipulation..... well most of the time.
Staring with a simple symbol
It looks like a function. You can see it from the group value. group: 4. Each symbol is organised into one of these groups:
Group 4 belongs to the function, so it makes sense.
Moving on, multiplier is "5" in "5*delta". It doesn't make a lot of sense for it to be group with the function symbol. It should be a symbol by itself. The value is text without the multiplier. Ok... args is the arguments of the function.
Closer inspection of this argument.
We are looking at "t+t^2". Again the group: 5 is some kind of polynomial. The value is t,so it is polynomial made out of t. The symbols of the object is the individual components.
Even.. deeper
Aha it is just "t" and "t^2". The parser breaks up the input by * / + -
So each symbol is just seperated by those operators.