Altogether, our pilot study shows promising results.
For small files, using a parser generator seems feasible, even when crudely porting the parser to JavaScript.
Memory usage is acceptable, and would make it feasible even for use with current mobile devices such as tablets, which at this point typically have roughly about 256 MB RAM.