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 variables #22

Closed Kampfkarren closed 7 years ago

Kampfkarren commented 7 years ago

Variables

This PR implements parts of #10.

This specification requires the addition of variable declaration and the new and del commands. Note the reference of null, this should be added to a later spec. Should it be in a spec of its own or this one?

Kampfkarren commented 7 years ago

Once #23 is figured out, I will append this specification to explain rules on scoping.

ghost commented 7 years ago

We need a whole separate PR on nill, null, nothing etc. I believe a redditor has made suggestions on that, I'll see if I can find the comment.