1
vote
0answers
42 views

Algorithmic noun plural

I'm looking for an (implementation of) a command (here \plural) that computes the plural of a noun. The algorithm should work as follows: for most cases, simply add s at the end (example: bag -> ...
48
votes
4answers
3k views

Is there a BNF grammar of the TeX language?

I'm looking for a BNF grammar of the TeX language, does it exist?