- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/be5invis/moe
- 软件文档: http://typeof.net/moescript
软件介绍
基于 JavaScript 的新语言,包括诸多有益特性,以及内建的 CPS 变换支持。
示例代码:
def max(list):
var m = list[0]
for(i <- 0..list.length)
if(list[i] > m) m = list[i]
return m
// trace means "console.log" with last argument returned.
trace max [5, 4, 3, 2, 1]
