Fixes #102. The following major language changes are required to support PHP:
Parameters and variables must have a $ at the beginning of their name when output in PHP - so a variable command must be used to refer to them (adding a parameter equivalent seems unnecessary for now)
Sets may only contain numbers or strings (😢), as PHP arrays can only have number or string keys, and the potential SPL SplObjectStorage class and spl_object_hash function don't support those number or string literals
A later extension could add the concept of an "object" set and rename this one to "literal", to differentiate the two...
Fixes #102. The following major language changes are required to support PHP:
$
at the beginning of their name when output in PHP - so avariable
command must be used to refer to them (adding aparameter
equivalent seems unnecessary for now)Set
s may only contain numbers or strings (😢), as PHP arrays can only have number or string keys, and the potential SPLSplObjectStorage
class andspl_object_hash
function don't support those number or string literals