Skip to content

Version 0.9.0

Latest
Compare
Choose a tag to compare
@benzap benzap released this 25 Nov 03:52
· 2 commits to master since this release

Added repl, which is opened by running eden without any parameters

$ eden
Eden Repl
'help' for Help Message,
'exit' to Exit.
> println("Hello World!")
Hello World!
nil
> x = 10
> x
10

Added ‘-i’ flag to eden commandline execution to pass in standard input

$ echo "Hello World" | eden -ie system.in
Hello World!

Transit Libraries have been fixed
transit.stringify and transit.parse can be used create and export transit JSON strings.

Http Client library fixed by using clj-http-lite
New functions in http.client variable

http.client.get("http://google.com") ;; returns a Response map

Added Markdown Library

markdown.stringify("# Test") ;; <h1>Test</h1>

Added threading and promise libraries

local f = thread.future(function()
  println(str("Hello from " thread.id() "!"))
  print("Waiting")
  for i in range(5) do
    thread.sleep(500)
    print(".")
  end
  println("Done")
end)

println("Started!")
deref(f)
println("Finished!")