I found a really straight forward approach on this project
https://code.google.com/p/cykparser/downloads/list
Unlike other CYK parsers that go through unnecessary validation of the grammar. This parser is a really good proof of concept that just implements the CYK algorithm with basic grammar.
The code is in python.