community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of Token (parser)


Message boards   Post comment

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 and faster execution. Some examples of this are the, O-code, P-code, Z-machine, and byte-codes used in different VM systems.

Referenced By

Token

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Token (parser)".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.