{"id":18700914,"url":"https://github.com/rabestro/roman-numerals","last_synced_at":"2025-11-08T22:30:43.000Z","repository":{"id":185021158,"uuid":"671957301","full_name":"rabestro/roman-numerals","owner":"rabestro","description":"A simple solution for roman to arabic numerals converter","archived":false,"fork":false,"pushed_at":"2023-07-31T10:42:33.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-28T05:25:17.326Z","etag":null,"topics":["arabic-numerals","regex","roman-number-converter","roman-numerals","streamapi","tointfunction"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rabestro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-28T14:39:28.000Z","updated_at":"2023-07-31T10:19:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4137b4a-a71a-45e3-9835-7bc3b552f9e6","html_url":"https://github.com/rabestro/roman-numerals","commit_stats":null,"previous_names":["rabestro/roman-numerals"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Froman-numerals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Froman-numerals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Froman-numerals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Froman-numerals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rabestro","download_url":"https://codeload.github.com/rabestro/roman-numerals/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565650,"owners_count":19660154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arabic-numerals","regex","roman-number-converter","roman-numerals","streamapi","tointfunction"],"created_at":"2024-11-07T11:39:46.394Z","updated_at":"2025-11-08T22:30:42.968Z","avatar_url":"https://github.com/rabestro.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Roman to arabic numeral converter\n\nThe repository contains AWK script to convert Roman numbers to Arabic numbers, as well as two Java implementations of the converter.\n\n## AWK script\nThe script is located in the `src/main/awk` directory. It can be run as follows:\n```shell\ngawk -f roman-to-arabic.awk roman_numerals.txt\n```\n\n## Java implementations\nThe Java implementations are located in the `src/main/java` directory.\n\n### Usage\n```java\nvar converter = new RomanToArabicConverter();\n\nvar romanNumerals = Stream.of(\n                \"I\", \"II\", \"IV\", \"V\", \"VI\", \"IX\", \"X\", \"XIII\", \"XV\", \"XL\",\n                \"L\", \"LXXX\", \"XC\", \"C\", \"CD\", \"D\", \"CM\", \"M\", \"MDCCCLXXXIV\");\n\nvar arabicNumerals = romanNumerals.mapToInt(converter).toArray();\n\nassertThat(arabicNumerals).containsExactly(\n                1, 2, 4, 5, 6, 9, 10, 13, 15, 40,\n                50, 80, 90, 100, 400, 500, 900, 1000, 1884);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabestro%2Froman-numerals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frabestro%2Froman-numerals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabestro%2Froman-numerals/lists"}