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 Hex - What's the difference?

lex | hex |

As verbs the difference between lex and hex

is that lex is to perform lexical analysis; to convert a character stream to a token stream as a preliminary to parsing while hex is to put a hex (a spell, especially an evil spell) on.

As a proper noun Lex

is a pet form of the male given name Alexander.

As a noun hex is

an evil spell or curse.

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

    * ----

    hex

    English

    (wikipedia hex)

    Etymology 1

    First attested about 1830, from (etyl)

    Verb

  • To put a hex (a spell, especially an evil spell) on.
  • Noun

    (hexes)
  • An evil spell or curse.
  • A witch.
  • (rare) A spell (now rare but still found in compounds such as hex sign and hexcraft).
  • Etymology 2

    Short for hexadecimal.

    Noun

    (-)
  • (computing, informal)
  • Etymology 3

    Short for hexagon.

    Noun

    (es)
  • A hexagonal space on a game board.
  • a hexagon-shaped item of rock climbing equipment intended to be wedged into a crack or other opening in the rock.
  • See also

    (climbing) nut