Sample Tasks for SPSC

June 24, 2017 ยท View on GitHub

Note that the same tasks are accessible in "live" form via the SPSC web-interface.

SampleDescription
SampleAbAbTransforming a 2-pass algorithm to a 1-pass one.
SampleAppendAppendTransforming a 2-pass algorithm to a 1-pass one for binary functions.
SampleEq2Transforming a binary function into a unary one.
SampleEqTheSameSPSC "proves the theorem" that "X=X cannot be false".
SampleMemberFirstArgThe member function specialized with respect to the 1st argument.
SampleMemberSecondArgThe member function specialized with respect to the 2nd argument.
SampleMemberSupercompiled programs may be "flatter" than the original ones.
SampleNotOrNotEliminating control structures.