Encyclopedia > Token (parser)

  Article Content

Token (parser)

A token is a piece of text, typically a word or punctuation mark, separated by a lexical analyzer and passed to a parser.

Older Interpreters would tokenize the program, turning the instructions from the programmer into byte-codes that were more easily processed by the VM - Virtual Machine. By doing so they would gain a bit more speed, faster execution.

 Some examples are the, O-code, P-code, Z-machine, and byte codes used in different VM systems.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Canadian Music Hall of Fame

... Guess Who[?] 1989 The Band 1990 Maureen Forrester[?] 1991 Leonard Cohen 1992 Ian and Sylvia[?] 1993 Anne Murray 1994 Rush 1995 Buffy Sainte-Marie[?] 1996 ...

 
 
 
This page was created in 73.2 ms