pharen: a lisp to php compiler
http://scriptor.github.com/pharen/
(fn greet-person (name)
(. "Hello " name "!"))
(echo (greet-person "visitor"))
<?php
function greet_person($name){
return "Hello " . $name . "!";
}
echo greet_person("visitor");
?>
Written by francesco agati
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#