Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 16
    In colloquial compiler usage, people tend to use the two terms interchangeably. The precise distinction is nice, if and when you need it. Commented Feb 19, 2013 at 13:59
  • 1
    While not a purely computer science definition, here is one from natural language processing that is of relevance from Introduction to lexical semantics an individual entry in the lexicon Commented Mar 3, 2017 at 15:47
  • 1
    Absolutely clear explanation. This is how the things should be explained in the heaven. Commented Feb 19, 2020 at 10:09
  • 1
    great explanation. I have one more doubt, I also read about parsing stage, parser asks for tokens from lexical analyzer, as parser can not validate tokens. can you please explain by taking simple input at parser stage and when does parser asks for tokens from lexer. Commented Sep 9, 2020 at 20:11
  • 1
    @GuyCoder, I have posted my question where I want some information about symbol table. Can you please look into this once. https://stackoverflow.com/questions/63820620/what-values-are-stored-into-symbol-table-in-compiler-construction. i will also post above question in different thread. Thank you Commented Sep 9, 2020 at 23:10