I have been using EDEP for the past week with the Semantic version built in Emacs 24.5 and more recently with CEDET 2.0 because of its greater parser debugging capabilities.
Your grammar has only had a few hiccups in a couple of files that used var instead of public, besides that it has been churning code all day, every day, like nothing.
Anyway, the first thing that caught my eye about EDEP is the lack of include tags :)
As I was playing about with SemanticDB, I've immediately noticed that I could get EDEP to emit includes with the simple change of USEDECL to INCLUDE-TAG
use_declaration
: namespace_name (INCLUDE-TAG $1 nil)
| namespace_name T_AS T_STRING (INCLUDE-TAG $1 nil :alias $3)
| T_NS_SEPARATOR namespace_name (INCLUDE-TAG $2 nil)
| T_NS_SEPARATOR namespace_name T_AS T_STRING (INCLUDE-TAG $2 nil :alias $4)
;
You clearly know what you are doing, so I figure you know already about the macro INCLUDE-TAG.
I would like to know what's your rationale for not using the built-in macro for it cannot be as simple a fix like I suggest above.
As far as I understand PHPTags is there to reproduce some of the SemanticDB functionality without the need to give SemanticDB knowledge about the project files through EDE. Perhaps this is why you opted for a custom macro?
Real good work @jorissteyn. I'm really enjoying using EDEP thank you very much for it.
P.S.: this is very much related to php-mode issue #235, I will be replying to that thread next weekend.
I have been using EDEP for the past week with the Semantic version built in Emacs 24.5 and more recently with CEDET 2.0 because of its greater parser debugging capabilities.
Your grammar has only had a few hiccups in a couple of files that used
varinstead ofpublic, besides that it has been churning code all day, every day, like nothing.Anyway, the first thing that caught my eye about EDEP is the lack of include tags :)
As I was playing about with SemanticDB, I've immediately noticed that I could get EDEP to emit includes with the simple change of
USEDECLtoINCLUDE-TAGYou clearly know what you are doing, so I figure you know already about the macro
INCLUDE-TAG.I would like to know what's your rationale for not using the built-in macro for it cannot be as simple a fix like I suggest above.
As far as I understand PHPTags is there to reproduce some of the SemanticDB functionality without the need to give SemanticDB knowledge about the project files through EDE. Perhaps this is why you opted for a custom macro?
Real good work @jorissteyn. I'm really enjoying using EDEP thank you very much for it.
P.S.: this is very much related to php-mode issue #235, I will be replying to that thread next weekend.