---
title: "Meaning & Key Takeaway of: Writing a really general parser is a…"
description: "\"Writing a really general parser is a major but different undertaking, by far the hardest points being sensitivity to context and resolution of ambiguit..."
image: "https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png"
---

#  Writing a really general parser is a major but different…

![“Writing a really general parser is a major but different undertaking, by far the hardest points being sensitivity to context and resolution of ambiguity.” quote by Graham Nelson](https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png)   [Download](https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png) [Open image](https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png)

> “Writing a really general parser is a major but different undertaking, by far the hardest points being sensitivity to context and resolution of ambiguity.”

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Creating a universal parser is extremely difficult because it must handle varied contexts and resolve ambiguous language.

**In simple terms:** General parsers are hard due to context and ambiguity.

Key Takeaway

Prioritize context‑aware design.

Themes

programming language design parsing ambiguity complexity

Mood

analytical technical

Type

technical advisory

When to use this quote

- software development
- natural language processing
- compilers
- data extraction

Key Concepts

context sensitivity ambiguity resolution algorithmic design

Questions to Reflect On

- How will you handle unexpected cases?
- Can you simplify the language to reduce ambiguity?

A Different Perspective

Even the best parsers may fail on novel inputs.

★ ★ ★ ★ ★   No ratings yet

[Ambiguity](https://sms4smile.com/quotes/about/ambiguity/) [Resolution](https://sms4smile.com/quotes/about/resolution/) [Sensitivity](https://sms4smile.com/quotes/about/sensitivity/) [Writing](https://sms4smile.com/quotes/about/writing/)

## Related quotes

> [The position is clear - there is no ambiguity in Sinn Fein's position. We, along with all the other parties, have signed up to…](https://sms4smile.com/quotes/martin-mcguinness/the-position-is-clear-there-is-no-ambiguity-in-sinn-fein-s-position/)

[Martin McGuinness](https://sms4smile.com/quotes/author/martin-mcguinness/)

> [There's a lot of ambiguity in life, and so often, our art is very neatly wrapped up at the end, when our lives never…](https://sms4smile.com/quotes/carrie-coon/there-s-a-lot-of-ambiguity-in-life-and-so-often-our-art-is-very/)

[Carrie Coon](https://sms4smile.com/quotes/author/carrie-coon/)

> [I am in the utmost perplexity, yand have wished a hundred times, that if there is a A God, nature would manifest him without…](https://sms4smile.com/quotes/blaise-pascal/i-am-in-the-utmost-perplexity-yand-have-wished-a-hundred-times-that/)

[Blaise Pascal](https://sms4smile.com/quotes/author/blaise-pascal/)

> [I believe that we can still have a genre of scientific books suitable for and accessible alike to professionals and interested laypeople. The concepts…](https://sms4smile.com/quotes/stephen-jay-gould/i-believe-that-we-can-still-have-a-genre-of-scientific-books-suitable/)

[Stephen Jay Gould](https://sms4smile.com/quotes/author/stephen-jay-gould/)

> [I've always been drawn to ambiguity in pop music.](https://sms4smile.com/quotes/ezra-furman/i-ve-always-been-drawn-to-ambiguity-in-pop-music/)

[Ezra Furman](https://sms4smile.com/quotes/author/ezra-furman/)

> [In order to be as free as I possibly can, in my own imagination, I can't take positions that are closed. Everything I've ever…](https://sms4smile.com/quotes/toni-morrison/in-order-to-be-as-free-as-i-possibly-can-in-my-own-imagination-i-can/)

[Toni Morrison](https://sms4smile.com/quotes/author/toni-morrison/)

> [If there is a single tragic flaw that mars our biggest enterprises, it is conservatism - the failure to fail, and fail big, in…](https://sms4smile.com/quotes/tom-peters/if-there-is-a-single-tragic-flaw-that-mars-our-biggest-enterprises-it/)

[Tom Peters](https://sms4smile.com/quotes/author/tom-peters/)

> [My path to wisdom began when I stopped pretending to know things I didn't know. When I explicitly admitted to the limits of my…](https://sms4smile.com/quotes/tucker-max/my-path-to-wisdom-began-when-i-stopped-pretending-to-know-things-i/)

[Tucker Max](https://sms4smile.com/quotes/author/tucker-max/)

> [Yet again, an ancient answer echoes across the centuries: Listen! Listen to stories! For what stories do, above all else, is hold up a…](https://sms4smile.com/quotes/ernest-kurtz/yet-again-an-ancient-answer-echoes-across-the-centuries-listen-listen/)

[Ernest Kurtz](https://sms4smile.com/quotes/author/ernest-kurtz/)

> [I think the relationship between social-dominance orientation in people and the extent to which they're made uncomfortable by ambiguity and novelty is really important.…](https://sms4smile.com/quotes/robert-sapolsky/i-think-the-relationship-between-social-dominance-orientation-in/)

[Robert Sapolsky](https://sms4smile.com/quotes/author/robert-sapolsky/)

> [I blame my grandfather 100 percent for his oldest son's death. I don't think there's any ambiguity there.](https://sms4smile.com/quotes/mary-l-trump/i-blame-my-grandfather-100-percent-for-his-oldest-son-s-death-i-don-t/)

[Mary L. Trump](https://sms4smile.com/quotes/author/mary-l-trump/)

> [You cannot grow in the integrative dance of action and contemplation without a strong tolerance for ambiguity, an ability to allow, forgive, and contain…](https://sms4smile.com/quotes/richard-rohr/you-cannot-grow-in-the-integrative-dance-of-action-and-contemplation/)

[Richard Rohr](https://sms4smile.com/quotes/author/richard-rohr/)

> [During the Cold War, we lived in coded times when it wasn't easy and there were shades of grey and ambiguity.](https://sms4smile.com/quotes/john-le-carre/during-the-cold-war-we-lived-in-coded-times-when-it-wasn-t-easy-and/)

[John le Carre](https://sms4smile.com/quotes/author/john-le-carre/)

> [Ambiguity is necessary in some of my stories, not in all. In those, it certainly contributes to the richness of the story. I doubt…](https://sms4smile.com/quotes/gene-wolfe/ambiguity-is-necessary-in-some-of-my-stories-not-in-all-in-those-it/)

[Gene Wolfe](https://sms4smile.com/quotes/author/gene-wolfe/)

> [“Man must not attempt to dispel the ambiguity of his being but, on the contrary, accept the task of realizing it.”](https://sms4smile.com/quotes/simone-de-beauvoir/man-must-not-attempt-to-dispel-the-ambiguity-of-his-being-but-on-the/)

[Simone de Beauvoir](https://sms4smile.com/quotes/author/simone-de-beauvoir/)

## More by Graham Nelson

> [Eventually I found it had been working all along-but didn't show anything on screen until it had the first full page of text. I…](https://sms4smile.com/quotes/graham-nelson/eventually-i-found-it-had-been-working-all-along-but-didn-t-show/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [The most frequent complaint is that it's hard. True. it's a hard game to win Also, many people ask me how to use the…](https://sms4smile.com/quotes/graham-nelson/the-most-frequent-complaint-is-that-it-s-hard-true-it-s-a-hard-game/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [This means keeping many trails open at once, inevitably requiring a fairly 'parallel' plot. This plot should be discovered rather than announced, so show,…](https://sms4smile.com/quotes/graham-nelson/this-means-keeping-many-trails-open-at-once-inevitably-requiring-a/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [I don't really believe in 'directions' in art; the rope twists as you follow it, that's all.](https://sms4smile.com/quotes/graham-nelson/i-don-t-really-believe-in-directions-in-art-the-rope-twists-as-you/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [At the end of April I archived 'Curses' and Inform, and announced them on the newsgroups.](https://sms4smile.com/quotes/graham-nelson/at-the-end-of-april-i-archived-curses-and-inform-and-announced-them/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [I try to make puzzles range all the way from easy to hard, and to leave many open at once.](https://sms4smile.com/quotes/graham-nelson/i-try-to-make-puzzles-range-all-the-way-from-easy-to-hard-and-to/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [A deliberate choice on my part was for the player to continue to find new possibilities in the early Attic rooms far into the…](https://sms4smile.com/quotes/graham-nelson/a-deliberate-choice-on-my-part-was-for-the-player-to-continue-to-find/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [Players very widely disagree with me about what's hard and what's easy. and in a way, 'I won, but it was a fight' is…](https://sms4smile.com/quotes/graham-nelson/players-very-widely-disagree-with-me-about-what-s-hard-and-what-s/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [I'm rather pleased with the new manuals. I see Inform now as a gauche young adult, having got past the stage of growing out…](https://sms4smile.com/quotes/graham-nelson/i-m-rather-pleased-with-the-new-manuals-i-see-inform-now-as-a-gauche/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [Then in my early teens, when the home computer bubble was blowing, I had one of the first, an Acorn Atom, and used to…](https://sms4smile.com/quotes/graham-nelson/then-in-my-early-teens-when-the-home-computer-bubble-was-blowing-i/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [The 'interactive fiction' format hasn't changed in any fundamental way since the early 1970s, in the same way that the format of the novel…](https://sms4smile.com/quotes/graham-nelson/the-interactive-fiction-format-hasn-t-changed-in-any-fundamental-way/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [I like to employ a form of repetition, in which the same elements recur but in different and unexpected ways. rather than being discarded…](https://sms4smile.com/quotes/graham-nelson/i-like-to-employ-a-form-of-repetition-in-which-the-same-elements/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [If pushed, though, I'd say that the next stage will be reached when it it's no longer true that about 75% of the best…](https://sms4smile.com/quotes/graham-nelson/if-pushed-though-i-d-say-that-the-next-stage-will-be-reached-when-it/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [What I would pay much more attention to are the few points where the player can inadvertently make a career decision. Most players end…](https://sms4smile.com/quotes/graham-nelson/what-i-would-pay-much-more-attention-to-are-the-few-points-where-the/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

> [By the new year of 1994, it had grown up into Inform 4 and could produce games twice as large.](https://sms4smile.com/quotes/graham-nelson/by-the-new-year-of-1994-it-had-grown-up-into-inform-4-and-could/)

[Graham Nelson](https://sms4smile.com/quotes/author/graham-nelson/)

[Explore all 19 Graham Nelson quotes ](https://sms4smile.com/quotes/author/graham-nelson/)

## More Ambiguity quotes

> [The position is clear - there is no ambiguity in Sinn Fein's position. We, along with all the other parties, have signed up to…](https://sms4smile.com/quotes/martin-mcguinness/the-position-is-clear-there-is-no-ambiguity-in-sinn-fein-s-position/)

[Martin McGuinness](https://sms4smile.com/quotes/author/martin-mcguinness/)

> [Ambiguity is necessary in some of my stories, not in all. In those, it certainly contributes to the richness of the story. I doubt…](https://sms4smile.com/quotes/gene-wolfe/ambiguity-is-necessary-in-some-of-my-stories-not-in-all-in-those-it/)

[Gene Wolfe](https://sms4smile.com/quotes/author/gene-wolfe/)

> [During the Cold War, we lived in coded times when it wasn't easy and there were shades of grey and ambiguity.](https://sms4smile.com/quotes/john-le-carre/during-the-cold-war-we-lived-in-coded-times-when-it-wasn-t-easy-and/)

[John le Carre](https://sms4smile.com/quotes/author/john-le-carre/)

> [You cannot grow in the integrative dance of action and contemplation without a strong tolerance for ambiguity, an ability to allow, forgive, and contain…](https://sms4smile.com/quotes/richard-rohr/you-cannot-grow-in-the-integrative-dance-of-action-and-contemplation/)

[Richard Rohr](https://sms4smile.com/quotes/author/richard-rohr/)

> [I blame my grandfather 100 percent for his oldest son's death. I don't think there's any ambiguity there.](https://sms4smile.com/quotes/mary-l-trump/i-blame-my-grandfather-100-percent-for-his-oldest-son-s-death-i-don-t/)

[Mary L. Trump](https://sms4smile.com/quotes/author/mary-l-trump/)

> [I think the relationship between social-dominance orientation in people and the extent to which they're made uncomfortable by ambiguity and novelty is really important.…](https://sms4smile.com/quotes/robert-sapolsky/i-think-the-relationship-between-social-dominance-orientation-in/)

[Robert Sapolsky](https://sms4smile.com/quotes/author/robert-sapolsky/)

> [Yet again, an ancient answer echoes across the centuries: Listen! Listen to stories! For what stories do, above all else, is hold up a…](https://sms4smile.com/quotes/ernest-kurtz/yet-again-an-ancient-answer-echoes-across-the-centuries-listen-listen/)

[Ernest Kurtz](https://sms4smile.com/quotes/author/ernest-kurtz/)

> [My path to wisdom began when I stopped pretending to know things I didn't know. When I explicitly admitted to the limits of my…](https://sms4smile.com/quotes/tucker-max/my-path-to-wisdom-began-when-i-stopped-pretending-to-know-things-i/)

[Tucker Max](https://sms4smile.com/quotes/author/tucker-max/)

> [If there is a single tragic flaw that mars our biggest enterprises, it is conservatism - the failure to fail, and fail big, in…](https://sms4smile.com/quotes/tom-peters/if-there-is-a-single-tragic-flaw-that-mars-our-biggest-enterprises-it/)

[Tom Peters](https://sms4smile.com/quotes/author/tom-peters/)

> [In order to be as free as I possibly can, in my own imagination, I can't take positions that are closed. Everything I've ever…](https://sms4smile.com/quotes/toni-morrison/in-order-to-be-as-free-as-i-possibly-can-in-my-own-imagination-i-can/)

[Toni Morrison](https://sms4smile.com/quotes/author/toni-morrison/)

> [I've always been drawn to ambiguity in pop music.](https://sms4smile.com/quotes/ezra-furman/i-ve-always-been-drawn-to-ambiguity-in-pop-music/)

[Ezra Furman](https://sms4smile.com/quotes/author/ezra-furman/)

> [I believe that we can still have a genre of scientific books suitable for and accessible alike to professionals and interested laypeople. The concepts…](https://sms4smile.com/quotes/stephen-jay-gould/i-believe-that-we-can-still-have-a-genre-of-scientific-books-suitable/)

[Stephen Jay Gould](https://sms4smile.com/quotes/author/stephen-jay-gould/)

> [I am in the utmost perplexity, yand have wished a hundred times, that if there is a A God, nature would manifest him without…](https://sms4smile.com/quotes/blaise-pascal/i-am-in-the-utmost-perplexity-yand-have-wished-a-hundred-times-that/)

[Blaise Pascal](https://sms4smile.com/quotes/author/blaise-pascal/)

> [There's a lot of ambiguity in life, and so often, our art is very neatly wrapped up at the end, when our lives never…](https://sms4smile.com/quotes/carrie-coon/there-s-a-lot-of-ambiguity-in-life-and-so-often-our-art-is-very/)

[Carrie Coon](https://sms4smile.com/quotes/author/carrie-coon/)

> [“Man must not attempt to dispel the ambiguity of his being but, on the contrary, accept the task of realizing it.”](https://sms4smile.com/quotes/simone-de-beauvoir/man-must-not-attempt-to-dispel-the-ambiguity-of-his-being-but-on-the/)

[Simone de Beauvoir](https://sms4smile.com/quotes/author/simone-de-beauvoir/)

[Browse all 431 Ambiguity quotes ](https://sms4smile.com/quotes/about/ambiguity/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Writing a really general parser is a major but different undertaking, by far the hardest points being sensitivity to context and resolution of ambiguity.",
            "creator": {
                "@type": "Person",
                "name": "Graham Nelson"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/graham-nelson/writing-a-really-general-parser-is-a-major-but-different-undertaking/",
            "about": {
                "@type": "Thing",
                "name": "Ambiguity"
            },
            "@id": "https://sms4smile.com/quotes/graham-nelson/writing-a-really-general-parser-is-a-major-but-different-undertaking/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png",
                "contentUrl": "https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png",
                "url": "https://sms4smile.com/quotes/i/187/graham-nelson-28209_ambiguity_writing-a-really-general-parser-is-a-maj_1307933.png",
                "width": 1080,
                "height": 1080,
                "caption": "“Writing a really general parser is a major but different undertaking, by far the hardest points being…” — Graham Nelson",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Graham Nelson",
                    "item": "https://sms4smile.com/quotes/author/graham-nelson/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Writing a really general parser is...",
                    "item": "https://sms4smile.com/quotes/graham-nelson/writing-a-really-general-parser-is-a-major-but-different-undertaking/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/graham-nelson/writing-a-really-general-parser-is-a-major-but-different-undertaking/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
