Commit graph

52 commits

Author SHA1 Message Date
FrankS
f72c1c163a
Expose cljs.core/Cons in SCI config (#142)
This allows (instance? cljs.core/Cons x) to work in Scittle code.

The Cons type exists in the compiled ClojureScript runtime but was not
exposed by name in SCI's symbol table. Libraries like Trove need this
for type checking in their const-form? function.
2025-12-09 22:11:25 +01:00
Peter Strömberg
93cb7874bf
Enable customizing the nrepl websocket port (#141)
* Enable customizing the nrepl websocket port

* Fixes #140

* Update changelog
2025-12-05 23:07:09 +01:00
Chris McCormick
7aebb5bbb0
Support string requires of globalThis js deps #95 (#129)
* Add a :load-fn for js libs on globalThis.

Fixes #95.

* Update changelog.
2025-08-21 11:08:56 +02:00
Michiel Borkent
cb968d06e3
Scittle dev (#127) 2025-08-20 14:58:23 +02:00
Michiel Borkent
e8670cb1c8 minor 2025-07-21 11:53:38 +02:00
Jeroen van Dijk
9a83349d69
Add goog.string/format #118 (#119)
* Add goog.string/format #118

Also add empty goog.string.format for Cljs compatibility

* Update changelog
2025-07-09 15:24:35 +02:00
Jeroen van Dijk
a1b2723ef6
Use replicant via sci.configs (#109)
* Update Replicant plugin to use sci.configs

* Update Replicant to 2025.03.27
2025-06-16 15:31:38 +02:00
Jeroen van Dijk
1977424508
Add Replicant plugin (#108)
* Add replicant tictactoe example

* Update Changelog
2025-06-16 10:43:04 +02:00
ikappaki
07c8d4847d
Add goog.string/htmlEscape (#106)
Co-authored-by: ikappaki <ikappaki@users.noreply.github.com>
2025-06-02 23:07:53 +02:00
Chris McCormick
df1e5a429a
Added applied-science/js-interop plugin. (#101)
* Added applied-science/js-interop plugin.

* Changelog update.
2024-12-21 20:23:47 +01:00
Michiel Borkent
72190e8422 fix import 2024-12-19 17:12:25 +01:00
Michiel Borkent
2019b3263f
Fix #99: make js/import work (#100) 2024-12-19 17:05:28 +01:00
Chris McCormick
d23cbc10bd
Ability to evaluate single, query, or col of script tags. (#93) 2024-11-23 23:07:40 +01:00
Chris McCormick
06621b2dab
Fix #89: Allow evaluate_script_tags to specify scripts. (#90)
* Fix #89: Allow evaluate_script_tags to specify scripts.

* Updatte changelog.
2024-11-15 12:06:58 +01:00
Martin Kavalar
a99cf25226
Bump sci.nrepl and and use it (#81) 2024-07-09 15:03:00 +02:00
Michiel Borkent
dcb3c85174
Fix #77: make dep on js/document optional (#78) 2024-04-30 11:12:56 +02:00
Michiel Borkent
2d4782702c
Fix #75: support reader conditionals in source code (#76) 2024-04-22 14:19:07 +02:00
Michiel Borkent
e83a1baa79 swap args 2023-12-22 14:18:43 +01:00
Michiel Borkent
719de62423 Avoid EDN read error in scittle nREPL 2023-12-22 14:07:03 +01:00
Marcelo Nomoto
d456009ca1
Add hoplon and javelin as a plugin (#73)
* Hoplon and Javelin plugins

* Only Hoplon plugin

* Bump promesa

* Update sci context access/update

* Bump sci
2023-11-20 18:39:38 +01:00
Michiel Borkent
f63d50215d Fix #72: add update-vals and other fns 2023-11-07 10:43:39 +01:00
Michiel Borkent
1bbf579241
Fix #69: executing script tag with src + whitespace doesn't work (#70) 2023-07-25 19:47:38 +02:00
Michiel Borkent
11b7a56ab8 globalThis 2023-02-25 21:13:40 +01:00
Benjamin
95740162d4
Update nrepl to handle describe and eldoc (#51)
* Update nrepl to handle describe and eldoc

See https://github.com/babashka/sci.nrepl/issues/2

* Update changelog
2023-02-17 20:30:15 +01:00
Michael Camilleri
57536819c3
Use window.location.hostname for WebSocket connection (#49)
* Use window.location.hostname for WebSocket connection

* Update CHANGELOG
2023-01-20 18:57:33 +01:00
Michiel Borkent
151ea479f3 Remove println 2023-01-11 18:48:05 +01:00
Michiel Borkent
2463f54680 Fix pprint plugin 2022-12-22 22:56:27 +01:00
Michiel Borkent
3e67519400 Upgrade SCI, fixes #47 2022-12-19 15:03:49 +01:00
Brandon Olivier
ec81500dcb
Add support for re-frame (#46)
* Bump sci.configs for re-frame

* Update changelog

Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2022-11-23 12:51:49 +01:00
Michiel Borkent
0ceda6ec9f Add all public vars of cljs ajax core 2022-11-23 11:39:41 +01:00
Srijayanth Sridhar
693d6ff8c2
Fix scittle.nrepl to honor SCITTLE_NREPL_WEBSOCKET_PORT (#45) 2022-10-18 17:06:03 +02:00
Michiel Borkent
2cb9e7de68 Improve error renderer 2022-08-31 17:28:07 +02:00
Michiel Borkent
ef34e84e59 better location info in error, #33 2022-08-31 14:07:01 +02:00
Michiel Borkent
cf65ffaf20
cljs.pprint (#39) 2022-08-31 13:45:37 +02:00
Ray McDermott
7bf5bc087d
Add promesa (#38)
* Add promesa

* Add promesa
2022-08-30 11:02:11 +02:00
Michiel Borkent
2a93334a43
Browser repl (#24) 2022-05-17 21:07:22 +02:00
Michiel Borkent
c329a1a9d0 A more complete Reagent config, including with-let 2022-02-25 10:39:29 +01:00
Elia Scotto
03f5f0b9a3
Added reagent/create-class (#18) 2022-02-25 09:54:41 +01:00
Michiel Borkent
89a5fd5428 Upgrade to SCI 0.3.0 2022-02-15 11:06:57 +01:00
Michiel Borkent
b5789ed71d Update to newest SCI with print-fn 2021-09-22 23:22:21 +02:00
Michiel Borkent
595d4d3ead [#15] Add println 2021-08-24 09:40:12 +02:00
kloimhardt
f5b014864f
Add cljs-ajax plugin 2021-06-11 14:11:59 +02:00
Michiel Borkent
3991b4868d Load html examples from resources 2021-05-29 20:48:16 +02:00
Michiel Borkent
d673a5f947 Disable arity checks 2021-05-27 12:00:47 +02:00
Michiel Borkent
4fe08dd533 Improve error reporting 2021-05-27 11:35:40 +02:00
Michiel Borkent
62b3f1ad5f auto-eval 2021-05-27 09:55:08 +02:00
Michiel Borkent
4c0892a7a5 hack 2021-05-26 14:07:40 +02:00
Michiel Borkent
97369859dd minor 2021-05-26 14:03:53 +02:00
Michiel Borkent
3e3db8ed6d Remove obsolete code 2021-05-26 14:02:33 +02:00
Michiel Borkent
2bb0552abd x-scittle 2021-05-26 13:01:43 +02:00