Commit graph

909 commits

Author SHA1 Message Date
Michiel Borkent
bf6f19dc97 Tasks: don't print context on shell error 2021-05-06 13:58:49 +02:00
Michiel Borkent
f49178786c [#818] Tasks: don't call System/exit 2021-05-06 13:28:24 +02:00
Michiel Borkent
cbd8a2d07d
[#821] Include Selmer 2021-05-06 12:53:59 +02:00
Michiel Borkent
3e74aac4a5 Add NullPointerException class 2021-05-04 12:00:03 +02:00
Michiel Borkent
042934cc3c Ignore :min-bb-version when resolving deps 2021-05-04 11:11:55 +02:00
Michiel Borkent
e0e3aa422e [#770] Add test 2021-05-03 11:06:32 +02:00
Michiel Borkent
cf570cd913 Tasks: get rid of res local 2021-05-02 23:12:48 +02:00
Michiel Borkent
d0d18f9837 Tasks: integrate in doc subcommand 2021-05-02 20:48:40 +02:00
Michiel Borkent
76a6760516 Add some classes 2021-05-02 20:14:19 +02:00
Michiel Borkent
70e0566647 Tasks: detect cycles 2021-05-02 15:04:07 +02:00
Michiel Borkent
12c29eb308 Tasks: detect cycles 2021-05-02 14:51:51 +02:00
Michiel Borkent
fb3d24b23c Tasks: better error msg for unresolved task 2021-05-02 14:31:57 +02:00
Michiel Borkent
87b9d93911
[#622] with-precision 2021-05-02 11:41:57 +02:00
Michiel Borkent
6d540e2f06 Rename --verbose to --debug 2021-05-02 11:16:00 +02:00
Michiel Borkent
d1bbf844de Add --verbose to global opts 2021-05-02 11:00:44 +02:00
Michiel Borkent
3bcc392760 Tasks: add explicit run function 2021-04-30 11:55:24 +02:00
Michiel Borkent
f0adfb450e Tasks: remove log-level 2021-04-30 11:17:48 +02:00
Michiel Borkent
06be620d71
[#805] Support :enter and :leave hooks + current-task fn (#813) 2021-04-30 11:11:12 +02:00
Michiel Borkent
e26f26c1ba [#811] Fix --classpath when no additional args are passed 2021-04-28 20:14:39 +02:00
Michiel Borkent
66867e1ddb [#807] Ignore local and global deps.edn 2021-04-28 12:09:05 +02:00
Michiel Borkent
514fc84cde [#810] Support :extra-paths and :extra-deps in tasks 2021-04-27 23:32:37 +02:00
Michiel Borkent
7ab0ccd19e minor [skip ci] 2021-04-27 11:13:57 +02:00
Michiel Borkent
d7075ffad0 Tasks: fix listing of tasks 2021-04-26 10:59:05 +02:00
Michiel Borkent
386cbd4ad6 Tasks: add clojure to logging 2021-04-25 23:47:42 +02:00
Michiel Borkent
6da8fc99b8 Tasks: sort by occurence 2021-04-25 23:10:48 +02:00
Michiel Borkent
c5d61996d4 Tasks: support :continue in shell fn 2021-04-25 13:34:26 +02:00
Michiel Borkent
21bb768e9f Tasks: fix execution of fully qualified symbol 2021-04-25 11:42:11 +02:00
Michiel Borkent
647ef40250 Tasks: accept alias in fully qualified namespace 2021-04-25 11:27:34 +02:00
Michiel Borkent
f7e881479b Tasks: support :continue in shell 2021-04-25 00:24:33 +02:00
Michiel Borkent
a2f7bb835e Tasks: default log level = :error 2021-04-24 23:48:42 +02:00
Michiel Borkent
4f0795f522 Tasks: logging 2021-04-24 23:35:03 +02:00
Michiel Borkent
12cb5d637c [#802] Support resolving docstring from function 2021-04-24 23:19:37 +02:00
Michiel Borkent
bd08635793 Default log level :info 2021-04-24 18:10:31 +02:00
Michiel Borkent
ea62c99853 default log level 2021-04-24 17:47:28 +02:00
Michiel Borkent
4c5e7cc86d Tasks: simplify logging 2021-04-24 17:35:41 +02:00
Michiel Borkent
b71b5d2c50 Tasks: logging 2021-04-24 17:16:59 +02:00
Michiel Borkent
cb07196de9 Tasks: add :log option 2021-04-24 14:47:03 +02:00
Michiel Borkent
5ff9d8328a [#796] Support map literal in task 2021-04-24 13:05:27 +02:00
Michiel Borkent
3e9ddc55bb [#663] :min-bb-version 2021-04-24 12:54:41 +02:00
Michiel Borkent
6806398722 [#800] Fix task priority 2021-04-24 11:51:03 +02:00
Michiel Borkent
657a88c348 [#780] Ignore empty classpath entries 2021-04-22 12:33:17 +02:00
Michiel Borkent
15e71b0807
[#780] Fix uberjar CLI parsing and throw when no classpath is provided 2021-04-22 11:56:13 +02:00
Michiel Borkent
0014840506 Tasks: don't tokenize when string refers to file 2021-04-19 23:18:00 +02:00
Michiel Borkent
db8e839de1 Remove set support in tasks 2021-04-16 16:14:01 +02:00
Michiel Borkent
337096cde7 Tasks: set means parallel 2021-04-15 12:22:31 +02:00
Michiel Borkent
f3630d2fb3
[#790] Add java.security.SecureRandom 2021-04-15 00:04:19 +02:00
Michiel Borkent
e0b1c1b01e
[#784] Support binf.cljc library by adding ByteBuffer and Charset-related classes (#789) 2021-04-14 23:27:31 +02:00
Michiel Borkent
0ecee5bf94 [#785] :requires option 2021-04-12 22:55:10 +02:00
Michiel Borkent
478dd780b7 Add shutdown-tree 2021-04-12 17:37:29 +02:00
Michiel Borkent
80a06a62f9 Tasks: fix parallel 2021-04-12 11:55:56 +02:00
Michiel Borkent
e86aac02f9 Use pr-str in tasks 2021-04-12 10:35:41 +02:00
Michiel Borkent
00b33dab4d CHANGELOG 2021-04-12 09:47:28 +02:00
Michiel Borkent
ac307708ba parallel 2021-04-12 00:02:52 +02:00
Michiel Borkent
f18ec3feeb Fix parallel tasks 2021-04-11 23:20:27 +02:00
Michiel Borkent
e1cfdc6e23 Fix parallel 2021-04-11 23:07:48 +02:00
Michiel Borkent
2b2e602eac bb tasks: support parallel via future 2021-04-11 21:25:15 +02:00
Michiel Borkent
bd0495f88b tasks output test 2021-04-11 12:49:42 +02:00
Michiel Borkent
45109685e1 Get rid of :when for now 2021-04-10 16:50:20 +02:00
Michiel Borkent
36abd4152a List tasks test 2021-04-10 16:07:06 +02:00
Michiel Borkent
0ae56e7098 Fix bug in topological sorting 2021-04-10 15:57:03 +02:00
Michiel Borkent
1020a8c335
[#788] First cut of bb tasks 2021-04-10 14:42:58 +02:00
Andrea Richiardi
a0ace650f1
[#776] Use get-classpath when build an uberjar
It was previously using the classpath coming from the parameters/env. We need to use
cp/get-classpath for taking into consideration the classpath coming from bb.edn.
2021-04-07 10:21:09 +02:00
Michiel Borkent
1870e2729e
[#769] rewrite-clj support 2021-04-04 16:22:45 +02:00
Michiel Borkent
2aa8c88822 fix help text [skip ci] 2021-04-02 18:10:29 +02:00
Michiel Borkent
6a7baf2a90 v0.3.1 2021-03-30 18:06:56 +02:00
Michiel Borkent
02cecb259d help 2021-03-30 17:57:07 +02:00
Michiel Borkent
e95a10cf6b help 2021-03-30 11:41:12 +02:00
Michiel Borkent
c9826b9694 help 2021-03-30 11:32:30 +02:00
Michiel Borkent
6f133ed9f2 help 2021-03-30 11:31:58 +02:00
Michiel Borkent
093f9828f0 help 2021-03-30 11:29:46 +02:00
Michiel Borkent
69c1b65689 help 2021-03-30 11:27:23 +02:00
Michiel Borkent
4e667679a5 CHANGELOG [skip ci] 2021-03-29 23:57:13 +02:00
Michiel Borkent
c1670e8670 Improve doc 2021-03-28 22:48:44 +02:00
Michiel Borkent
40d34c27d7 help [skip ci] 2021-03-28 17:33:40 +02:00
Michiel Borkent
d71c3622ec
bb.edn: first iteration 2021-03-28 17:30:44 +02:00
Michiel Borkent
bfe139eacc add vars 2021-03-27 11:52:33 +01:00
Michiel Borkent
ac2bc23365 Fix tests 2021-03-15 22:44:16 +01:00
Michiel Borkent
2d81c3a8e3 Add FileInputStream 2021-03-15 22:37:03 +01:00
Michiel Borkent
db908004c7 Revert "Reduce size"
This reverts commit 1d3392e60e.
2021-03-14 18:43:06 +01:00
Michiel Borkent
1d3392e60e Reduce size 2021-03-14 18:34:12 +01:00
Michiel Borkent
aacbcc3602 Add java.util.regex.Matcher to increase compatibility with version-clj. 2021-03-14 17:38:04 +01:00
Michiel Borkent
0b332431d3 Fix proxy instance check 2021-03-13 18:08:36 +01:00
Michiel Borkent
c79d48cdde Fix proxy exception 2021-03-13 17:49:19 +01:00
Michiel Borkent
7262e1e709 note [skip ci] 2021-03-13 17:30:54 +01:00
Michiel Borkent
7c608452b5 clean [skip ci] 2021-03-13 17:30:08 +01:00
Michiel Borkent
a426cddd4a proxy + protocols 2021-03-13 17:25:24 +01:00
Michiel Borkent
c0e512e304 proxy 2021-03-13 17:04:35 +01:00
Wilker Lúcio
6a911fc54f
Augment proxy to fulfill custom maps interfaces (#755) 2021-03-13 16:37:51 +01:00
Michiel Borkent
ae047b5809 Support this in proxy 2021-03-13 14:59:44 +01:00
Michiel Borkent
ea88219ad6 Fix 2021-03-13 12:47:25 +01:00
Michiel Borkent
8551817724 Narrow scope of reify 2021-03-13 12:44:12 +01:00
Michiel Borkent
f58748ebbe Remove proxy-super 2021-03-13 11:18:53 +01:00
Michiel Borkent
5555ea4ede APersistentMap test 2021-03-12 20:31:58 +01:00
Michiel Borkent
fa92537bdf Preliminary proxy support 2021-03-12 14:47:18 +01:00
Michiel Borkent
6a47a4dc29 Preliminary proxy support 2021-03-12 14:47:03 +01:00
Michiel Borkent
45faf1ec63
Add java.io.OutputStreamWriter and java.io.PrintStream 2021-03-12 10:24:29 +01:00
Wilker Lúcio
39284ae707
Add IndexOutOfBoundsException and Map$Entry (#751)
* Add IndexOutOfBoundsException, IHashEq and Map$Entry

* Remove IHashEq interface
2021-03-10 23:21:35 +01:00
Wilker Lúcio
2ad4d3342c
Map type extensions (#749) 2021-03-08 22:58:43 +01:00
Michiel Borkent
fcb2554ff3 CHANGELOG [skip ci] 2021-03-08 10:46:38 +01:00
Michiel Borkent
0d59c0f43b Reify improvements 2021-03-07 13:56:12 +01:00
Michiel Borkent
bc8739a57e sci: reify 2021-03-07 12:34:01 +01:00
Michiel Borkent
d72aa3158a sci#540: one reify to rule them all 2021-03-07 11:43:35 +01:00
Michiel Borkent
874593bae9 Add clojure.lang.Associative 2021-03-06 16:02:41 +01:00
Michiel Borkent
1391f028bf sci: update to new reify config 2021-03-06 11:17:39 +01:00
Michiel Borkent
e64dbc7691
Support reifying clojure.lang.IFn and clojure.lang.ILookup (#740) 2021-02-28 18:23:45 +01:00
Michiel Borkent
8733bcb795
Add classes for instance checks (#739) 2021-02-27 10:15:28 +01:00
Michiel Borkent
dab1020622 [#736] Update link in nREPL server [skip ci] 2021-02-24 21:03:16 +01:00
Michiel Borkent
1736adb171 Use default print-right-margin 2021-02-15 14:09:43 +01:00
Michiel Borkent
e4a9660670 [#728] Update fs lib with split-paths 2021-02-10 10:07:28 +01:00
Michiel Borkent
77daea7362
[#712] Upgrade to GraalVM 21.0.0 (#725) 2021-02-07 12:23:20 +01:00
Michiel Borkent
24032734e7 fs 2021-02-06 21:24:25 +01:00
Michiel Borkent
4daef2fbcc fs [skip ci] 2021-02-06 17:51:19 +01:00
Michiel Borkent
52f2728735 fs update 2021-02-06 14:11:16 +01:00
Michiel Borkent
6c5f20f786 fs: fix delete-tree 2021-02-06 10:11:53 +01:00
Michiel Borkent
549c2166b4 fs 2021-02-05 23:29:23 +01:00
Michiel Borkent
9220b983c5 Fix gaka tests 2021-02-03 23:06:18 +01:00
Michiel Borkent
931fadabb2
[#487] Include clojure.test.check as preparation for clojure.spec 2021-01-24 21:07:07 +01:00
Michiel Borkent
c4bb42df3e
[#646] Add hiccup.core and hiccup2.core 2021-01-23 22:47:35 +01:00
Michiel Borkent
6dc6cbab12 Add clojure.lang.Ratio 2021-01-23 15:47:28 +01:00
Michiel Borkent
497bfb01da
[#594] Include clojure.core.match 2021-01-23 14:02:00 +01:00
Michiel Borkent
0f97da2d9c Add IllegalArgumentException 2021-01-23 13:45:09 +01:00
Michiel Borkent
bb4ef582d6 Add instance check for clojure.lang.Fn 2021-01-20 12:52:56 +01:00
Michiel Borkent
fecefc3f92 Note 2021-01-19 15:21:25 +01:00
Michiel Borkent
428b946f45 minor 2021-01-19 14:33:01 +01:00
Michiel Borkent
6a3594deeb core.match compat 2021-01-19 14:09:52 +01:00
Michiel Borkent
3d27677186 [#707] Add pp from clojure.pprint 2021-01-10 15:40:13 +01:00
Michiel Borkent
ee22efdb40
Carve 2021-01-02 15:03:06 +01:00
Michiel Borkent
e309b49e1b Rename 2021-01-01 11:26:31 +01:00
Michiel Borkent
c371e50a2b
Sci: get rid of end-line and end-col metadata 2020-12-24 16:22:09 +01:00
Michiel Borkent
697c5b6152 sci: rename error key 2020-12-20 23:25:03 +01:00
Michiel Borkent
e88dc25709 sci: restructure internal ns 2020-12-16 13:03:35 +01:00
Michiel Borkent
44d632718d Rename clojure to --clojure 2020-12-13 18:02:30 +01:00
Michiel Borkent
a95808bf9e [#677, #678] Correct namespace name 2020-12-13 15:56:24 +01:00
Michiel Borkent
7b8745806f
[#677, #678] babashka.deps add-deps + clojure + clojure subcommand 2020-12-13 11:41:20 +01:00
Michiel Borkent
1489e003f2 [#670] Add split-classpath 2020-12-06 11:41:05 +01:00
Michiel Borkent
a04a09c018 [#670] Expose get-classpath 2020-12-06 11:01:37 +01:00
Kevin W. van Rooijen
b269b37ecf
Add babashka.classpath/classpath (#669) 2020-12-06 10:57:24 +01:00
Michiel Borkent
409380dbc3 Bind *print-level* in pREPL 2020-12-03 11:12:46 +01:00
Michiel Borkent
67c33b2270
[#664] Prepl 2020-11-26 12:06:49 +01:00
Michiel Borkent
52f1296467
[#658] Remove cheshire smile functions 2020-11-20 17:36:06 +01:00
Michiel Borkent
04500f2448 Import Iterable 2020-11-19 09:22:25 +01:00
Michiel Borkent
86ea4bbc9a Add Iterable 2020-11-18 22:53:21 +01:00
Michiel Borkent
c94b4f9148 sci + nrepl using REPL variables 2020-11-18 22:49:51 +01:00
Michiel Borkent
a74cb810f5 Fix class 2020-11-18 21:46:24 +01:00
Michiel Borkent
76aa7f8f9b Add Seqable instance check 2020-11-18 21:16:29 +01:00
Michiel Borkent
e65457cf29 Use REPL variables from sci 2020-11-18 20:38:05 +01:00
Michiel Borkent
9cdd81c37b Get rid of :needs-ctx everywhere 2020-11-18 17:46:21 +01:00
Michiel Borkent
7bf2230f1b Revert "Add PipedInputStream and PipedOutputStream"
This reverts commit 51133263f2.
2020-11-17 21:50:39 +01:00
Burin Choomnuan
51133263f2 Add PipedInputStream and PipedOutputStream 2020-11-17 10:28:46 +01:00
Jakub Holy
b73940861f
Add feature/oracledb (#638)
NOTE: Using the Oracle driver directly requires some GraalVM settings
while the helidon wrapper provides those and thus works out of the box.
2020-11-11 22:29:42 +01:00
Michiel Borkent
76dd775991 Protocol test 2020-11-11 00:00:17 +01:00
Michiel Borkent
d4f9e89577
Add more interfaces to build protocols for 2020-11-10 23:40:28 +01:00
Michiel Borkent
2d77fd6254 [#630] Fix stream example 2020-11-03 11:42:28 +01:00
Michiel Borkent
d8da037af9 [#627] Expose pprint/simple-dispatch 2020-11-01 20:15:14 +01:00
Michiel Borkent
5ec6915c45 Process tweaks 2020-10-21 13:47:04 +02:00
Michiel Borkent
756d25c6a6 [#619] Add more cheshire vars 2020-10-21 10:25:22 +02:00
Michiel Borkent
ec731a4d47 Process updates 2020-10-21 10:23:26 +02:00
Michiel Borkent
c69b64c61c babashka/process updates 2020-10-20 23:51:42 +02:00
Michiel Borkent
1c10221f86 babashka/process updates 2020-10-20 23:50:48 +02:00
Michiel Borkent
8c73a02915 [babashka/process#2] *escape-fn* 2020-10-19 23:46:21 +02:00
Michiel Borkent
9027055cc7 [#521] babashka.process 2020-10-19 16:15:54 +02:00
Michiel Borkent
200d444745
[#603] Partial support for multiple classes in reify 2020-10-18 17:15:16 +02:00
Michiel Borkent
5ba2c34794 [#607] Add clojure.pprint/write 2020-10-17 22:10:31 +02:00
Michiel Borkent
b3fbe7e12e [#601] Support clojure.java.io/Coercions 2020-10-17 21:13:21 +02:00
Kevin W. van Rooijen
13f65f05ae
Add optional clojure-lanterna feature 2020-10-12 17:42:18 +02:00
Michiel Borkent
b5f65e10a6 [#611] pprint/print-table should write to sci/out 2020-10-11 17:02:50 +02:00
Michiel Borkent
864c30ef15 [#606] Fix System/exit in REPL 2020-10-05 22:11:21 +02:00
Michiel Borkent
079faf8106 [#600] Support java.io.FilenameFilter 2020-09-30 20:21:55 +02:00
Michiel Borkent
c078dc69e4 [#600] Support java.io.FileFilter 2020-09-30 17:14:42 +02:00
Michiel Borkent
4a45cd3fd7 [#600] Support for reifying java.nio.file.FileVisitor 2020-09-30 15:37:29 +02:00
Michiel Borkent
60ff9cf1bd rm java.util.regex.Pattern for now 2020-09-28 23:04:17 +02:00
Michiel Borkent
d3ebe97e95 rm java.util.regex.Pattern for now 2020-09-28 22:58:25 +02:00
Michiel Borkent
194c631fb7 Add java.util.regex.Matcher 2020-09-28 22:53:05 +02:00
Michiel Borkent
6e358ed20d Add java.util.zip.ZipEntry 2020-09-27 14:18:44 +02:00
Michiel Borkent
2c2b02a33d Add java.util.zip.ZipInputStream 2020-09-27 14:09:28 +02:00
Michiel Borkent
706dbf6a97
[#571] Use real clojure.pprint, not fipp 2020-09-25 12:04:31 +02:00
Michiel Borkent
2f445658bf [#583] round-trip YAML using *input* 2020-09-23 11:15:29 +02:00
Michiel Borkent
6d2b026dd2 [#589] Fix REPL error locations 2020-09-23 10:40:43 +02:00
Michiel Borkent
1efd3e6d3d [#587] Avoid NPE in error handling 2020-09-22 15:10:39 +02:00
Michiel Borkent
a1d34f5242
[#556] Add org.httpkit.server namespace (experimental) 2020-09-20 23:19:49 +02:00
Michiel Borkent
604dabec8c [#581] Add java.io.FileNotFoundException 2020-09-20 11:38:14 +02:00
Michiel Borkent
9aec485913
[#561] Add tests + enhancements for org.httpkit.client 2020-09-19 14:30:48 +02:00
Michiel Borkent
f89da080c3
[#561] Add org.httpkit.client namespace
This also bumps GraalVM to 20.2.0 and XCode to version 12
2020-09-18 21:32:08 +02:00
Michiel Borkent
c4d05b4811 [#557] Fix namespace change in REPL 2020-09-16 15:54:39 +02:00
Michiel Borkent
a0da0d952b
[borkdude/sci#401] Support implementing IDeref/IAtom/IAtom2 2020-09-16 14:31:28 +02:00
Michiel Borkent
e7946d1d55
Add java.security.DigestInputStream 2020-09-08 09:43:38 +02:00
Michiel Borkent
0c78a249f9
Add java.nio.file.FileVisitOption (#566) 2020-09-08 09:43:12 +02:00
Teodor Heggelund
6e8bb719b0
Fix spelling error in bb --help (#555) 2020-08-29 10:37:59 +02:00
Michiel Borkent
007ebb918e Add java.time.format.DateTimeParseException 2020-08-27 15:45:33 +02:00
Michiel Borkent
7cbaa36652
[#543] Stacktrace improvements 2020-08-26 18:16:11 +02:00
Michiel Borkent
5b0f54e576
[#508, #543] Improve error reporting with stack trace 2020-08-24 23:45:41 +02:00
Michiel Borkent
ab0af85884
[#536] Support uberjars 2020-08-19 16:39:42 +02:00
Michiel Borkent
60c73d21a6 [#535] use distinct instead of dedupe 2020-08-17 12:42:27 +02:00
Michiel Borkent
d98316a477 [#536] limit search for manifest to jar file 2020-08-16 20:35:38 +02:00
Michiel Borkent
916858e016 Add -jar option to run uberjar 2020-08-16 20:25:58 +02:00
Michiel Borkent
02032625ee [#535] fix order in --uberscript (2) 2020-08-16 18:00:39 +02:00
Michiel Borkent
0829ccbe2e [#535] fix order in --uberscript 2020-08-16 15:59:38 +02:00
Michiel Borkent
1761aac14a [babashka/babashka.nrepl#25] fix binding of *warn-on-reflection* in nREPL 2020-08-14 17:40:57 +02:00
Michiel Borkent
9b68099543
[#532] Prefer .getAbsoluteFile over .getCanonicalFile for preserving 2020-08-14 11:39:48 +02:00
Michiel Borkent
88aa247536
[#468] Add clojure.core.protocols w Datafiable and Navigable 2020-08-13 11:20:32 +02:00
Michiel Borkent
71e2957ecc [#468] fix ns name 2020-08-12 09:39:19 +02:00
Michiel Borkent
f091eeddd9
[#528] Allow reading resources from jar files 2020-08-12 09:34:38 +02:00
Michiel Borkent
4729fb1d8b
[#468] Add clojure.datafy namespace 2020-08-11 21:57:03 +02:00
Chris Badahdah
e4714bb18c
Expose tap>, add-tap and remove-tap (#527) 2020-08-11 18:07:56 +02:00
Gabriel Horner
106fd03e7b
Add java class to support circle/bond (#522) 2020-08-08 09:59:24 +02:00
Michiel Borkent
65eecdfc1c
Several improvements around destroying subprocesses
See test/babashka/scripts/child.bb
2020-08-01 16:47:10 +02:00
Michiel Borkent
227b8a0e77 Fix BABASHKA_LEAN 2020-07-05 12:13:08 +02:00
Michiel Borkent
d422cbb91a [#478] Add babashka.file property 2020-06-27 12:58:45 +02:00
Michiel Borkent
8a75a70bbe
[#498] Fix for invoking -f with empty file 2020-06-27 12:12:53 +02:00
Michiel Borkent
36be2a8dc5 Add java.net.ConnectException 2020-06-26 11:56:04 +02:00
Michiel Borkent
e095e1485a
[#479] Add babashka.version system property 2020-06-26 10:38:58 +02:00
André de Jager
475622f7f4
Changes needed for cli-matic (#499)
* Changes needed for cli-matic

- Added more clojure.lang classes
- Added tools.cli/make-summary-part

* Remove trailing empty line
2020-06-26 09:28:54 +02:00
Michiel Borkent
633264096d
[#495] add clojure.java.browse/browse-url 2020-06-23 15:14:26 +02:00
Michiel Borkent
834c78c044
[#491] fix binding of clojure.test/report 2020-06-22 11:36:08 +02:00
Michiel Borkent
b6a517b979 Make clojure.test/test-var dynamic 2020-06-17 13:50:47 +02:00
Michiel Borkent
d0939de548 [#482] make clojure.test/report a dynamic var 2020-06-17 13:40:56 +02:00
Michiel Borkent
54fd245c3f Add java.time.temporal.{TemportalAdjuster, TemporalAmount} classes 2020-06-16 16:40:17 +02:00
Michiel Borkent
be39ee7e27
Add compatibility with honeysql (#476) 2020-06-13 23:44:35 +02:00
Michiel Borkent
6bd3dc3d9f [#471] add version info to nrepl describe op 2020-06-12 23:47:38 +02:00
Jeroen van Dijk
0754975172
Add support for clojure.data.generators (#470) 2020-06-12 16:35:34 +02:00
Michiel Borkent
fae5c86009
Add clojure.lang.BigInt (#472) 2020-06-12 11:37:55 +02:00
Michiel Borkent
6ce94bdd86 [#469] Fix classpath on Windows for .jar files 2020-06-11 23:06:33 +02:00
Michiel Borkent
26939ff677 io/resource should return nil for non-relative paths 2020-06-10 22:55:07 +02:00
Michiel Borkent
cc4ac98795 Add default-data-readers. 2020-06-10 15:20:47 +02:00
Michiel Borkent
12a5b7b65a sci: fix instance? for defrecord 2020-06-10 15:15:59 +02:00
Michiel Borkent
14cd18f50f
sci: defprotocol and defrecord 2020-06-09 23:11:09 +02:00
Michiel Borkent
cfc5eda725 Add java.io.Console 2020-06-09 16:40:20 +02:00
Chowlz
480d613b62
Disable signal handlers on AWS lambdas via env var (#462)
* Disable handle-sigint! when BABASHKA_DISABLE_PIPE_SIGNAL_HANDLER is true

This allows babashka to be run in an AWS lambda.

* Rename BABASHKA_DISABLE_PIPE_SIGNAL_HANDLER to BABASHKA_DISABLE_SIGNAL_HANDLERS

Any signal handler used in AWS lambdas will not work. This simplifies/shortens
the naming of the env var.
2020-06-08 21:27:40 +02:00
Michiel Borkent
566eff4b94 [#460] fix interop with environment 2020-06-05 20:26:36 +02:00
Michiel Borkent
cd6b76711d [#458] add clojure.data namespace (fix reflection warnings) 2020-05-31 23:12:38 +02:00
Michiel Borkent
388253bf95 [#458] add clojure.data namespace 2020-05-31 22:23:04 +02:00
Michiel Borkent
0389ed7127 [#457] Add java.nio.file.PathMatcher 2020-05-30 20:55:43 +02:00
Michiel Borkent
2e9224f986 Add Float to imports 2020-05-30 09:41:08 +02:00
Gabriel Horner
94337b52d4
Add Float class for use in scripts (#456) 2020-05-30 09:39:07 +02:00
Michiel Borkent
696d4102a7 Add more java.time classes, test with cljc.java-time tests 2020-05-29 20:30:06 +02:00
Michiel Borkent
6aeb0869f8 Print exception name 2020-05-23 21:23:57 +02:00
Michiel Borkent
80ff2bd56e Sci: add bean 2020-05-23 16:53:22 +02:00
Michiel Borkent
c3f9480efe
[#449] move to GraalVM 20.1.0 java11 2020-05-23 14:53:28 +02:00
Michiel Borkent
03fba08e31
[#447] expose flatland.ordered.map/ordered-map 2020-05-22 18:18:42 +02:00
Michiel Borkent
6648a9aa0c babashka.pods: unload-pod 2020-05-20 20:14:28 +02:00
Michiel Borkent
1c26ff2844 Add babashka.curl/delete 2020-05-20 19:52:44 +02:00
Michiel Borkent
4df3e56557 Upgrade to pod callbacks (babashka/babashka.pods#6) 2020-05-20 13:52:11 +02:00
Michiel Borkent
3f39c6e9f5 Add Comparable to imports 2020-05-15 23:18:25 +02:00
Michiel Borkent
d34773ee63 Add JarFileEntry 2020-05-15 23:02:02 +02:00
Michiel Borkent
6dc84315ac Classpath optimizations - thanks @mbjarland 2020-05-15 11:26:06 +02:00
Michiel Borkent
3f0cd93fc7
[#419] data readers 2020-05-15 11:12:45 +02:00
Michiel Borkent
ae1431d160 Notes 2020-05-15 10:37:17 +02:00
Michiel Borkent
de5168adab
[#419] classpath optimizations / first step towards data_readers 2020-05-14 22:31:49 +02:00
Matias Bjarland
eef0b046cd
adding support for clojure.zip (#435) 2020-05-14 22:16:42 +02:00
Michiel Borkent
79cba0fbef Classpath speedup 2020-05-14 14:42:23 +02:00
Michiel Borkent
73a01f89b5
[#432] use babashka.nrepl library 2020-05-13 14:13:57 +02:00
Michiel Borkent
baa326e9ce varify tools.cli 2020-05-13 10:58:18 +02:00
Michiel Borkent
0839c9a429 sci 2020-05-13 00:07:29 +02:00
Michiel Borkent
75148da63a Add import 2020-05-11 20:34:47 +02:00
Michiel Borkent
9a1547e25a
[#424] add jar classes 2020-05-11 09:45:32 +02:00
Michiel Borkent
a5d9b78af1 use babashka/babashka.pods library 2020-05-09 14:11:20 +02:00
Michiel Borkent
67639183eb pods: ops value in describe 2020-05-07 23:56:03 +02:00
Michiel Borkent
4e70b92584 Add :shutdown op 2020-05-07 23:12:13 +02:00
Michiel Borkent
0a27f96a85 Fix signal ns 2020-05-07 12:20:00 +02:00
Michiel Borkent
1915c22ad0 Redirect stderr from pod 2020-05-07 11:42:44 +02:00
Michiel Borkent
08478d966e [#415] Add java.util.Arrays/copyOf 2020-05-07 09:15:49 +02:00
Michiel Borkent
eb4f25f5c5
[#411] pods 2020-05-06 21:14:14 +02:00
Michiel Borkent
38a4862d54 sci: fix for / add java.lang.Character 2020-05-02 18:31:36 +02:00
Michiel Borkent
0805efd27b
[#407] datascript feature 2020-05-01 20:37:31 +02:00
Michiel Borkent
41a7987dc8 [#404] fix docstring of clojure.java.shell/sh 2020-05-01 11:26:27 +02:00
Michiel Borkent
67c9a34e7a [#405] add clojure.pprint/*print-right-margin* 2020-05-01 11:02:55 +02:00
Michiel Borkent
6c9cb2c684 README 2020-04-30 23:12:53 +02:00
Michiel Borkent
422baff333 [#403] --describe option 2020-04-30 23:06:56 +02:00
Michiel Borkent
d65bb61d7c [#394] fix --nrepl-server without port 2020-04-30 20:39:38 +02:00
Michiel Borkent
e8ab72f111 [#389] java.nio flag 2020-04-30 14:27:59 +02:00
Michiel Borkent
2a44b9f9dd [#389] feature flag for java.time 2020-04-30 12:39:44 +02:00
Michiel Borkent
9ec14eb56b
[#389] feature flag for transit 2020-04-30 12:18:46 +02:00
Michiel Borkent
e565890f1d
[#389] csv feature flag 2020-04-30 11:39:25 +02:00
Michiel Borkent
02c7c51ad4
[#389] core.async feature flag 2020-04-29 17:50:38 +02:00
Michiel Borkent
0d1cabd4dc
[#389] SQL feature flags 2020-04-29 14:50:25 +02:00
Michiel Borkent
cd96a380ba
[#389] YAML feature flag 2020-04-28 17:39:47 +02:00
Michiel Borkent
6c255a702e
Merge windows branch to master 2020-04-28 15:32:34 +02:00
Michiel Borkent
ab008870b8
[#389] XML feature flag (#390) 2020-04-28 12:03:01 +02:00
Michiel Borkent
39024ef270 Add java.nio.file.OpenOption 2020-04-27 13:01:26 +02:00
Michiel Borkent
ac24abbbfb [#382] add optional support for hsqldb 2020-04-26 13:11:38 +02:00
Michiel Borkent
411e338a18 Fix ns 2020-04-25 11:31:17 +02:00
Michiel Borkent
6cd384c215
[#372] add support for jdbc + postgres 2020-04-24 15:08:26 +02:00
Michiel Borkent
d95fa631cd [#375] add clojure.pprint/print-table 2020-04-23 22:44:25 +02:00
Michiel Borkent
cb1d774e68 Add BigDecimal and ClassNotFoundException 2020-04-23 10:14:40 +02:00
Michiel Borkent
ff2381a17c sci: use public vars 2020-04-22 21:30:41 +02:00
Michiel Borkent
62e4a53c90 simplify 2020-04-22 18:09:16 +02:00
Michiel Borkent
ec552a9cf0
[#317] add clojure.repl/pst 2020-04-21 23:38:16 +02:00
Michiel Borkent
045226ac54 [#371] fix arg parsing 2020-04-21 15:08:20 +02:00
Michiel Borkent
d9a6d544c0 babashka.curl: curl-command is private 2020-04-20 11:38:26 +02:00
Michiel Borkent
eceb4e77c1 [#367] varize cheshire.core namespace 2020-04-19 09:36:15 +02:00
Michiel Borkent
d1a2a4705b fix 2020-04-18 23:45:49 +02:00
Michiel Borkent
254aa73a48 wip 2020-04-18 23:28:02 +02:00
Michiel Borkent
48fbd08608 add test 2020-04-18 23:21:51 +02:00
Michiel Borkent
32dc498261 Merge branch 'master' into clojure.data.xml 2020-04-18 20:54:05 +02:00
Michiel Borkent
b9b8db4502 Fix tests 2020-04-16 23:24:20 +02:00
Michiel Borkent
7fa410b404 [#263] add more clj-yaml functions, run tests from source 2020-04-16 22:43:37 +02:00
Michiel Borkent
228020f2e8 minor 2020-04-16 16:43:06 +02:00
Michiel Borkent
5f914cedd1 [#263] add yaml library 2020-04-15 12:24:00 +02:00
Michiel Borkent
a9c50b1a39 Comment 2020-04-14 22:54:31 +02:00
Michiel Borkent
c3ee37e8c1
Add classes for statsd client 2020-04-14 22:08:37 +02:00
Michiel Borkent
36c163a444 Add java.lang.Comparable 2020-04-14 18:02:38 +02:00
Michiel Borkent
ffcbfa02b8
[#351] exit REPL on ctrl-D 2020-04-14 13:12:33 +02:00
Michiel Borkent
3ec5e1806d Use clojure.repl at REPL startup 2020-04-13 21:57:21 +02:00
Michiel Borkent
3c2e17844d [#353] set babashka.main property 2020-04-13 16:49:28 +02:00
Michiel Borkent
8266349df8 [#344] print link to nREPL docs 2020-04-12 16:41:48 +02:00
Michiel Borkent
cca63e913f [#344] add nREPL docs 2020-04-12 16:30:39 +02:00
Michiel Borkent
4318fc0192 [#346] nrepl: fix close 2020-04-12 14:25:36 +02:00
Michiel Borkent
f1c1a3db8e [#349] nrepl: write to output while evaluating 2020-04-12 13:50:49 +02:00
Michiel Borkent
b0a3549bab [#346] nrepl: implement close and ls-sessions 2020-04-12 13:14:24 +02:00
Michiel Borkent
e2bdd7eae2 [#348] nrepl: support multiple top level expressions 2020-04-11 21:36:33 +02:00
Maurício Szabo
9f199ddef7
Send bencode using BufferedOutputStream (#342)
This new implementation is faster because you only flush when you issue `.flush`, or until the buffer is full. Some simple experiments with Chlorine confirmed that small messages are being received in a whole block, instead of fragmented.
2020-04-11 09:47:06 +02:00
Michiel Borkent
1c467080fa
borkdude/babashka.curl#13 2020-04-10 23:39:04 +02:00
Michiel Borkent
7e30c40dd9 nREPL server cleanup 2020-04-10 14:29:10 +02:00
Michiel Borkent
110f6d7644
[#336] Add java.lang.Runtime to support shutdown hooks (#338) 2020-04-08 21:18:25 +02:00
Michiel Borkent
b522531e79 [#329] create non-existing ns in nREPL message 2020-04-06 00:04:30 +02:00
Michiel Borkent
2272536026 [#329] ignore non-existing ns in nREPL message 2020-04-05 23:31:36 +02:00
Michiel Borkent
249fc0a5a5 [#19] make ns key optional in nREPL messages 2020-04-05 23:17:07 +02:00
Michiel Borkent
c738398eea Add java.lang.Byte, test bencode from source 2020-04-04 15:08:52 +02:00
Michiel Borkent
3bf27445f3 [#328] completions for clojure.test do not work 2020-04-04 14:26:02 +02:00
Michiel Borkent
62014c0e74 Fix babashka.curl test 2020-04-04 12:39:07 +02:00
Michiel Borkent
8b90e40de4
[#301] Add nREPL server (#326) 2020-04-03 23:51:54 +02:00
Michiel Borkent
4263c19979 [#308] print exception name in REPL 2020-03-28 11:20:39 +01:00
Michiel Borkent
fe76cd352c
[#312 allow .getMessage on ex-info (#313) 2020-03-28 08:29:03 +01:00
Michiel Borkent
1105c4676e
[#310] add java.nio.file.FileSystem(s) (#311) 2020-03-28 00:27:32 +01:00
Michiel Borkent
d9b2610eae
Add java.io.FileReader (#307) 2020-03-22 11:47:02 +01:00
Michiel Borkent
bb311f5480 Rename env var 2020-03-21 23:15:02 +01:00
Michiel Borkent
962eefcc76 Move disabling pipe handler to pipe ns 2020-03-21 23:11:14 +01:00
Michiel Borkent
02f5a85db3 Fix bug with *input* when used in code from classpath 2020-03-21 22:49:14 +01:00
Dainius Jocas
b14d239ebb
Support AWS Lambda custom runtime (#305)
* environment variable to disable handling of SIGPIPE

* rename env variable to BABASHKA_DISABLE_PIPE_HANDLER
2020-03-21 20:17:57 +01:00
Michiel Borkent
ef06175678
[#264] Add transit-clj (#298) 2020-03-20 17:16:42 +01:00
Michiel Borkent
a18a5c345c Socket-REPL: default to port 1666 2020-03-20 15:37:02 +01:00
Michiel Borkent
4db28b45e8 [#293] reset ns after load-file 2020-03-20 15:12:15 +01:00
Michiel Borkent
5b50ba760e
[#296] add support for cprops lib (#297) 2020-03-20 14:28:19 +01:00
Michiel Borkent
378b592ac7 Docs for babashka.curl 2020-03-07 14:10:58 +01:00
Michiel Borkent
1297084d53
Add babashka.curl (undocumented) 2020-03-07 14:02:37 +01:00
Michiel Borkent
8955431ee7 Add more docstrings 2020-03-06 22:33:58 +01:00
Michiel Borkent
0b23dd0fdb eval + read-string are moved to sci 2020-03-06 11:08:53 +01:00
Michiel Borkent
aa4139931e
[#284] Add read-string 2020-03-06 10:33:22 +01:00
Michiel Borkent
91a273034a clojure.stacktrace now works with GraalVM! 2020-03-05 22:01:47 +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
sogaiu
7ef2cd3dc4
Support doc for file-seq (#277) 2020-02-26 20:27:35 +01:00
sogaiu
b744efd60b
Support doc for slurp and spit (#276) 2020-02-25 10:17:22 +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
90d16fbb74 Merge branch 'master' into clojure.data.xml 2020-02-21 20:08:00 +01:00
Michiel Borkent
7ad6f3195f Lib tests 2020-02-19 23:58:58 +01:00
Michiel Borkent
e43727955a [#133] add clojure.pprint/pprint backed by fipp 2020-02-19 23:22:49 +01:00
Michiel Borkent
41b3893056
sci: support metadata on namespaces 2020-02-18 16:25:04 +01:00
Michiel Borkent
29c0f20ead Fix tools.cli alias 2020-02-17 18:17:14 +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
Michiel Borkent
01714e4bbb Add note about rlwrap 2020-02-07 09:33:02 +01:00
Michiel Borkent
debd180681 Fix previous commit 2020-02-04 22:15:59 +01:00
Michiel Borkent
1a9dc12c38 Add java.lang.Long to imports 2020-02-04 22:15:14 +01:00
Stijn Opheide
d5ff6f7308
add java.lang.Long to classes (#253) 2020-02-04 22:07:11 +01:00
Michiel Borkent
d3f1b05102 Make core.async.impl.protocols namespace reachable from within bb 2020-02-04 12:42:05 +01:00
Michiel Borkent
ba3eac83b1 Fix preloads 2020-02-04 11:09:29 +01:00
Michiel Borkent
1224919bd1 sci: now includes clojure.edn 2020-02-02 18:24:58 +01:00
Michiel Borkent
b931b98f4c Doc 2020-01-31 17:34:39 +01:00
Michiel Borkent
6abff1dbdd [#250] implement -- option 2020-01-31 17:23:22 +01:00
Michiel Borkent
8570eef019 Fix reported file 2020-01-30 10:30:11 +01:00
Michiel Borkent
6e8a2e2e9a [#245] add -iO and -Io 2020-01-29 23:55:21 +01:00
Michiel Borkent
710eee3e51 [#247] add clojure.test/report 2020-01-29 23:31:29 +01:00
Michiel Borkent
f86cc84303
[#247] add clojure.test as built-in lib 2020-01-29 23:22:26 +01:00
Michiel Borkent
aad41086f7 Minor 2020-01-21 15:39:03 +01:00
Michiel Borkent
736555bdb6 Add Writer, PrintWriter and PushbackReader 2020-01-21 15:27:38 +01:00
Michiel Borkent
e427060c0b Add java.io.Reader and StringBuilder 2020-01-21 15:14:33 +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
6c4a54745a Add time macro 2020-01-19 15:28:59 +01:00
Michiel Borkent
073fbcac20 Add Throwable to default imports 2020-01-19 14:18:52 +01:00
Michiel Borkent
45da56a964 sci: support reload 2020-01-18 20:41:46 +01:00
Michiel Borkent
d1aaa97df6 sci: record file metadata on var 2020-01-18 18:25:38 +01:00
Michiel Borkent
d9a75cf8cf dev 2020-01-17 17:26:03 +01:00
Michiel Borkent
0713038457
[#239] Fix issue with clj-http-lite 2020-01-16 10:28:17 +01:00
Michiel Borkent
bfa8b45e34
sci: performance improvement 2020-01-14 17:12:57 +01:00
Michiel Borkent
8c41237f7a sig -> signal 2020-01-12 20:18:37 +01:00
Michiel Borkent
5a63d37486 babashka.classpath 2020-01-12 20:02:48 +01:00
Michiel Borkent
b933610626 Add experimental add-classpath! 2020-01-12 18:15:34 +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
1268792b47 Refer 'clojure.repl/dir in user ns 2020-01-12 14:01:22 +01:00
Michiel Borkent
a3b3984f05 Upgrade sci 2020-01-12 13:35:03 +01:00
Michiel Borkent
06cccf1a14 Add ns-publics + clojure.repl/dir 2020-01-12 13:33:56 +01:00
Michiel Borkent
7b85863020 Bind current-ns to user 2020-01-12 11:51:40 +01:00
Michiel Borkent
4a833e3c76 Add test 2020-01-08 22:42:58 +01:00
Michiel Borkent
f1c6f27eaf xml 2020-01-08 22:04:59 +01:00
Michiel Borkent
90f10061b3 Merge branch 'master' into clojure.data.xml 2020-01-08 21:25:12 +01:00
Michiel Borkent
2b0cb6fb1c
Remove Unix-specific classes (#227) 2020-01-08 11:48:40 +01:00
Michiel Borkent
ab6ea2de08 add demunge 2020-01-05 19:01:55 +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
62f12e75ee sci: use public alter-var-root 2020-01-04 15:31:49 +01:00
Michiel Borkent
28b873700d Add class for clj-http.lite 2020-01-02 16:02:36 +01:00
Michiel Borkent
978278768f Add a bunch of classes 2020-01-02 13:39:22 +01:00
Nate Sutton
95a9e91244 Add FileTime and TimeUnit for working with times on file attributes (#211) 2020-01-02 09:31:03 +01:00
Nate Sutton
55e01c5b2c Add Throwable->map (#210) 2020-01-02 09:30:24 +01:00
Nate Sutton
b16e2812e0 Add clojure.stacktrace (#209) 2020-01-02 09:29:26 +01:00
Michiel Borkent
0362ecb7f6 Fix starting REPL when no expression is given 2020-01-01 23:27:25 +01:00
Michiel Borkent
6d0531c26e Add clojure.lang.IOBj 2020-01-01 20:11:49 +01:00
Michiel Borkent
2447f68502 Add java.util.UUID 2020-01-01 18:02:08 +01:00
Michiel Borkent
a9ac2cabbe Add java.net.Socket/Server 2019-12-31 14:13:22 +01:00
Michiel Borkent
2ed19cef99 Cleanup 2019-12-30 18:06:13 +01:00
Michiel Borkent
24f4f7aafe [#200] add nio LinkOption 2019-12-30 11:33:23 +01:00
Michiel Borkent
9bdaafbca9 [#200] import IllegalArgumentException 2019-12-30 11:28:47 +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
João Santiago
5ad851d2ed Add missing functions from cheshire.core (#195) 2019-12-25 15:55:49 +01:00
Michiel Borkent
2041656583 [#154] minor 2019-12-24 10:24:41 +01:00
Michiel Borkent
acfc79660a
[#154] Expose clojure.main/repl to babashka 2019-12-24 10:01:32 +01:00
Michiel Borkent
2ab73f2342 Add class to make (client/get "http://...") work 2019-12-22 22:10:22 +01:00
Michiel Borkent
3270d521d3 Support for clj-http-lite 2019-12-22 20:09:52 +01:00
Michiel Borkent
1c5cebb608 Add clojure.core/delay 2019-12-22 13:03:08 +01:00
Michiel Borkent
34249ad0b1
Add reflection info to support clj-http-lite 2019-12-22 09:40:12 +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
7c45baf008 Make *command-line-args* a dynamic var 2019-12-20 21:29:27 +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
5e10c913e0 [#174] Add edn/read 2019-12-19 18:43:55 +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
aa8e6b160b Close socket 2019-12-17 12:23:34 +01:00
Michiel Borkent
c2d9bbfab2
[#160] Add support for ProcessBuilder (#165) 2019-12-17 11:27:40 +01:00
Michiel Borkent
83b3aad920
[#158] Automate generation of reflection.json 2019-12-16 21:44:20 +01:00
Michiel Borkent
218f5e94da Merge branch 'master' into clojure.data.xml 2019-12-16 13:55:18 +01:00
Michiel Borkent
06eca1c796 Fully qualify async thread-call 2019-12-16 13:10:38 +01:00
Michiel Borkent
1974a2362d
Update sci: fix for nested syntax quote 2019-12-15 20:55:16 +01:00
Michiel Borkent
3ed5f69b20 clojure.data.xml 2019-12-13 21:58:56 +01:00
Michiel Borkent
a74be0ad1a
[#146] support --classpath / -cp and --main / -m (#150) 2019-12-12 23:07:35 +01:00
Michiel Borkent
3c5581fa34
[#147] Add cheshire 2019-12-10 09:44:41 +01:00
Michiel Borkent
b735ae62cc README 2019-12-08 12:51:19 +01:00
Michiel Borkent
c2037c0ed8
[#137] Add REPL prompt at startup 2019-12-08 12:46:06 +01:00
Jakub Holy
f1feec799c Fix #142 - add NIO/FileAttribute etc. (#143) 2019-12-07 16:27:31 +01:00
Michiel Borkent
02d9a315cb
sci: support for dynamic vars 2019-12-07 11:48:57 +01:00
Michiel Borkent
8afb87142e v0.0.37, add tree example, fix *command-line-args* 2019-11-27 18:13:49 +01:00
Michiel Borkent
1885c45255
[#105] initial support for java.nio.file.Files 2019-11-27 17:14:24 +01:00
Michiel Borkent
3e0d464bfe
Bump sci: namespaces 2019-11-27 14:10:07 +01:00
Michiel Borkent
87accff420
Move assert to sci (#129) 2019-11-24 13:35:34 +01:00
Michiel Borkent
cfb1f45e8b
[#112] Add binding, with-out-str and with-in-str 2019-11-16 23:11:42 +01:00
Michiel Borkent
2dfb55d4a3 add clojure.core/*in* and clojure.core/*out* 2019-11-16 16:46:41 +01:00
Michiel Borkent
8c5cc4ee67
[#103] add .write and .append support for BufferedWriter 2019-11-16 11:01:27 +01:00
Michiel Borkent
a0fa854969
Refactor using reflection support (#110) 2019-11-16 00:25:36 +01:00
Jeroen van Dijk
d21274a62d Add clojure.core/eval (#107)
bb -e "(eval '(+ 1 2))"
3
2019-11-14 19:47:35 +01:00
Jeroen van Dijk
5695ee3a52 Added more String parsers (#106)
* Add Double/parseDouble

* Add Boolean/parseBoolean
2019-11-14 16:13:21 +01:00