ocaml-bert /

Filename Size Date modified Message
90 B
3.1 KB
1.6 KB
819 B
5.8 KB
1.5 KB
937 B
986 B
17 B
* types matter

erlang terms - support in ocaml
  integer  o- ok in ocaml
  float    o- ok in ocaml
  atom     x- static, or polymorphic variant?
  list     o- list with polymorphic variant ... maybe supported.
  tuple    o- tuple. maybe supported. difficult problem of types.
  pid      x- not supported or libei supported?!
  ref      x- not supported or translated to some binary
  fun      x- not supported 
  binary   o- just an string, maybe
  port     x- not supported


* interface
  ocaml       erlang
  integer <-> integer
  bignum  <-> integer
  float   <-> flost
  string  <-> atom
  ..... 
  ...

see http://www.erlang.org/doc/apps/erts/erl_ext_dist.html
for erlang binary term format.

overall term format:
1	1	N
131	Tag	Data

compressed term format:
1	1	4	N
131	80	UncompressedSize	Zlib-compressedData


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.