pratphall
pratphall copied to clipboard
A typed language targeting PHP (abandoned)
Hi, I found pratphall very useful. But its source codes are old version of TypeScript (such as using bool instead of boolean). Do you know if there is a way...
Hi, id like to translate this code in PratPhall. But i don't know how to covert the call to a static method Route::get('/', function() { return 'Hello World'; }); Thanks...
One of the biggest problems I can see with this idea, is that JS/TS language semantics are radically different from those of php. The biggest difference seems to be the...
Compiled output should include php-doc annotations for things like function/method-arguments and property-types, where possible - not all types can be documented using php-doc syntax, since TS has type-features not present...
``` path.js:313 throw new TypeError('Arguments to path.resolve must be strings'); ^ TypeError: Arguments to path.resolve must be strings at Object.exports.resolve [as resolvePath] (path.js:313:15) at addUnitAndReferences (/usr/lib/node_modules/pratphall/bin/ppc.js:23777:41) at Array.forEach (native) at...
Easier to manage when it gets big and easier to version. Phalcon PHP is a good example
Probably just prefix the type name w/ a dollar sign I think is best.