Introducing Quil: A Practical Quantum Instruction Set Architecture
medium.com
medium.com
You can see some example code in the paper though: http://arxiv.org/abs/1608.03355
Really great to see people interested. Happy to answer questions in the meantime.