Hello, I understood where I write the rules of transition, and when I write the file X.g , I write the rules of lexer and parser just for a language A or the rules of both languages? Please answer me. Thanks.