C# 转成 JavaScript 编译器 Netjs

Netjs是一个将.NET编译为TypeScript和JavaScript的工具,但目前存在一些限制,如忽略命名空间、有限的BCL支持、重载方法问题、不支持Async、Goto有时工作不正常、正则表达式功能受限等。该项目由praeclarum开发,最新代码更新于2014年4月2日。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

来自:http://www.oschina.net/p/netjs?from=20140414

 

Netjs 是一个 .NET 到 TypeScript 和 JavaScript 的编译器。

该软件目前还有一些限制:

  • 忽略命名空间

  • mscorlib.ts is a tiny subset of the full BCL

  • Overloaded methods generally work, but have trouble with:

    • One overload being virtual and another not (it hurts my head trying to get this to work)

    • Overloads that have the same argument count and accept values that can be null (runtime type checking is used)

    • Overloaded constuctors that call different base constructors probably don't work

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值