Displaying PHP Errors on LAMP Server

By default the LAMP server doesn't display any error if there are errors in your php file. It just shows a blank page. That means you cannot see in which line the error is occurred. Hopefully, you can enable the error display option easily…

Read this article

Symbol Table Simulation

In computer science, a symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier in a program's source code is associated with information relating to its declaration or appearance in the source…

Read this article

Lexical Analyzer

I'm doing compiler course in my current semester (Fall' 10). The programs I'm doing for the lab classes were not fully optimized and in fact not very efficient too. For example, I've created a Lexical Analyzer in C++, where no error detection module was present. And, also the program was not fully completed, it doesn't recognize structure, while loop etc…

Read this article

Left Recursion Elimination

In the formal language theory of computer science, left recursion is a special case of recursion where a string is recognized as part of a language by the fact that it decomposes into a string from that same language (on the left) and a suffix (on the right). For instance, 1+2+3 can be recognized as a sum because it can be broken into 1+2, also a sum, and +3, a suitable suffix…

Read this article