doc: Copied spec and added AST example pic.