listings functionality from Latex

I realise code highlighting is possible using extensions but is it possible introduce functionality similar to listings when using Latex? Possibly using the external references functionally from calc to set up links to a source code file and do code highlighting on the input. The advantage would be that as code changes the document link could be updated. This would make documents largish amounts of code included much easier to handle.

Regards