A library for manipulating Urbit atoms and auras.
Based on @dclelland's UrsusAtom CocoaPod.
Ursus Atom grants support for the urbit phonetic base, useful for representing Azimuth points ('ships'):
let ship = try! PatP(string: "~lanrus-rinfep")
let point = Int(ship) // 328448
There is an Aura
protocol with an associated type Atom
which can be any UnsignedInteger
type, but in practice we use BigUInt
types.
Current implementations:
PatP
(@p
)PatQ
(@q
)PatUV
(@uv
)
Ursus Atom can be installed using Swift Package Manager by adding this repository's URL to your project's packages:
https://github.com/alecananian/UrsusAtom