PyHP_pph icon indicating copy to clipboard operation
PyHP_pph copied to clipboard

PHP-style code wrapping

Open as-com opened this issue 8 years ago • 2 comments

In PHP, only code wrapped within <?php ... ?> will be run; the stuff outside is printed verbatim. PyHP++# should have similar behavior.

as-com avatar Jun 17 '17 21:06 as-com

Agreed. This will also make the PyHP++# "Hello, world!" very simple, making this masterpiece of a language more inviting to newcomers.

Kampfkarren avatar Jun 17 '17 21:06 Kampfkarren

Plus, it means that any program that doesn't contain a <?pyph++# ... ?> (why not use the actual symbols?) tag is automatically a quine!

ghost avatar Jun 22 '17 19:06 ghost