
{"id":4193,"date":"2010-11-08T11:30:43","date_gmt":"2010-11-08T06:00:43","guid":{"rendered":"http:\/\/compilerart.org\/?p=120"},"modified":"2010-11-08T11:30:43","modified_gmt":"2010-11-08T06:00:43","slug":"lexical-analysis","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/11\/08\/lexical-analysis\/","title":{"rendered":"Lexical Analysis"},"content":{"rendered":"<pre style=\"text-align:justify;width:500px;padding:15px;\">\nLexical analysis is the process of taking an input string\nof characters (such as the source code of a computer\nprogram) and producing a sequence of symbols called\n\"lexical tokens\", or just \"tokens\", which may be handled\nmore easily by a parser.\n<\/pre>\n<pre style=\"text-align:justify;width:500px;padding:15px;\">\nA token, in computing, is a segment of text, regardess\nwhether it be readable or comprised of symbols. Tokens\nare generally defined abstractly in a context free grammar,\nwhich is fed into a program such as yacc which checks the\nstream of tokens for conformity to this grammar.\n<\/pre>\n<pre style=\"text-align:justify;width:500px;padding:15px;\">\nA parser is a computer program or a component of a program\nthat analyses the grammatical structure of an input, with\nrespect to a given formal grammar, a process known as parsing.\nIn linguistics, grammar is the set of structural rules that govern\nthe composition of sentences, phrases, and words in any given\nnatural language.\n<\/pre>\n<p style=\"font-size:16px;\">Related Notes :<\/p>\n<pre style=\"text-align:justify;width:500px;padding:15px;\">\nLexical analysis is concerned with scanning the\ninput for significant clusters of characters called tokens.\nThe input stream of characters is analyzed using delimiters\nand a careful description of the way various types tokens\nmay be constructed.\n<\/pre>\n<p><code><br \/>\nReference\/Source :<br \/>\nhttp:\/\/en.wikipedia.org\/wiki\/Grammar<br \/>\nhttp:\/\/www.wordiq.com\/definition\/Parser<br \/>\nhttp:\/\/www.wordiq.com\/definition\/Token_(parser)<br \/>\nhttp:\/\/www.wordiq.com\/definition\/Lexical_analysis<br \/>\nD. Soda, G. W. Zobrist<br \/>\nFebruary 1989<br \/>\nCSC '89: Proceedings of the 17th conference on ACM Annual Computer Science Conference<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lexical analysis is the process of taking an input string of characters (such as the source code of a computer program) and producing a sequence of symbols called &#8220;lexical tokens&#8221;, or just &#8220;tokens&#8221;, which may be handled more easily by a parser. A token, in computing, is a segment of text, regardess whether it be &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/11\/08\/lexical-analysis\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Lexical Analysis&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[392,564,1023,1252],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4193"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=4193"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4193\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=4193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=4193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=4193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}