Giter Club home page Giter Club logo

erlang_v's Introduction

Erlang External Term Format on V

Provides an Erlang External Term Format for V.

erlang doc: http://erlang.org/doc/apps/erts/erl_ext_dist.html.

Motivation

The library is core of Lx lang to compiles code to BeamVM, futhermore will be possible to create compatible macros within.

The Library Erlang Terms

  • ErlAtom
  • ErlAtomCacheRef
  • ErlAtomUTF8
  • ErlBinary
  • ErlBoolean
  • ErlFloat
  • ErlFunction
  • ErlInteger32
  • ErlInteger8
  • ErlIntegerBig
  • ErlList
  • ErlMap
  • ErlNil
  • ErlPid
  • ErlPort
  • ErlReference
  • ErlString
  • ErlTuple

The main functions

  • binary_to_term( []u8 ) Term
  • term_to_binary( Term ) []u8
  • int_to_term( int ) Term
  • i64_to_term( i64 ) Term
  • atom_to_binary( ErlAtom ) []u8
  • string_to_binary( string ) []u8
  • float_to_binary( f64 ) []u8
  • old_float_to_binary( f64 ) []u8 // compatibily purposes
  • integer8_to_binary( i8 ) []u8
  • integer32_to_binary( int ) []u8
  • integer_big__to_binary( math.big.Integer ) []u8
  • nil_to_binary() []u8

Execute tests

Execute the follow command $ v test .

erlang_v's People

Contributors

andridus avatar

Stargazers

Victor Dantas avatar ylluminate avatar

Watchers

 avatar

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.