Source

C Earley Parser / README

this parser is an implementation of earley algorithm 

The grammar is programmaticaly generated so you have to write 
a parser or something to be able to change easly all the thing. Current setup
generate two parse tree for the next phrase : « la petite ferme le voile </S> ».
Don't mind the </S> but don't forget it as it's the end character. 

This work has been done as part of the macaon software suite effort, check out 
the other tools at : http://pageperso.lif.univ-mrs.fr/~alexis.nasr/macaon/index.html.

You may also be intereste by a Python version of this program https://bitbucket.org/abki/python-earley-parser/overview

my email : amirouche.boubekki[at]gmail[point]com