Browsing articles from "June, 2012"
Jun
13
2012

PROJECT: MYSQL Syntax Checker using lex and yacc

sql-code

This ‘QCompiler’ will accept the SQL statements embedded in html, detect the syntax errors and suggest the necessary corrections. ‘QCompiler’ was developed using lex and yacc. I will not go into details about lex and yacc. If you want more details on them, you can check out the links below: Lex Wikipedia Yacc Wikipedia A Guide to Lex and Yacc Lex and Yacc – Brief Tutorial The lex file basically returns the token to the [...]

Share
Jun
6
2012

Segmentation Fault correction with GNU Debugger

2

One of the reasons why I prefer Linux for programming is because of the GNU debugger. Any programmer at one point or the other would have to use a debugger so it’s always better we get started off sooner rather than later. In our previous stone “Understanding Segmentation Fault with simple C code snippets ” we digged out the various reasons for the annoying segmentation fault in our programs. Next up we now learn how [...]

Share