It seems all scripting languages like PHP ,Perl doesn’t build any syntax tree,but interpret it directly(no separate syntax parsing & code generation):
https://svn.php.net/repository/php/php-src/trunk/Zend/zend_language_parser.y
is there any popular interpretive language that first generates the Syntax tree when parsing at all?
The information you have regarding Perl is incorrect:
(Source: perl wikipedia page.)
You’ll find information about modules you can use to visualize that syntax tree in the Core modules documentation.