Question: What 1977 film written and directed by Claude Chabrol is loosely based on a novel by the author of the poem "Jabberwocky"?

Context paragraphs:
Innocents with Dirty Hands: Innocents with Dirty Hands a.k.a. Dirty Hands.  is a 1975 film written and directed by Claude Chabrol.  Its title in French is Les innocents aux mains sales.  The film was based on the novel "The Damned Innocents" by Richard Neely.  The film had 553,910 admissions in France.

Web of Passion: Web of Passion (also released as Leda, original French title: À double tour) is a 1959 French suspense thriller film directed by Claude Chabrol and based on the novel "The Key to Nicholas Street" by American writer Stanley Ellin.  It was Chabrol's first film in the thriller genre, which would be his genre of choice for the rest of his career.  The film had a total of 1,445,587 admissions in France.

Chicken with Vinegar: Chicken with Vinegar (French: Poulet au vinaigre ) is a 1985 French crime film directed by Claude Chabrol.  It was entered into the 1985 Cannes Film Festival.  It is distributed in the USA with the title "Cop Au Vin".  Chabrol made a sequel in 1986 entitled "Inspecteur Lavardin".

Bellamy (film): Bellamy — known as Inspector Bellamy in the U.S. — is a French murder mystery film released in 2009.  It is the last film of celebrated French director Claude Chabrol (who died the following year) and the only time he worked with star Gérard Depardieu.  Chabrol said in an interview that the film is like a "novel that Simenon never wrote", a kind of "Maigret on vacation".

Hell (1994 film): L'Enfer ("Hell") is a 1994 French film directed by Claude Chabrol.  It was adapted by Chabrol from the screenplay by Henri-Georges Clouzot for the unfinished film "L'Enfer", which Clouzot began shooting in 1964 but was unable to complete.  The producer of Chabrol's film was Marin Karmitz and the leading actors were Emmanuelle Béart and François Cluzet.

Alice or the Last Escapade: Alice or the Last Escapade (French: "Alice ou la dernière fugue" ) is a 1977 film written and directed by Claude Chabrol.  The film is very loosely inspired by "Alice's Adventures in Wonderland" by Lewis Carroll, including the protagonist's name being Alice Carroll (a combination of the Alice character and the author's pseudonymous surname).

Pleasure Party: Une partie de plaisir (A Piece of Pleasure) is a 1975 French film directed by Claude Chabrol and starring its screenwriter and longtime Chabrol collaborator Paul Gégauff.  In the film, Gégauff plays a writer with a troubled marriage that ends in tragedy.  (In 1983, Gégauff was stabbed to death in real life by his second wife.)  In this film, his wife is played by his real-life first wife Danièle Gégauff (already divorced when this film was made) and his daughter is played by real life daughter Clemence Gégauff.

Lewis Carroll: Charles Lutwidge Dodgson ( ; 27 January 1832 – 14 January 1898), better known by his pen name Lewis Carroll ( ), was an English writer, mathematician, logician, Anglican deacon, and photographer.  His most famous writings are "Alice's Adventures in Wonderland", its sequel "Through the Looking-Glass", which includes the poem "Jabberwocky", and the poem "The Hunting of the Snark", all examples of the genre of literary nonsense.  He is noted for his facility at word play, logic and fantasy.  There are societies in many parts of the world dedicated to the enjoyment and promotion of his works and the investigation of his life.

The Champagne Murders: The Champagne Murders (French: Le scandale ) is a 1967 French suspense thriller mystery film directed by Claude Chabrol and starring Anthony Perkins.  It was the first of two films that Chabrol made with Perkins, who is most famous for his role in "Psycho" directed by Alfred Hitchcock, whom Chabrol admires above all other directors.

Le Beau Serge: Le Beau Serge (] , meaning "Handsome Serge") is a French film directed by Claude Chabrol, released in 1958.  It has been cited as the first product of the Nouvelle Vague, or French New Wave, film movement.  The film is often compared with Chabrol's subsequent film "Les Cousins", which also features Jean-Claude Brialy and Gérard Blain.

Supporting paragraphs: Alice or the Last Escapade Lewis Carroll
Answer: Alice or the Last Escapade