Commit graph

98 commits

Author SHA1 Message Date
Michiel Borkent
adaef58f5e Version bump 2020-03-20 23:39:28 +01:00
Michiel Borkent
ef06175678
[#264] Add transit-clj (#298) 2020-03-20 17:16:42 +01:00
Michiel Borkent
4db28b45e8 [#293] reset ns after load-file 2020-03-20 15:12:15 +01:00
Michiel Borkent
aa4139931e
[#284] Add read-string 2020-03-06 10:33:22 +01:00
Michiel Borkent
f52b208b7e [#283] support writer arg in clojure.pprint 2020-03-04 21:14:59 +01:00
Michiel Borkent
24a469af65
[#255] support clojure.core.async/go macro by falling back on threads 2020-03-01 16:27:35 +01:00
Michiel Borkent
a4b4ce43a4
Add java.time.temporal.ChronoUnit class (#271)
* Adding java.time.temporal.ChronoUnit to classes.clj

This enables the two following kinds of calculations between
LocalDateTime, LocalTime, Instant and other Temporal descendants:

ChronoUnit.MILLIS.between(temporalOne, temporalTwo)
temporalOne.until(temporalTwo, Chronounit.HOURS)

and I assume a lot of other operations which require time
units.

* Add unit test

Co-authored-by: Matias Bjarland <matias@iteego.com>
2020-02-21 21:32:28 +01:00
Michiel Borkent
7ad6f3195f Lib tests 2020-02-19 23:58:58 +01:00
Michiel Borkent
41b3893056
sci: support metadata on namespaces 2020-02-18 16:25:04 +01:00
Michiel Borkent
e98a92c283
Sci: reify core vars, implement repl/doc (#265) 2020-02-16 12:54:54 +01:00
Jeroen van Dijk
c8fd1c7931 Add Security classes in order to be able to generate signatures (#261) 2020-02-09 20:45:29 +01:00
Jeroen van Dijk
50f0630b38
Add promise and deliver (#260) 2020-02-08 23:43:15 +01:00
Michiel Borkent
634084e592 [#251] Test for uberscript with System/exit 2020-01-31 22:31:16 +01:00
Michiel Borkent
f27c706340 [#250] test 2020-01-31 17:33:01 +01:00
Michiel Borkent
ecf3caa251 Test for uberscript 2020-01-31 17:29:13 +01:00
Michiel Borkent
f86cc84303
[#247] add clojure.test as built-in lib 2020-01-29 23:22:26 +01:00
Michiel Borkent
a442bde76a [#213] Allow -e argument to be repeated 2020-01-20 11:00:53 +01:00
Michiel Borkent
8f698894f6
[#234] *ns* should be controllable set per socket REPL connection 2020-01-20 10:41:11 +01:00
Michiel Borkent
9269f1087f [#243] ns form doesn't work with socket repl 2020-01-19 20:01:49 +01:00
Michiel Borkent
e2cf871dfa [#232] better error when requiring unknown namespace 2020-01-19 18:08:08 +01:00
Michiel Borkent
d1aaa97df6 sci: record file metadata on var 2020-01-18 18:25:38 +01:00
Michiel Borkent
d7b9344158 Revert dotimes 2020-01-17 19:42:30 +01:00
Michiel Borkent
d9a75cf8cf dev 2020-01-17 17:26:03 +01:00
Michiel Borkent
73ec6da56a
More optimizations 2020-01-15 20:11:44 +01:00
Michiel Borkent
bfa8b45e34
sci: performance improvement 2020-01-14 17:12:57 +01:00
Michiel Borkent
19767b54a3 [#221] print name of exception 2020-01-12 17:40:41 +01:00
Michiel Borkent
8e24744d35 [#219] better error message for unrecognized cli option 2020-01-12 17:27:17 +01:00
Michiel Borkent
2b0cb6fb1c
Remove Unix-specific classes (#227) 2020-01-08 11:48:40 +01:00
Michiel Borkent
193bbc2888
sci: preserve tag in let (#216) 2020-01-05 17:45:25 +01:00
Michiel Borkent
1d3cd975ba Add constructors for Delay and MapEntry 2020-01-04 20:21:09 +01:00
Michiel Borkent
5e2c2a7ba0 Add locking 2020-01-04 20:04:29 +01:00
Michiel Borkent
a5f26aca3f Add test 2019-12-31 14:18:12 +01:00
Michiel Borkent
b6f484416b
[#200] add shell/with-sh-dir and shell/with-sh-env 2019-12-30 11:28:07 +01:00
Michiel Borkent
16ca4098c8
add io/resource 2019-12-29 23:37:08 +01:00
Michiel Borkent
ded6dd2355
--uberscript option (#197) 2019-12-28 22:52:56 +01:00
Michiel Borkent
edecf87b67 [#194] *command-line-args* should be nil instead of empty list when no args are provided 2019-12-25 16:14:28 +01:00
Michiel Borkent
acfc79660a
[#154] Expose clojure.main/repl to babashka 2019-12-24 10:01:32 +01:00
Michiel Borkent
1835d7d219
Get rid of Python in tests 2019-12-23 11:12:20 +01:00
Michiel Borkent
3270d521d3 Support for clj-http-lite 2019-12-22 20:09:52 +01:00
Michiel Borkent
fc081bda8e Include file in error when set 2019-12-22 17:42:29 +01:00
Michiel Borkent
ebc9f6479d
Sci: remove ns when error while loading 2019-12-22 17:27:06 +01:00
Michiel Borkent
2eecdea571
[#179] Current file path: *file* 2019-12-21 11:39:28 +01:00
Michiel Borkent
479a08d73e [#173] <input> becomes *input* 2019-12-20 23:51:24 +01:00
Michiel Borkent
4f488ca684
[#159] set sci var roots to *in*, *out* and *err* 2019-12-19 23:34:27 +01:00
Michiel Borkent
a9231b7ecf
[#173] rename *in* to <input> (BREAKING!) 2019-12-19 21:41:57 +01:00
Michiel Borkent
59748a5ce0 [#166] unit test: wait/wait-for-port closes connection 2019-12-18 23:06:51 +01:00
Michiel Borkent
f8a19d2f46
[#162] add java.util.Base64 2019-12-18 17:01:00 +01:00
Michiel Borkent
1b1e564288
[#149] Add java.time.* classes 2019-12-18 16:38:21 +01:00
Michiel Borkent
316cce2b59
Add java.lang.Math 2019-12-18 13:46:07 +01:00
Michiel Borkent
d88c28ff50 Fix flaky wait for test 2019-12-18 09:38:45 +01:00