it looks like one can choose auto-translate on the subtitles -- not sure how good the results are....
Maybe it would be better if I record an English version ;)
that'd be neat, but it seems like that would be a fair bit of work
When I run evaluate-block
or evaluate-top-block
with the cursor next to a set literal, it doesn't seem to send the #
character recognizing it as a map instead.
Is this a known issue or am I doing something wrong?
When I select the entire set and run evaluate-selection
, it works as expected.
It is a known issue. I'm trying to make a new way to detect the current form (it currently uses the Atom editor's API, which is not aware of sets) but so far its not working yet
My best bet now is rewrite-cljs
, as every other library I tried to use failed 😞
I guess the same applies to derefs, reader conditionals etc.?
(`@(future…`, #?(:clj …
)
At least there's the workaround of evaluate-selection
...
Yeah, that’s what I do for these things. To be fair, proto-repl couldn’t handle it either.
(and if you're using REBL and have my atom-chlorine-setup
in place, there's a corresponding inspect-selection
🙂 )
Yes, the same happens, unfortunately. I'm hoping some library can solve this, because I really don't want to write a "simple-parser" for this problem 😱
(because it seems it is not be a "simple parser" at all)
@jaihindhreddy I think I got a version of the parser working already 🙂
It's here, if you want to use any part of my code to help on your parser too: https://github.com/mauricioszabo/repl-tooling/pull/31/files
have not used rewrite-cljs, but rewrite-clj has been great. iiuc, the former was forked from the latter and there is someone working on merging the two -- there is also #rewrite-clj where both are on-topic
I think I found a way to use rewite-cljs. I became confused (and dismissed rewrite-cljs on the past) because the API of both are a little bit different, so I though they didn't implement what I need.
For anyone interested, this is the beginning of the fix for derefs, reader conditionals, etc. I'll need to add more tests to check for all the cases: https://github.com/mauricioszabo/repl-tooling/commit/7766267f584b1c0251b1679d675902c6877dd6f8, but I think it's a good start (at least, the code became easier to understand and all existing tests are passing :D)