Ceylon is a high-level, object-oriented programming language with strong static typing and a set of development tools developed by Red Hat . The language is based on Java , and programs written in Ceylon can be run on Java virtual machines or on the JavaScript engine [12] [13] .
| Ceylon | |
|---|---|
| Language class | , , , , and |
| Appeared in | |
| Developer | and |
| File extension | |
| Release | |
| Experienced influence | , , , and |
| License | |
| Platform | and |
| OS | |
| Site | |
The project faces the task of ridding developers of the problems of the Java language [14] [15] [16] :
- improved structured data and user interfaces
- the modularity of the language version,
- support functions of the first and higher orders,
- getting rid of awkward metaprogramming.
The name of the language is a reference to the Java language ( Java is known as a supplier of coffee, and Ceylon — now Sri Lanka — is a world-famous supplier of tea [17] ).
Content
Language features
Ceylon inherits most of the Java syntax. Sample Hello, world! [18] :
shared void hello () {
print ( "Hello, World!" );
}
Operator Polymorphism
Ceylon will not provide operator overloading, since it is considered unnecessarily confusing, but instead supports operator polymorphism , in which the operator is a pointer to an embedded type method. It is assumed that this approach will be safer and easier than the true operator overload.
See also
- Kotlin is another programming language developed by JetBrains as a Java heir.
Notes
- ↑ 1 2 http://ceylon-lang.org/community/companies/
- ↑ 1 2 http://ceylon-lang.org/community/
- ↑ http://ceylon-lang.org/blog/2015/10/29/ceylon-1-2-0/#ceylon_120_is_now_available
- ↑ https://api.github.com/repos/ceylon/ceylon/releases
- ↑ The Ceylon Language
- 2 1 2 3 4 https://gitter.im/ceylon/user?at=5660a7242cbea1d7054de9d9
- ↑ https://gitter.im/ceylon/user?at=5660a90e5057376520db6f8b
- ↑ http://ceylon-lang.org/documentation/1.2/faq/#what_is_ceylon
- ↑ http://ceylon-lang.org/code/licenses/
- Ce The Ceylon Open Source Project: Licenses Page - 2006.
- ↑ 1 2 http://ceylon-lang.org/documentation/1.1/spec/html_single/#runtimeandplatform
- ↑ Ceylon 1.0 beta (English) . The appeal date is September 26, 2013.
- ↑ Project Ceylon - Red Hat builds Java replacement (English) . The Register (April 13, 2011). The appeal date is November 27, 2011.
- ↑ Introducing the Ceylon Project - Qav Beijing 2011
- ↑ Gavin King. Ceylon (April 13, 2011). The appeal date is November 27, 2011.
- ↑ Ceylon JVM Language . infoq.com (April 13, 2011). - “ First, I never billed this as a Java Killer or the next generation of the Java language. Not my words. Ceylon isn’t Java, it’s deeply influenced by java, designed by people who are unapologetic fans of java. Java's not dying anytime soon, so nothing's killing it . ” The appeal date is November 27, 2011.
- A McAllister, Neil Red Hat's Ceylon Language (April 22, 2011). The date of appeal is September 27, 2014.
- ↑ Gavin King. Introduction to Ceylon Part 1 (April 27, 2011). The appeal date is November 27, 2011.
Links
- ceylon-lang.org - the official website of Ceylon
- ibm.com Ceylon Programming Language: Part 1. Overview and Basic Functionalities