Dear Internals

At the moment I'm very inspired by functional programming languages
such as SML and especially scala. I would like to create and
alternative PHP syntax, just for fun nothing serious, inspired by
these languages. I've managed to compile PHP with debug stuff turned
on and found some files called zend_language_scanner.l,
zend_language_parser.y and did succed with creating an alias for
"function" called "def". I now wanted to change the function
definition into something more scala looking:

def max($x, $y) = {
  if ($x > $y) return $x else return $y
}

but got completely stuck.

I realised all of a sudden that I really don't understand anything
about what is going on in these files. Not even enough to ask good
questions. What should I do/read/study/buy/etc... ????

Thx in advance from a very confused dude that is in way over his head
Rune Kaagaard
Denmark

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to