Clojure-flavoured PHP
Frock is Clojure-flavoured PHP.
“If you want to produce free-as-in-whatever code that runs on virtually every server in the world with zero friction or configuration hassles, PHP is damn near your only option. If that doesn’t scare you, then check your pulse, because you might be dead.” Jeff Atwood, 2012
curl https://chr15m.github.io/frock/frock.php > frock.php
chmod 700 frock.php
$ echo '(println "hello world!")' > hello.clj
$ ./frock.php hello.clj > hello.php
$ php hello.php
hello world!
Then php -S 0.0.0.0:8000 & browse to http://localhost:8000/hello.php.
See the examples folder and the tutorial folder.
Please see this note about security.
Most of the code here comes from the Make-a-LISP project. The project and the PHP port were both built by Kanaka.
The only original thing this repository brings is a system for building mal-php code into a distributable artifact.
https://chr15m.github.io/frock-clojure-flavoured-php.html
Frock might be interesting to you if:
Too many to list here. :joy: