GSoC/GCI Archive
Google Code-in 2013 Apertium

Write a bison grammar to output input tokens in the same order as they are input

completed by: Dalimil Hájek

mentors: Mikel L. Forcada, Francis Tyers, Kirill Krylov

The idea is to write the code for a bison grammar (.y file) that outputs input tokens in the same order that they are input.

 

This will probably involve writing the data structure for an abstract syntax tree (AST). The parser will parse into the AST and then output depth first.

 

Contact your mentor on IRC: irc.freenode.net #apertium for information about the format of input tokens.