Usually I hate it when APIs break. TMF 0.8 introduces a different scoping API than Xtext 0.7. It took me a while to figure out. So I’ll show the changes below:
Component :
   “component” name = ID “{”
   (ports+=Port)*
   “}”;
Port :
   “port” dir=Direction name=ID “:” ref=[Interface|ID] “;”
   ;
enum Direction :
   IN=”in” | OUT=”out”;
Instance:
   “instance” name=ID “:” [...]