Add CompileResultWithTemplate function
Merge pull request #27 from tatsushid/feature/compile-with-template

Add CompileResultWithTemplate function