Token (Parser)

A token, in computing, is a segment of text, regardess whether it be readable or comprised of symbols. Tokens are generally defined abstractly in a context free grammar, which is fed into a program such as yacc which checks the stream of tokens for conformity to this grammar. The tokens themselves are detected, from a larger block of text, by a lexical analyzer which attempts to match regular expressions against the text. Older interpreters and older computers with BASIC in ROM, for example, would tokenize the program, turning the instructions from the programmer into byte-codes that were more easily processed by a virtual machine or processor. By doing so they would gain a bit more speed (faster execution). Some examples of this are the, O-code, P-code, Z-machine, and byte-codes used in different VM systems, i.e. Java.

See also

 

<< PreviousWord BrowserNext >>
nas (rapper)
unterseeboot 505
albert david
the after hours
the mighty casey
a world of his own
vendor lock in
tethys ocean
tethys sea
hugo spadafora
list of tectonic plate interactions
the end of eternity
merlin santana
eduard suess
bill & melinda gates foundation
sugar ray robinson
stop esso campaign
john pilger
tonsure
trebonianus gallus
brook kerr
aemilianus
list of conductors
william osler
this hour has 22 minutes
timeline of jewish history
gouda cheese
sports car
jinenkan
iceberg
crystal mckellar
close encounters of the third kind
osprey
hyginus
oval tube station
menara international airport
x kan
chisholm v. georgia
historia britonum
carbon 14
martin kamen
shock wave
upside
albert hofmann