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

There should be a list of builtin functions #19

Open Kampfkarren opened 7 years ago

Kampfkarren commented 7 years ago

We can either take after PHP and have thousands of inconsistently named builtin functions or be like Python and have a small amount of builtins with imports handling the rest. If we truly want this language to be shitty fantastic, I suggest taking the former option.

ghost commented 7 years ago

I agree. We should take the PHP approach and put the entire standard library into the global namespace by default (possibly with no option to disable it).

Kampfkarren commented 7 years ago

Perhaps we can use this issue as a place to suggest builtins until they are in a formal specification?

ghost commented 7 years ago

We should just have a bunch of specification files so the inconsistency can truly prevail.