Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support conditional readers #75

Closed
mcuervoe opened this issue Apr 21, 2024 · 0 comments
Closed

Support conditional readers #75

mcuervoe opened this issue Apr 21, 2024 · 0 comments

Comments

@mcuervoe
Copy link

Scittle does not currently support conditional readers; that is, you can not load .cljc files with #?(:cljs ...) expressions. The conditional readers seem to have been filtered out when you execute the code in the browser.

To test it, replace any ccojureScript expression with #?(:cljs expression), for example

replace ;(js/alert "You clicked!") with #?(:cljs (js/alert "You clicked!"))

The net result should be the same if conditional readers work as expected.

@borkdude , thanks as always for such great tools you build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant