The document discusses several techniques for generating abstract syntax trees (ASTs) during syntax-directed translation, including:
1. Using synthesized attributes to build AST nodes recursively according to production rules
2. Implementing these techniques in Yacc by defining node and leaf types and building the AST in action code
3. Eliminating left recursion from grammar rules by introducing marker nonterminals and passing synthesized attributes up the parse tree
4. Generating ASTs with predictive parsers by using inherited and synthesized attributes to pass partial results between nonterminals