What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Lex vs Parse - What's the difference?

lex | parse |

In computing terms the difference between lex and parse

is that lex is to perform lexical analysis; to convert a character stream to a token stream as a preliminary to parsing while parse is to split a file or other input into pieces of data that can be easily stored or manipulated.

As a proper noun Lex

is a pet form of the male given name Alexander.

As a noun parse is

a successful act of parsing.

lex

English

Verb

  • (computing) To perform lexical analysis; to convert a character stream to a token stream as a preliminary to parsing.
  • * 1994 , Donna K Harman, National Institute of Standards and Technology, The Second Text REtrieval Conference (TREC-2)
  • Once this is done, each processor parses and lexes its own documents, using conventional programming techniques.
  • * 2004 , Richard William Sharp, Higher-level hardware synthesis
  • SAFL source is lexed and parsed into an abstract syntax tree.
  • * 2007 , Don Syme, Adam Granicz, Antonio Cisternino, Expert F#
  • Lexing and parsing do not have to be separated, and there are often convenient .NET methods for extracting information from text in particular formats...

    Derived terms

    * lexer

    See also

    * ----

    parse

    English

    Verb

    (pars)
  • (linguistics) To resolve into its elements, as a sentence, pointing out]] the several [[part of speech, parts of speech, and their relation to each other by government or agreement; to analyze and describe grammatically.
  • (computing) To split a file or other input into pieces of data that can be easily stored or manipulated.
  • Derived terms

    * parser * wackyparse, wackyparsing * misparse * parsable * unparsable

    Noun

    (en noun)
  • (linguistics, computing) A successful act of .
  • (linguistics, computing) The result of such an act.
  • Anagrams

    * ----