GitHub - pxp-lang/pxp: A superset of PHP with extended syntax and runtime capabilities.

https://github.com/pxp-lang/pxp

I'm wondering what people's thoughts on this project are?

I've had my eye on it for a while and it seems like it'll be to PHP what Typescript is to JS. Which is exiting if we can't get native support for some of these features.

4 points · 3 comments · view on lemmy.world

3 Comments

garam@lemmy.my.id · 1 pts · 3y (1 reply)

https://pxplang.org/features/under-discussion/variable-types.html

If that one approved, I think it's the best thing ever happen to PXP/PHP, because variable types or other are... well... it's needed to keep code clean enough, imho

Thanks for sharing!

zanyhog33@lemmy.jcaks.net · 2 pts · 3y

Yeah it opens a whole new world of possibilities for what we could add to the DX of the language.

AFAIK he's currently working on the language tools for IDE support, which will help a lot in adoption.