...
Extending the BaseLanguage screencast by Konstantin Solomatov
This screencast shows how BaseLanguage can be extended with a new kind of statement. Among other things it It also gives an example of adding of a custom typesystem and control-flow analysis to your language.
ToDo: nice to have the sample project attached