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

Babashka support #21

Open
borkdude opened this issue Feb 3, 2023 · 1 comment
Open

Babashka support #21

borkdude opened this issue Feb 3, 2023 · 1 comment

Comments

@borkdude
Copy link

borkdude commented Feb 3, 2023

I'm currently working on better reader tag support in babashka. In the next release tags in data_readers.clj(c) will be automatically picked up, whereas before you had to set them manually by manipulating *data-readers*.

I tested that new feature using this library: https://twitter.com/borkdude/status/1621594481605615618

The output for babashka in this lib currently isn't great yet (it prints an implementation namespace of bb), but I think we could make it just output the namespace and line info:

user=> #p [1 2 3]
#p[script:12] [1 2 3]

Requesting a stacktrace at the point of execution isn't well supported in SCI / bb yet (this may come in the future, but that's going to take a while), but there's other ways of getting the above simplified output.

If there's any interest, I can look into improving this output.

@borkdude
Copy link
Author

borkdude commented Feb 5, 2023

The data_reader.clj(c) support has been released now.

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