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

Replace edn.el with clj-parse #9

Open
plexus opened this issue Jul 2, 2017 · 2 comments
Open

Replace edn.el with clj-parse #9

plexus opened this issue Jul 2, 2017 · 2 comments

Comments

@plexus
Copy link
Owner

plexus commented Jul 2, 2017

Currently incoming unrepl messages are parsed with edn.el. This is problematic because edn.el tries to parse them to Emacs data structures, which isn't able to represent all of Clojure's data structures.

This requires more work on clj-parse though.

To illustrate some of the issues

unrepl.replG__8=> (fn [])
#unrepl/object [(TAGGED1337 unrepl.java/class unrepl.replG__8$eval368$fn__369) "0x67d4a54c" "unrepl.replG__8$eval368$fn__369@67d4a54c" {:bean {(TAGGED1337 unrepl/... {:get (unrepl.replG__8/fetch :G__372)}) (TAGGED1337 unrepl/... nil)}}]
unrepl.replG__8=> #{}
(edn-set nil)
unrepl.replG__8=> false
nil
unrepl.replG__8=> 
@bbatsov
Copy link

bbatsov commented Jul 7, 2017

The other problem is that edn.el depends on a totally unmaintained library available only on EmacsWiki...

This requires more work on clj-parse though.

What's this? Some new Emacs Lisp library?

@plexus
Copy link
Owner Author

plexus commented Jul 7, 2017 via email

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

2 participants