P4 language tutorials
Save it for my convenience The latest p4 tutorial
Make sure that you edit env.sh to point to your local copy of bmv2 and p4c-bm. You may want to follow the instructions here to make sure that your environment is setup correctly.