Using T4P4S and P4 on Ubuntu

Need some help in using T4P4S and P4 to make a L3 switch connecting wlan and eth on a ubuntu server. Would be helpful if you could also point me to sample P4 code to this switch that I intend to implement. Thank you for help!