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

Term Serialization between Elixir and JavaScript #373

Open
2 tasks
bryanjos opened this issue Aug 28, 2017 · 4 comments
Open
2 tasks

Term Serialization between Elixir and JavaScript #373

bryanjos opened this issue Aug 28, 2017 · 4 comments

Comments

@bryanjos
Copy link
Collaborator

bryanjos commented Aug 28, 2017

I think this can be accomplished by implementing

These are listed in #306 but I think they are big enough to have their own issue

Documentation on the Erlang Term Format is here

I have seen libraries in npm that do encoding and decoding, but ElixirScript needs implementations that resolve to the classes it has for Tuples, PIDs, Bitstrings, etc

@OvermindDL1
Copy link

Adding map support would not be hard. The Erlang Term Format is very well documented and easy to parse.

@OvermindDL1
Copy link

Could just use the ETF straight.

@bryanjos
Copy link
Collaborator Author

I agree ETF is probably best. Is this the documentation? http://erlang.org/doc/apps/erts/erl_ext_dist.html

@OvermindDL1
Copy link

That is it precisely. :-)

There are a couple javascript libraries around that parse it too of various completion.

@bryanjos bryanjos added this to the 0.32.0 milestone Oct 21, 2017
@bryanjos bryanjos removed this from the 0.32.0 milestone Nov 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants