On Thursday, Hartmut demonstrated how the Phylanx project implements primitives by creating an add “primitive” example independent Phylanx. He started with an empty file and built a small model of Phylanx which exposes the key functions of “real” Phylanx primitives. In addition, Hartmut explains the HPX facilities used in the demonstration including hpx::future and hpx::dataflow. You can find links to the seminar materials below:
Seminar Video: https://youtu.be/htRZO70T5F4
Source Code: http://stellar.cct.lsu.edu/files/phylanx_seminars/09.06.18_seminar_primitives_v2/primitive.cpp