Coder Social home page Coder Social logo

Comments (6)

bbatsov avatar bbatsov commented on August 27, 2024

Btw, maybe we should get @cemerick involved in the discussion as well.

Personally, I don't have a problem with returning the arglists as a string. We use it as a string in the client, anyways...

from cider-nrepl.

tpope avatar tpope commented on August 27, 2024

Yes, I have been using arglists-str only, so I don't have stake in the structured representation.

from cider-nrepl.

cemerick avatar cemerick commented on August 27, 2024

I'm not really clear on the context/problem here (just due to my lack of familiarity w/ elisp, cider itself, etc), but yes, bencode keys must be (byte) strings. This is ensured here in nREPL itself:

https://github.com/clojure/tools.nrepl/blob/master/src/main/clojure/clojure/tools/nrepl/transport.clj#L28

Are you needing to bencode manually/directly at all, rather than just using transport/send?

from cider-nrepl.

gtrak avatar gtrak commented on August 27, 2024

Nah, we're relying on transport/send, this just means we can't expect
to send arbitrary edn data over, (that would've been nice :-)

On Friday, May 16, 2014, Chas Emerick [email protected] wrote:

I'm not really clear on the context/problem here (just due to my lack of
familiarity w/ elisp, cider itself, etc), but yes, bencode keys must be
(byte) strings. This is ensured here in nREPL itself:

https://github.com/clojure/tools.nrepl/blob/master/src/main/clojure/clojure/tools/nrepl/transport.clj#L28

Are you needing to bencode manually/directly at all, rather than just
using transport/send?


Reply to this email directly or view it on GitHubhttps://github.com//issues/61#issuecomment-43381208
.

from cider-nrepl.

cemerick avatar cemerick commented on August 27, 2024

Yeah, OK. There's technically no reason why an EDN transport couldn't be assembled, but the advantages vs. tool incompatibility probably isn't worth it. Kind of surprised someone hasn't implemented it yet regardless.

from cider-nrepl.

bbatsov avatar bbatsov commented on August 27, 2024

@gtrak I've updated the Elisp code to use arglists-str.

from cider-nrepl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.