This project is read-only.

tsi interpreter?

Topics: General
Nov 12, 2012 at 8:00 PM

Could TypeScript get an interpreter (tsi)? I'd like to quickly evaluate TypeScript code without having to always compile and run.

Nov 13, 2012 at 4:06 PM

Thanks for the suggestion. 

It might take a little hacking, but it should be possible to do this using an existing JS engine and the TS compiler.  You could invoke the TS compiler from the JS engine, and then pass the translated JS to the engine.

Nov 16, 2012 at 3:36 AM
Edited Nov 16, 2012 at 3:38 AM

I'd like to present the first version of TypeScript Interpret - the line-by-line interpreter of TS in a jQuery Terminal Emulator by Jakub Jankiewicz. Here is a working demo.

If you are interested in development, please contribute on GitHub.

Nov 16, 2012 at 10:36 PM

Good job, niutech! Could we also release an interpreter for the command line?