CFG to Parse Roman Numerals

Any hint on how to write a context-free grammar for Roman numerals? I know that

are the letters used in Roman numerals. Moreover, there is enough information about Roman numerals here.

Published: 2005-09-08

Created with Emacs 31.0.50 (Org mode 9.7.11)