GitXplorerGitXplorer
p

TypeScript-1.0.1.0

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
3bb96d217c8f23596aa86679a70056b58e953464

Fixing identation

ppanagosg7 committed 9 years ago
Unverified
af6040e7bc46143c07e3f06dbfbc58caf7c453d3

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

ppanagosg7 committed 10 years ago
Unverified
10709c25ce8ae13e082f69657cbafbead6781950

Fixing reference paths

ppanagosg7 committed 10 years ago
Unverified
d838ff698f862309f3000f01a28e14ad9d80ea56

Merge pull request #4 from panagosg7/aeson-0.8.0.2

ppanagosg7 committed 10 years ago
Unverified
dd54ca48908f232fb1d4bf6d3a47ef320e1aa6d8

More fixes

ppanagosg7 committed 10 years ago
Unverified
0b20dd149571d8657fce9335fbe422ce9d5b31ae

Fixes

ppanagosg7 committed 10 years ago

README

The README file for this repository.

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 RefScript. More information as to how to use it for this purpose can be found here.

This repo was forked off commit: a5ffa4c199a13936a312b7fa86f787863ecbed73 from http://typescript.codeplex.com/. The rest of the history has not been included in this repo.

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 tsc - This only builds the compiler (no services).
    • jake -T lists the above commands.

Adding New Diagnostics

  1. Just add them in the JSON file: src/compiler/resources/diagnosticMessages.json

  2. And then run the generate.sh script in the same folder. This will create these files:

    • diagnosticInformationMap.generated.ts
    • diagnosticCode.generated.ts
  3. Check the renaming of the string you added as a diagnostic to access the relevant entry.

In the older version you would need to add diagnostic information in ALL the following:

  • diagnosticInformationMap.generated.ts
  • diagnosticMessages.json
  • diagnosticCode.generated.ts

Projects that use TypeScript

  1. [TypeScript] (http://typescript.codeplex.com/)

  2. [TouchDevelop] (https://www.touchdevelop.com/)

  3. [jRIAppTS] (https://github.com/BBGONE/jRIAppTS)

  4. [LeapMotionTS] (https://github.com/logotype/LeapMotionTS)

  5. [Turbulenz] (https://github.com/turbulenz/turbulenz_engine)

  6. [GrindFest] (https://github.com/GrindFest/GrindFest)

  7. [doppio] (https://github.com/plasma-umass/doppio)