Skip to content

vyvee/ndom-cardinal-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ndom Cardinal Numbers

Convert Ndom cardinal numbers to Arabic numerals, and vice versa.

The Ndom language is spoken by about 1,200 people on Yos Sudarso Island in Papua province, Indonesia. It has numbers in senary (base 6).

The code uses Flex and Bison to parse Ndom cardinal numbers. It is actually not difficult to implement handwritten lexer and parser here, but I have purposely used Flex and Bison here to try out and demonstrate the following features:

  • Reentrant scanner with Flex
  • Reentrant parser with Bison
  • Generalized LR (GLR) parser with Bison

For quick start, you can find a list of Ndom cardinal numbers here.

References