Initial commit of compile-snippets script