Skip to content
项目

关于

Script# 项目——将 C# 编译为 JavaScript,为 HTML5 和 Node.js Web 开发提供支持。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…