porl / kojo

The Kojo Learning Environment

Home Page:http://www.kogics.net/kojo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kojo Links

To start hacking:

  • Make sure you have Java 8 on your path.
  • Run ./sbt.sh clean package to build Kojo.
  • Run ./sbt.sh test to run the Kojo unit tests.
  • Run ./sbt.sh run to run Kojo (use net.kogics.kojo.lite.DesktopMain as the main class)
  • As you modify the code, do incremental (and fast) auto-compilation and auto-testing using sbt:
sbt
  > ~compile
  > ~test

IDE setup

Intellij IDEA

Do a File -> New -> Project from Existing Sources and import/open the root folder of the Kojo repo. Then import the new project via sbt.

Emacs

Put the following in your .emacs config file:

;; cd ~/src; git clone https://github.com/jwiegley/use-package
(eval-when-compile
  (add-to-list 'load-path "~/src/use-package")
  (require 'use-package))
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
;; https://github.com/hvesalai/emacs-scala-mode
(use-package scala-mode
  :interpreter
    ("scala" . scala-mode))
(add-to-list 'auto-mode-alist '("\\.sc\\'" . scala-mode))
(add-to-list 'auto-mode-alist '("\\.kojo\\'" . scala-mode))

About

The Kojo Learning Environment

http://www.kogics.net/kojo

License:Other


Languages

Language:Scala 93.3%Language:Java 5.9%Language:C++ 0.5%Language:Shell 0.3%Language:Batchfile 0.0%