/roman

Simple roman numerals parser.

Primary LanguageYaccMIT LicenseMIT

Roman

A simple roman numeral converter to indo-arabic numbers. It uses a simple grammar done mainly for practice.

Usage

Nix Flake

Building

git clone https://github.com/rafaelrc7/roman
cd roman
nix build
echo "III" | ./result/bin/roman
./result/bin/roman < file

Linux

Build Dependencies

  • Bison
  • Flex
  • Make
  • GCC

Building

git clone https://github.com/rafaelrc7/roman
cd roman
make

Usage

echo "III" | ./roman
./roman < file