etf
ETF (Erlang Term Format) library for nim
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:25 |
Tags
Installation
nimble install etf
choosenim install etf
git clone https://github.com/metagn/etf
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| etf | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/metagn/etf |
|---|---|
| Homepage | https://github.com/metagn/etf |
| Registry Source | nimble_official |
README
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