btwael / mammouth

Unfancy PHP
http://mammouth.boutglay.com
MIT License
214 stars 22 forks source link

There is no SELF? #62

Closed webarthur closed 8 years ago

webarthur commented 8 years ago

{{ class MyClass static teste = null func teste -> return SELF..$teste }}

Becomes

<?php class MyClass { static $teste = null; function teste() { return $SELF::$teste; } } ?>

http://mammouth.wamalaka.com/#try:%7B%7B%0A%0Aclass%20MyClass%0A%20%20static%20teste%20%3D%20null%0A%20%20func%20teste%20-%3E%0A%0A%20%20%20%20return%20SELF..%24teste%0A%0A%7D%7D

btwael commented 8 years ago

Working on this!

webarthur commented 8 years ago

Ok. I really like coffeescript style and I will try work with mammouth in small projects. I loved it and I want to see this project growing up. I will probably bring some issues in the next days.

btwael commented 8 years ago

@webarthur Thank you very much, I'm doing all my best to keep this project alive :+1:

btwael commented 8 years ago

This is fixed now, try it (only in github master version)