Comments (4)
Hi!
Did you take a look at erlport project?
It has fully tested drivers for ruby and python (similar to your erlang_py and erlang_rb).
from termformat.
Yes, I am aware that erlport exists. I wanted to make sure and have a common dependency for the erlang binary term format in a single module, which does happen to be similar to https://github.com/hdima/erlport/blob/master/priv/python2/erlport/erlterms.py, https://github.com/hdima/erlport/blob/master/priv/python3/erlport/erlterms.py, https://github.com/hdima/erlport/blob/master/priv/ruby1.8/erlport/erlterms.rb, and https://github.com/hdima/erlport/blob/master/priv/ruby1.9/erlport/erlterms.rb . However, I wanted to keep the python and ruby code more similar than they are within erlport and keep the term format handling separate from Erlang port usage, so it can be more reusable. The goal with erlang_py and erlang_rb is to have something that is easier to maintain and modify as more things are added to the erlang binary term format with future erlang releases, while not sacrificing efficiency. Compatibility would be handled within a single module to avoid replicating the code, so unfortunately these pursuits don't align themselves with erlport (i.e., no motivation to use different code or have the project change), though it may benefit from some of the same tests.
from termformat.
Uh, good idea.
Unfortunately, i can't merge termformat into your project, because it was written specially for use with BERT-RPC, which uses only basic set of erlang terms (checkout specification).
So i don't need to cover many unused (in BERT) things like references or ports. This keeps code more simple.
from termformat.
Well keep it in mind, you could also try using erlang_py in your project. Just trying to make stuff a bit less fragmented to avoid all the duplicated effort as the binary erlang term format is added to.
from termformat.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termformat.