Giter VIP home page Giter VIP logo

desalt's Introduction

Desalt

Converts Saltarelle C# files and projects to TypeScript.

History

The history of this project starts in the early 2000s while I was working at Microsoft on the Excel Web Access project. I and my colleagues were tired of writing and maintaining a large code base in raw JavaScript. I started looking around for something to convert C# (which was our language of choice) into JavaScript and found the work of a fellow Microsoftie, Nikhil Kothari. He had written a tool called Script#. Over the course of a few months, our team ported our existing raw JavaScript into Script# code. We saw amazing productivity boosts since we could use Visual Studio and C#, which were quite a bit more evolved and robust than the JavaScript tools that were currently available. I also joined Nikhil Kothari's virtual Script# team to implement new features.

I left Microsoft at the end of 2009 and joined Tableau Software and repeated the same thing I had done at Microsoft - I helped port our existing raw JavaScript to Script#, and saw the same benefits that we had seen on Excel.

Eventually the Script# project was abandoned (when Nikhil left Microsoft for Google) and our team at Tableau moved to Saltarelle, which was designed to be a drop-in replacement for Script#, but added C# 5.0 language features.

In June 2015, Saltarelle was aquired by Bridge.NET but compatibility with Saltarelle was not a design goal for the new project. We at Tableau Software now faced a situation where we had a large code base using a compiler that was no longer supported. Additionally, new code within Tableau was being written predominately in TypeScript and we wanted a way to easily port our existing Saltarelle-based code to TypeScript. Hence, Desalt, written in my spare time over the course of several months.

Status

The project is mostly working, but I don't yet have an entry point (either a CLI or an MSBuild task). I have an end-to-end test that runs over real code taken from our "Core" library at Tableau and am using that to implement features little by little.

In short, this is not ready for prime time yet, although it does quite a bit already. Here's a snapshot of a recent build with the C# on the left and the TypeScript on the right.

Desalt screen shot

The remaining features are tracked here.

desalt's People

Contributors

jrockwood avatar goatcube avatar emclain avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

netnutch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.