Skip to content

virtan/cppei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CPPEI

// under development

C++ bindings for EI (Erlang Interface)

Example:

using namespace std;
using namespace cppei;

int main() {
    cint >> length4;
    cout << length4;
    while(true) {
        term_t t;
        cin >> t;
        atom_t a("service_1");
        binary_t b;
        if(tuple(a, b) = t) {
            cout << tuple(atom_t("echo"), b);
        }

    }
}

About

C++ erlang term format interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages