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 spec for comments. #18

Closed Kampfkarren closed 7 years ago

Kampfkarren commented 7 years ago

Single line comments are already established in example code as starting with //#* .

I say we take after Python, and not have official multi-line comments at all. Whether we allow multi-line strings (a la Python) or just tell programmers to use multiple single comments is up to the committee.

Boscillator commented 7 years ago

I think you should go ahead an add single-line comments to the spec. We can always edit the file to allow multi-line if we feel it's necessary.

Kampfkarren commented 7 years ago

Sounds good, I will form a document for this now.