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

full_context: Document 1: Alice in Wonderland (1966 TV play): Alice in Wonderland (1966) is a BBC television play, shot on film, based on "Alice's Adventures in Wonderland" by Lewis Carroll. It was directed by Jonathan Miller, then best known for his appearance in the satirical revue "Beyond the Fringe".
Document 2: 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).
Document 3: Alice (1990 film): Alice is a 1990 American romantic fantasy film written and directed by Woody Allen and starring Mia Farrow, Joe Mantegna and William Hurt. The film is a loose reworking of Federico Fellini's 1965 film "Juliet of the Spirits".
Document 4: You Are Old, Father William: "You Are Old, Father William" is a poem by Lewis Carroll that appears in his book "Alice's Adventures in Wonderland" (1865). It is recited by Alice in Chapter 5, "" (Chapter 3 in the original manuscript, "Alice's Adventures Under Ground"). Alice informs the Caterpillar that she has previously tried to repeat "" and has had it all come wrong as "How Doth the Little Crocodile". The Caterpillar asks her to repeat ""You Are Old, Father William"", and she recites.
Document 5: Lewis Carroll: A Biography: Lewis Carroll: A Biography is a 1995 biography of author Lewis Carroll by Morton N. Cohen, first published by Knopf, later by Macmillan. It is generally considered to be the definitive scholarly work on Carroll's (real name Charles Lutwidge Dodgson) life. Cohen's approach is mainly chronological, with some chapters grouped by theme, such as those on Carroll's religion, his love of little girls, and his guilty feelings. Cohen, a Carroll scholar for 30 years, opts to use Dodgson's first name, Charles, throughout the work, because it "seems most appropriate in a book dealing with the intimacy of his life".
Document 6: Works based on Alice in Wonderland: Lewis Carroll's books "Alice's Adventures in Wonderland" and "Through the Looking-Glass" have been highly popular in their original forms, and have served as the basis for many subsequent works since they were published. They have been adapted directly into other media, their characters and situations have been appropriated into other works, and these elements have been referenced innumerable times as familiar elements of shared culture. Simple references to the two books are too numerous to list; this list of works based on "Alice in Wonderland" focuses on works based specifically and substantially on Carroll's two books about the character of Alice.
Document 7: Alice in Wonderland (1949 film): Alice in Wonderland (French: Alice au pays des merveilles ) is a 1949 French film based on Lewis Carroll's fantasy novel "Alice's Adventures in Wonderland". Directed by Dallas Bower, the film stars Carol Marsh as Alice, Stephen Murray as Lewis Carroll, and Raymond Bussières as The Tailor. Most of the Wonderland characters are portrayed by stop-motion animated puppets created by Lou Bunin.
Document 8: In the Shadow of the Dreamchild: In the Shadow of the Dreamchild: A New Understanding of Lewis Carroll is a 1999 book by British author Karoline Leach that posited the concept of the "Carroll Myth": the idea that many of the most famous aspects of Lewis Carroll's biography, including his supposed adoration of Alice Liddell, are more legend than fact.
Document 9: Mock Turtle: The Mock Turtle is a fictional character devised by Lewis Carroll from his popular book "Alice's Adventures in Wonderland". Its name is taken from a dish that was popular in the Victorian period, mock turtle soup.
Document 10: Almost Alice: Almost Alice is a concept album of various artists' music inspired by Tim Burton's film, "Alice in Wonderland". The album is also notable for featuring songs that were inspired from quotes directly from Lewis Carroll's original novel "Alice's Adventures in Wonderland". For example, both "The Lobster Quadrille" (by Franz Ferdinand) and "You Are Old, Father William" (by They Might Be Giants) are both word-for-word performances of poems from the original "Alice" as quoted by The Mock-Turtle (the former) and Alice herself to the Caterpillar (the latter). Furthermore, "Very Good Advice" by Robert Smith is a cover of Kathryn Beaumont's "Very Good Advice" from Disney's 1951 animated adaptation of "Alice in Wonderland".
Document 11: All Saints' Church, Daresbury: All Saints' Church is in the village of Daresbury, Cheshire, England. It is known for its association with Lewis Carroll who is commemorated in its stained glass windows depicting characters from "Alice's Adventures in Wonderland". It is recorded in the National Heritage List for England as a designated Grade II* listed building. The church is an active Anglican parish church in the diocese of Chester, the archdeaconry of Chester and the deanery of Great Budworth. The author Lewis Carroll was born in All Saints' Vicarage in 1832 when his father, Charles Dodgson, was perpetual curate at the church. This was commemorated in March 2012 when the Lewis Carroll Centre, attached to the church, was opened.
Document 12: 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.
Document 13: Alice in Wonderland (1988 film): Alice in Wonderland is an Australian 51-minute direct-to-video animated film from Burbank Films Australia. It was originally released in 1988. The film is based on Lewis Carroll's classic English novel, "Alice's Adventures in Wonderland", first published in 1865, and was adapted by Paul Leadon. Unlike many other adaptations of the novel, this one did not borrow elements from its sequel, "Through the Looking-Glass" (1871), combined into one film. The production company produced a 73-minute adaptation of the second novel the year before, in 1987, entitled "Alice: Through the Looking-Glass". The 1988 film was produced by Roz Phillips and directed by Rich Trueblood. Quite uncommon among Burbank Films Australia's adaptations of classic literary works, "Alice in Wonderland" featured one original theme song, composed by Mark Isaacs. The copyright in this film is now owned by Pulse Distribution and Entertainment and administered by digital rights management firm NuTech Digital.
Document 14: Martin Gardner: Martin Gardner (October 21, 1914May 22, 2010) was an American popular mathematics and popular science writer, with interests also encompassing scientific skepticism, micromagic, philosophy, religion, and literature—especially the writings of Lewis Carroll, L. Frank Baum, and G. K. Chesterton. He was considered a leading authority on Lewis Carroll. "The Annotated Alice", which incorporated the text of Carroll's two Alice books, was his most successful work and sold over a million copies. He had a lifelong interest in magic and illusion and was regarded as one of the most important magicians of the twentieth century. He was considered the dean of American puzzlers. He was a prolific and versatile author, publishing more than 100 books.
Document 15: Hatter (Alice's Adventures in Wonderland): The Hatter is a fictional character in Lewis Carroll's "Alice's Adventures in Wonderland" and its sequel "Through the Looking-Glass". He is often referred to as the Mad Hatter, though this term was never used by Carroll. The phrase "mad as a hatter" pre-dates Carroll's works. The Hatter and the March Hare are referred to as "both "mad"" by the Cheshire Cat, in "Alice's Adventures in Wonderland" in the seventh chapter titled "A Mad Tea-Party".
ground_truth: Alice or the Last Escapade