Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.26 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.26 KB

CEDAR

A lisp dialect that encourages async via concurrency

Cedar is an interesting lisp interpreter that focuses on concurrency and immutability. It has a coroutine system called "fibers" that cooperatively multitask in libuv event loops in order to create highly concurrent programs in lisp

;; TODO: put an example here :)

Building

The cedar build process uses CMake, but I never really liked how cmake requires the user to create a build directory so the Makefile does all that for you.

# to clone with dependencies
$ git clone --recursive [email protected]:cedar-lang/cedar.git
$ cd cedar
# compile
$ make
# install
$ sudo make install

Syntax Highlighting

Cedar's syntax will highlight correctly with practically any lisp, but because it's grammar and syntax best resembles Clojure's .edn format, its usally best to use that here. In vim, I simply set it's filetype to clojure:

au BufRead,BufNewFile *.cdr set filetype=clojure

This might cause errors if you have special Clojure tools in vim, but it's worked for me so far


FOSSA Status