> I agree that the current format is very easy to parse for a human, which > is a benefit. I am struggling to have a machine parse this though. You need a lexer. Here's a simple lexer for you: https://www.irif.fr/~jch/software/babel/babel-lexer.c -- Juliusz