68 lines
1.1 KiB
YAML
68 lines
1.1 KiB
YAML
id: "clojure"
|
|
aliases:
|
|
- "clj"
|
|
name: "Clojure"
|
|
monacoLang: clojure
|
|
|
|
info:
|
|
impl: "Java Clojure"
|
|
year: 2007
|
|
desc: "Modern, dynamic, and functional dialect of the Lisp programming language on the Java platform"
|
|
ext:
|
|
- clj
|
|
- cljc
|
|
- edn
|
|
web:
|
|
wiki: "https://en.wikipedia.org/wiki/Clojure"
|
|
home: "https://clojure.org/"
|
|
source: "https://github.com/clojure/clojure"
|
|
category: general
|
|
mode: interpreted
|
|
platform: jvm
|
|
syntax:
|
|
- lisp
|
|
- extensible
|
|
typing: dynamic
|
|
paradigm:
|
|
- declarative
|
|
- functional
|
|
- imperative
|
|
- oo
|
|
usage: []
|
|
|
|
install:
|
|
apt:
|
|
- clojure
|
|
manual: |
|
|
install -d "${pkg}/usr/local/bin"
|
|
|
|
ver="$(latest_release snoe/clojure-lsp)"
|
|
wget "https://github.com/snoe/clojure-lsp/releases/download/${ver}/clojure-lsp"
|
|
chmod +x clojure-lsp
|
|
cp clojure-lsp "${pkg}/usr/local/bin/"
|
|
|
|
repl: |
|
|
clojure
|
|
input: |
|
|
(* 123 234)
|
|
|
|
main: "main.clj"
|
|
template: |
|
|
(println "Hello, world!")
|
|
|
|
run: |
|
|
clojure -i main.clj -r
|
|
|
|
scope:
|
|
code: |
|
|
(def x (* 123 234))
|
|
|
|
lsp:
|
|
start: |
|
|
clojure-lsp
|
|
code: "TODO"
|
|
item: "TODO"
|
|
|
|
skip:
|
|
- lsp
|