The Bridge is a novel published in 1986. The book switches between three protagonists, John Orr, Alex, and the Barbarian. It is an unconventional love story.
The three main characters represent different elements of the protagonist. Alex (full name hinted to be Alexander Lennox, but never explicitly named), John Orr and The Barbarian are one.
Alex is a real person, born in Glasgow, who studied geology and engineering at the University of Edinburgh, fell in love with Andrea Cramond while there, and has continued their (open) relationship ever since.
John Orr is an amnesiac living on the Bridge, a fictional version of the rail bridge, hundreds of miles long and packed with people.
The Barbarian is an id-ish warrior with a superego-esque familiar in tow (phallic symbolism is referenced by the familiar within a few pages of their first appearance) whose hack-and slash antics through various parodies of Greek legends and fairy tales are phonetically rendered in Scots dialect (seven years before Irvine Welsh used the technique in Trainspotting). The Barbarian (along with his loquacious familiar) are a deep expression of Alex's character; when Orr's dreams are not themed around threat and opposition he dreams he is the Barbarian.