Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.58 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.58 KB

Lice

JitPack Gitter Build Status

This is an interpreter for a dialect of lisp, running on JVM.

It looks like:

(println "Hello " "World")
(for-each i (.. 1 10) (println i))

Build

You can simply use gradle by adding JitPack to your repository set and add the dependency:

allprojects {
  repositories {
    // ...
    maven { url 'https://jitpack.io' }
  }
}

dependencies {
  compile 'com.github.lice-lang:lice:v2.4'
}

But if you use Scala, you can add it to your sbt dependency, by adding the stuffs below:

resolvers += "jitpack" at "https://jitpack.io"

libraryDependencies += "com.github.lice-lang" % "lice" % "v2.4"

And if you're a Clojure developer, why not try build it with leiningen?

:repositories [["jitpack" "https://jitpack.io"]]

:dependencies [[com.github.lice-lang/lice "v2.4"]]

Code style

compiler

  1. It's recommended to use 2-spaces tab actual(please DO USE tabs).
  2. It's not recommended to use any language but Java/Kotlin.
  3. It's recommended to use functional collection API.
  4. Functions' results should be lazy evaluated.

Lice language

  1. Use symbols like '->', '?' to represent 'to', 'orNot'.
  2. Use lisp-style function names.