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.
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.
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.
项目主页:http://ceylon-lang.org/
下载地址:http://ceylon-lang.org/download/
来自:开源中国社区

