Created
August 21, 2015 21:16
-
-
Save marcioAlmada/0e7d080dd39826309bbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--TEST-- | |
Non delimited layer matching | |
--FILE-- | |
<?php | |
macro { | |
(T_STRING·A ···rest) // matches a lisp form | |
} >> { | |
T_STRING·A(···rest) | |
} | |
(sum 1 (multiply 2 3)) | |
?> | |
--EXPECTF-- | |
<?php | |
sum(1 multiply(2 3)) | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment