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

lex | dex |

As a verb lex

is to perform lexical analysis; to convert a character stream to a token stream as a preliminary to parsing.

As a proper noun Lex

is a pet form of the male given name Alexander.

As a noun dex is

an order or factor of ten. Used both to refer to the function \mathrm{dex}(x) = 10^x and the number of (possibly fractional) orders of magnitude separating two numbers. When dealing with log to the base 10 transform of a number set the transform of 10, 100, and 1 000 000 is \log_{10}(10) = 1, \log_{10}(100) = 2, and \log_{10}(1 000 000) = 6, so the difference between 10 and 100 in base 10 is 1 dex and the difference between 1 and 1 000 000 is 6 dex.

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

    * ----

    dex

    English

    Etymology 1

    Contraction of "decimal exponent".

    Noun

    (dexes)
  • (physics, and, astrophysics) An order or factor of ten. Used both to refer to the function \mathrm{dex}(x) = 10^x and the number of (possibly fractional) orders of magnitude separating two numbers. When dealing with log to the base 10 transform of a number set the transform of 10, 100, and 1 000 000 is \log_{10}(10) = 1, \log_{10}(100) = 2, and \log_{10}(1 000 000) = 6, so the difference between 10 and 100 in base 10 is 1 dex and the difference between 1 and 1 000 000 is 6 dex.
  • * 2004 , Cartledge et al 2004, The Homogeneity of Interstellar Oxygen in the Galactic Disk'', Abstract, ''The Astrophysical Journal , Volume 613, Issue 2, pp. 1037-1048,
  • The data points for low- paths are scattered more widely than those for denser sight lines, because O/H ratios for such paths shorter than 800 pc are generally about 0.10 dex lower than the values for longer ones.
    See also
    * order of magnitude, decibel

    Etymology 2

    By shortening.

    Noun

    (-)
  • (informal) dextromethorphan
  • Etymology 3

    By shortening.

    Noun

    (-)
  • (gaming) dexterity
  • * 2000 , "Billy Shields", The truth about offhand procs'' (on newsgroup ''alt.games.everquest )
  • Establish a proccing percentage of a weapon by putting it in the primary hand and then put it in your offhand and check the proccing percentage with varying levels of dual wield skill (while keeping level and dex constant).

    Anagrams

    * ----