GitXplorerGitXplorer
p

typescript-0.9.1

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
19034c7d9aa75330a8172a1284b6eb1abcc8d6ce

Update README.md

ppanagosg7 committed 11 years ago
Unverified
8d6fd773087695bf7a57aba1e5939918a037a706

Merge branch 'master' of github.com:panagosg7/typescript

ppanagosg7 committed 11 years ago
Unverified
87acd5131612b85e1dec0f6579b41d7a5c85bc8a

Minor addition.

ppanagosg7 committed 11 years ago
Unverified
2495198c5dc945b6f048b04b1c9387c42664f8d1

Update TODO.txt

ppanagosg7 committed 11 years ago
Unverified
50c7f96da9276bd3c0bc511a210717606a7756f8

Updating TODO.txt

ppanagosg7 committed 11 years ago
Unverified
c268b2e0744638141744a7ebe436861cf586c81c

Fixes:

ppanagosg7 committed 11 years ago

README

The README file for this repository.

This is a deprecated, non-maintained version based on TypeScript 0.9.1. The newer version is based on Typescript 1.0 and can be found here: https://github.com/panagosg7/TypeScript

This is a fork of the TypeScript compiler, a Scalable JavaScript variant with types, classes and modules.

It has been modified to work as a front-end to the language-ecmascript and NanoJS. More information as to how to use it for this purpose can be found here.

TypeScript

Install

npm install -g typescript

Usage

tsc hello.ts

Build

  1. Install Node if you haven't already (http://nodejs.org/)
  2. Install Jake, the tool we use to build our compiler (https://github.com/mde/jake). To do this, run npm install -g jake.
  3. To use jake, run one of the following commands:
    • jake local - This builds the compiler. The output is in built/local in the public directory
    • jake clean - deletes the build compiler
    • jake LKG - This replaces the LKG (last known good) version of the compiler with the built one.
      • This is a bootstrapping step to be executed whenever the built compiler reaches a stable state.
    • jake tests - This builds the test infrastructure, using the built compiler.
    • jake runtests - This runs the tests, using the built compiler and built test infrastructure.
      • You can also override the host or specify a test for this command. Use host= or tests=.
    • jake baseline-accept - This replaces the baseline test results with the results obtained from jake runtests.
    • jake -T lists the above commands.

Oneline build command:

node bin/tsc.js -out built/local/tsc.js -removeComments -propagateEnumConstants -declaration -noImplicitAny --module commonjs src/compiler/tsc.ts

Notes

  • The Fidelity test folder has been removed from the entire history to cut down on size.