generates tokens for a script
true if done without errors, false if there were errors
See Implementation
generates tokens for a script