GithubHelp home page GithubHelp logo

isabella232 / kotlin-interactive-shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kotlin/kotlin-interactive-shell

0.0 0.0 0.0 963 KB

Kotlin Language Interactive Shell

License: Apache License 2.0

Kotlin 14.63% Java 85.10% Shell 0.11% Batchfile 0.08% Ruby 0.08%

kotlin-interactive-shell's Introduction

Kotlin Language Interactive Shell Maven Central

The shell is an extensible implementation of Kotlin REPL with reach set of features including:

  • Syntax highlight
  • Type inference command
  • Downloading dependencies in runtime using Maven coordinates
  • List declared symbols

History

The project is the former Sparklin shell migrated to the new Kotlin scripting and REPL infrastructure and converted to a generic Kotlin Language Interactive Shell.

The Apache Spark adaptation of it is located in a separate repository.

The previous version of the Sparklin is accessible in the sparklin branch.

Installation and Usage

Manual

You can download archive from Maven Central:

  1. Go to Releases page
  2. Download desired version there
  3. Unpack it to desired place
  4. Launch bin/ki.sh for Linux/Mac or bin\ki.bat for Windows

Arch Linux

On Arch Linux, there's an AUR package available. After installation, you can run the shell through ki.

Homebrew

Install with Homebrew with the following command:

brew install ki

Build From Source

To build from source use:

git clone https://github.com/Kotlin/kotlin-interactive-shell
cd kotlin-interactive-shell
mvn -DskipTests package

It may be useful to build the project with a specific version of Kotlin. To do so use:

mvn -Dkotlin.version=1.4.10 -DskipTests package

To start the shell, run bin/ki.sh on Linux and macOS. On Windows, use bin\ki.bat instead.

kotlin-interactive-shell's People

Contributors

asm0dey avatar javadba avatar kamilkurde avatar khud avatar ligee avatar maxr1998 avatar salvatoret avatar shoresea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.