5 ms·
Interesting that it contains a PHP-based build system https://pluto-lang.org/docs/Getting%20Started#php-scripts https://pluto-lang.org/docs/Getting%20Started#ph
by whalesalad 3y ago
Interesting that it contains a PHP-based build system https://pluto-lang.org/docs/Getting%20Started#php-scripts https://pluto-lang.org/docs/Getting%20Started#php-scripts
- mdaniel 3y ago"Interesting" is not the word I would use for that Where does `$file` come from in `for_each_obj` <https://github.com/PlutoLang/Pluto/blob/0.8.0/scripts/compile.php#L7-L11 https://github.com/PlutoLang/Pluto/blob/0.8.0/scripts/compil...> ... from `scandir` of "src" of course: https://github.com/PlutoLang/Pluto/blob/0.8.0/scripts/common.php#L56-L65 https://github.com/PlutoLang/Pluto/blob/0.8.0/scripts/common... Here's hoping you didn't want to alter the intermediate output directory away from "int" or change the CPPFLAGS for your own setup I'm certainly no php ninja, but I'd put good money that a similarly homegrown bash build system would be about an equal number of lines of code but 1/10000th the WTF and not require an apt-get install before trying to contribute to the project
- cardanome 3y agoAs a PHP dev, even I am perplexed by this. I normally just use Bash. Then again, writing maintainable Bash is a pain so I don't totally hate it. Definitely have wrestled with a fair share of write-only Bash scripts where I was tempted to rewrite them in PHP.
- winrid 3y agoGood Python or even PHP is eons better to work with than Bash.