Skip to content

Script# Project - a C# to JavaScript compiler, to power your HTML5 and Node.js web development.

License

Notifications You must be signed in to change notification settings

fugaku/scriptsharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script# Project

Script# is a development tool that generates JavaScript by compiling C# source code. It is especially interesting for scripting-in-the-large scenarios that is commonplace in the current generation of HTML5, node.js and script-based Web applications.

The driving principle behind Script# is that JavaScript is the "assembly language of the Web" ... the idea isn't to dislike JavaScript, but rather appreciate it for its flexibility and ubiquity, while bringing the productivity and familiarity of C# when building large scale (large codebase, large team or project over a longer period) application where stronger tools, more maintainable codebases are of utmost importance. You might have heard of this described as "application scale".

Specifically, Script# lets you leverage the experience of C# (intellisense, build-time error checking, natural language syntax for OOP constructs), the power Visual Studio IDE and standard .NET tools ecosystem (such as msbuild, refactoring, unit testing, static analysis, code visualization, fxcop). Script# brings all this to you without abstracting the runtime environment - you're still authoring plain-old JavaScript and incorporating the best practices and idioms of JavaScript, just with a different set of tools.

You can even use Script# to work against other existing frameworks and APIs such as jQuery, jQuery plugins and Knockout, and can be extended to work against other existing script.

Script# requires .NET 4.0 and Visual Studio 2012. You can also use one of the free Express tools instead such as Visual Studio 2012 Express for Web or Visual Studio 2012 Express for Windows Desktop.

More Information

The following set of links are relevant if you're using Script# and want to learn more or ask questions, or stay up-to-date.

The Script# Wiki contains the following bits of information if you're checking out the repository, are interested in creating a private build, or even better, looking to contribute to the project.

Credits

Script# builds on the excellent Mono.Cecil project. Thanks to Jb Evain.

Thanks to all the contributors who have contributed to Script# over time. Your contributions are welcome, and appreciated. Let me know how you can help - whether its in the form of a feature, a sample, or some evangelizing/spreading the word, or via a suggestion. See the status page in the wiki for roadmap, plans, and some thoughts about possible contributions.

License

Copyright (c) 2012, Script# Project. Script# is licensed under the Apache 2.0 License.

About

Script# Project - a C# to JavaScript compiler, to power your HTML5 and Node.js web development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.2%
  • JavaScript 3.1%
  • HTML 1.4%
  • Other 0.3%