PyHP-pph / PyHP_pph

This repository serves as a centre for collaboration on the PyHP++# language. It will also include a functioning interpreter and compiler for PyHP++# once the standard is finalised.
https://www.reddit.com/r/PyHP_pph/
GNU Affero General Public License v3.0
23 stars 3 forks source link

Add specification for strings #28

Closed Kampfkarren closed 7 years ago

Kampfkarren commented 7 years ago

Strings

This specification requires the addition of strings and chars. Note that topics such as string concatenation, formatting, etc are not mentioned as, in true PHP fashion, they should be their own functions in the global namespace.

ghost commented 7 years ago

topics such as string concatenation, formatting, etc are not mentioned

These should be available to strings with double quotes and not to strings with single quotes. To make this less impossible when creating a CIC, there should be two types: single-string and double-string.