I am trying to build a Programming language identifier from a small code snippet. 

The data is a hurdle.

If you know a good data source as well as any prominent work in this topic do help me out reaching them. 
Thanks in advance.