Setup of a development enviornment

Topics: Code Checkins
Feb 1, 2014 at 11:50 AM

I cloned the source with the intention of having a tinker, but am getting a bit stuck in determining the best way to setup an environment so I can actually edit and debug the source.

What tools and IDE(s) do the developers usually use when working on the source. How do they setup their environment to facilitate easy debugging and running and creating unit tests? Do they feed the latest version of compiler back into compiling the next version of the compiler. Are the jake scripts called during development or is that primarily for the an final build?

Additionally is there documentation on the internal workings of the compiler, there is lots of information on the specification and how to use Typescript but would be nice to have something about the internals. A description of the major components of the compiler itself and how they interact would be useful, or even details on the compilers javascript API would be nice

Any guidance on how to work with the source would be greatly appreciated
Feb 4, 2014 at 10:08 PM
Some quick answers:

We're primarily using Visual Studio to do our work but nothing should be tied to VS if you're prefer to use Sublime, WebStorm, Eclipse, whatever. The jake tasks are indeed your primary way to build the compiler (jake local) after you make a change to it, run tests (jake runtests), etc, For debugging you'll probably want to use whatever node debugger you like to step through tsc.js or run.js (the file that runs the tests), with Visual Studio this could mean using the recently released Node Tools for VS.

We are lacking some more in depth documentation at the moment (especially for something like the compiler architecture/API which has been in flux at times).