Skip to content

A library for manipulating Urbit atoms and auras.

License

Notifications You must be signed in to change notification settings

alecananian/UrsusAtom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ursus Atom

A library for manipulating Urbit atoms and auras.

Based on @dclelland's UrsusAtom CocoaPod.

Usage

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)

Installation

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

Other utilities

Dependencies

About

A library for manipulating Urbit atoms and auras.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%