https://github.com/genotrance/nimrax
Nimrax is a Nim wrapper for the rax library
https://github.com/genotrance/nimrax
c2nim nim nimble nimgen radix rax tree
Last synced: 8 months ago
JSON representation
Nimrax is a Nim wrapper for the rax library
- Host: GitHub
- URL: https://github.com/genotrance/nimrax
- Owner: genotrance
- License: mit
- Created: 2018-03-09T05:33:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T05:48:41.000Z (over 7 years ago)
- Last Synced: 2025-04-09T16:18:43.200Z (about 1 year ago)
- Topics: c2nim, nim, nimble, nimgen, radix, rax, tree
- Language: Nim
- Size: 2.93 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Nimrax is a [Nim](https://nim-lang.org/) wrapper for the [rax](https://github.com/antirez/rax) library by Salvatore Sanfilippo.
Nimrax is distributed as a [Nimble](https://github.com/nim-lang/nimble) package and depends on [nimgen](https://github.com/genotrance/nimgen) and [c2nim](https://github.com/nim-lang/c2nim/) to generate the wrappers. The rax source code is downloaded using git.
__Installation__
Nimrax can be installed via [Nimble](https://github.com/nim-lang/nimble):
```
> nimble install nimrax
```
This will download, wrap and install nimrax in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.
__Usage__
Module documentation can be found [here](http://nimgen.genotrance.com/nimrax).
```nim
import nimrax/rax
var r = raxNew()
```
__Credits__
Nimrax wraps the [rax](https://github.com/antirez/rax) library and all its licensing terms apply to the usage of this package.
Credits go out to [c2nim](https://github.com/nim-lang/c2nim/) as well without which this package would be greatly limited in its abilities.
__Feedback__
Nimrax is a work in progress and any feedback or suggestions are welcome. It is hosted on [GitHub](https://github.com/genotrance/nimrax) with an MIT license so issues, forks and PRs are most appreciated.