⬆️ ⬇️

Kotlin web code editor with examples and JavaScript compilation

Have you heard about Kotlin? Is this a new JVM-oriented programming language from JetBrains?



Until yesterday, Kotlin could only be read and fantasized.

And yesterday, the language development team opened for everyone to access the Kotlin web-code editor with the ability to compile and run. Welcome to http://kotlin-demo.jetbrains.com !



Here is what you can do now:



The code editor is already able to highlight errors “on the fly” or at the time of launch (by default), formatting the code and provides auto-completion by Ctrl + Space.

Kotlin web demo

The project is under development and will be actively developed. Further the library is promised for more convenient work with JDK extensions such as collections, etc., more examples and interesting tasks.

')

Your ideas, sensible suggestions, and bug reports are very welcome in the project's bug tracker .



And if you want to compete and get a prize, then we offer these 2 tasks:



1) Given a string, find the longest word in it. A word is a sequence of Latin letters, bounded by line boundaries or characters that are not Latin letters.

2) Translate the number in the Roman record to decimal.



Post links to the code (through gist for example) in the comments. The authors of the first correct decisions will receive a T-shirt with the Kotlin logo from us.



Good luck!

Source: https://habr.com/ru/post/136033/



All Articles