A rusty iron gate swinging dismally on its hinges! 
( ( ( A ( rusty ( iron gate ) ) ) ( ( swinging dismally ) ( on ( its hinges ) ) ) ) ! )
(ROOT (NP (NP (DT A) (JJ rusty) (NN iron) (NN gate)) (VP (VBG swinging) (ADVP (RB dismally)) (PP (IN on) (NP (PRP$ its) (NNS hinges)))) (. !)))
The iron gate was rusty and it was swinging.  
( ( ( ( ( The ( iron gate ) ) ( was rusty ) ) and ) ( it ( was swinging ) ) ) . )
(ROOT (S (S (NP (DT The) (NN iron) (NN gate)) (VP (VBD was) (ADJP (JJ rusty)))) (CC and) (S (NP (PRP it)) (VP (VBD was) (VP (VBG swinging)))) (. .)))