vyvee / ndom-cardinal-number

Ndom Cardinal Numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Ndom Cardinal Numbers

License:MIT License


Languages

Language:Yacc 39.5%Language:C 37.6%Language:Makefile 11.2%Language:Lex 9.0%Language:C++ 2.6%