https://github.com/emmiegit/libroman
Simple and small roman numeral library written in ANSI C.
https://github.com/emmiegit/libroman
Last synced: about 1 year ago
JSON representation
Simple and small roman numeral library written in ANSI C.
- Host: GitHub
- URL: https://github.com/emmiegit/libroman
- Owner: emmiegit
- License: mit
- Created: 2017-01-16T12:22:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-17T22:04:32.000Z (over 3 years ago)
- Last Synced: 2025-02-05T01:26:39.816Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## libroman
A simple, small roman numerals library in C. It has no dependencies and only requires an ANSI C compiler and appropriate header files.
### Compilation
Use GNU Make to build the sources:
```
$ make
```
There should now be several binaries:
* The static library `libroman.a`
* The dynamic library `libroman.so` (`.dylib` on Mac)
* The sample executable `roman`
### Usage
The `roman` binary takes one or more values as arguments. Any numeric arguments (e.g. "23" or "-101") are converted to their roman numeral forms, and any other strings are converted from roman numeral form to standard arabic numbers.
The API is documented in the man pages provided.
### License
[MIT](LICENSE)