1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 LiveScript 1.4.0 发布,包括 Source Maps 下载

本帖由 漂亮的石头2015-05-12 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,326
    赞:
    46
    LiveScript 1.4.0 发布,此版本包括 source maps;功能性 JSON 命令行处理;改进生成器支持;大量 bug 修复。

    更新内容如下:


    • Changed npm name to livescript as npm no longer allows publishing updates to packages with upper-case letters


    • Added source map support using the -m,--map flag


    • Added command line JSON processing with JSON and the -e,--eval flag. Inbound JSON is bound to this


    • Fixed a regression from previous versions that did not allow for flag style positionals after a first positional (eg. lsc app.ls --flag caused an error)


    • Generators are no longer auto-hushed, moving behavior in line with what was expected


    • Allow backcall generators, eg. *<-


    • Added back -k shorthand for the --const flag


    • Made it possible to use the by keyword in slices, eg. list[1 til 5 by 2]


    • Object comprehension bug fixes


    • Fixed various backcall issues


    • Fixed composition operator spacing issues


    • Yield bug fixes - including allowing it to be used with no operand


    • Replaced deprecated usage of customFds in child_process.spawn


    • Added CLI tests


    • Many other bug fixes

    此版本现已提供下载:https://github.com/gkz/LiveScript/archive/1.4.0.zip

    LiveScript 是一种脚本语言,最终编译成 JavaScript,LiveScript 在函数式风格编程方面增加了很多新特性,改进了面向对象编程。

    [​IMG]
    LiveScript 1.4.0 发布,包括 Source Maps下载地址
     
正在加载...