tokens builtin
tokens(text)
Splits NanoC or C text into tokens and returns the token list.
| Phase | all |
|---|
Example
@tt
log(str(str(tokens("a + 1"))))Logs: a + 1
tokens builtintokens(text)
Splits NanoC or C text into tokens and returns the token list.
| Phase | all |
|---|
@tt
log(str(str(tokens("a + 1"))))Logs: a + 1