Attempt typescript support.

Need to transpose AST into list of tokens, or figure
out how to use TypeScript services lib to do that.