Skip to content

metagn/etf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etf

ETF (Erlang Term Format) library for Nim.

import etf

block:
  let t = term({
    binary("op"): term(2u8),
    binary("d"): term({
      binary("token"): binary("abc"),
      binary("large_threshold"): term(250i32),
      binary("properties"): term({
        binary("$os"): binary(hostOS),
        binary("$browser"): binary("Nim"),
        binary("$device"): binary("Nim")
      })
    })
  })

  assert parseEtf(toEtf(t)) == t

About

ETF (Erlang Term Format) library for nim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages