你好,游客 登录 注册 搜索
背景:
阅读新闻

Ceylon 1.0.0 发布,JVM 上的新语言

[日期:2013-11-14] 来源:oschina.net  作者:Linux [字体:大 中 小]

Ceylon 1.0.0 发布了,Ceylon面向企业级应用开发设计,在JVM运行时基础上执行,支持与Java的交互操作。Ceylon语言充分借鉴了Java语言的优势并屏蔽其在设计上的不足,使用静态类型并提供高阶函数支持,在保持代码良好可读性的同时进一步降低开发者入门的难度。

Ceylon语言没有设计特殊的Primitive类型或复合类型,所有类型在类型系统内部都是可表达的。Ceylon的通用类型设计比Java的 实现更为简便,而且相比其他类Java语言具备更高的安全性,Ceylon的元编程(Reflection)也必须是类型安全的。此外,Ceylon语言 减少了开发者对于配置文件的依赖,屏蔽了Java开发者常常需要对各种XML进行的配置和修改操作。

该版本改进内容包括:

  • a complete formal language specification that defines the syntax and semantics of Ceylon in language accessible to the professional developer,
  • a command line toolset including compilers for Java and JavaScript, a documentation compiler, and support for executing modular programs on the JVM and Node.js,
  • a powerful module architecture for code organization, dependency management, and module isolation at runtime,
  • the language module , our minimal, cross-platform foundation of the Ceylon SDK , and
  • a full-featured Eclipse-based integrated development environment.

ide screenshot

Language

Ceylon is a highly understandable object-oriented language with static typing. The language features:

  • an emphasis upon readability and a strong bias toward omission or elimination of potentially-harmful constructs ,
  • an extremely powerful type system combining subtype and parametric polymorphism with declaration-site variance , including first-class union and intersection types , and using principal types for local type inference and flow-dependent typing ,
  • a unique treatment of function and tuple types , enabling powerful abstractions,
  • first-class constructs for defining modules and dependencies between modules ,
  • a very flexible syntax including comprehensions and support for expressing tree-like structures , and
  • fully-reified generic types , on both the JVM and JavaScript virtual machines, and a unique typesafe metamodel .

More information about these language features may be found in the feature list and quick introduction .

This release does not introduce new language features. However, a very large number of bugs have been fixed.

IDE

Screenshots of the IDE may be seen here .

This release of the IDE introduces the following new features:

  • a type hierarchy view , to complement the popup type hierarchy,
  • a documentation view , to complement the documentation hover,
  • a new Ceylon Module properties page , and the ability to manage dependencies from this page or from the New Ceylon Module wizard,
  • enhancements to the search results view,
  • improvements to syntax highlighting in the hover,
  • a much improved wizard for importing Java archives into Ceylon module repositories , and
  • many bugfixes.

Community module repository

Ceylon Herd is now open to the public.

herd screenshot

SDK

The platform modules , recompiled for 1.0.0, are available in the shared community repository, Ceylon Herd .

This release introduces the following new platform modules:

  • ceylon.build , a framework for writing build scripts in Ceylon, and
  • ceylon.html , a library for defining HTML content in Ceylon.

Ceylon 的详细介绍:请点这里
Ceylon 的下载地址:请点这里

相关阅读:

Red Hat秘密“Java杀手”项目Ceylon http://www.linuxidc.com/Linux/2011-04/34588.htm

linux
相关资讯       Ceylon 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款