CppGen - Ugur Buyukdurak

From CS486wiki
Revision as of 18:10, 21 September 2015 by Seniorproject (talk | contribs) (Created page with "''A project that aims to shorten C++ development time by automatic code generation. This project targets people who don't have access to full-featured C++ IDEs on the market. C++...")
(change visibility) (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A project that aims to shorten C++ development time by automatic code generation. This project targets people who don't have access to full-featured C++ IDEs on the market. C++ language has some strict syntax rules with which not everybody can do everything right every time. This, of course, would mean compiler errors and frustrated programmers. Even if a programmer typed everything correctly, he would still be wasting his time with extra typing because of C++ header and implementation file mechanism. More typing means more work, and the more it gets longer, the more mistakes can be made along the way. Automatic code generation zeros the chance of making mistakes when writing implementation(.cpp) of a declaration file(.h) unless base header file is wrong.

I originate this idea from CS 240 Data Structures Class where I had to code in a complete Linux environment without a full featured IDE. There was no syntax highlighting, type checking or anything similar. There was just a raw text editor and a command line compiler. Compiler would always complain I typed something wrong, and say I needed to fix something. Problems were mainly caused by some variables or methods of a class instance that didn't match what it was declared as in another file. So I thought, generating some source code from base code would ease my job a lot further so I could focus on what I was doing.

Some C++ IDE's already provide these features but also charge people for their features. Other problem about IDEs is that they have to be downloaded and installed on a machine. My design of code generation is completely online and open to everybody without any kind of charge.

CppGen is also reliable in a way that it doesn't implement its own compiler but rather uses recognized tools used in computer world the make its own thing happen. There is little chance that building blocks that make CppGen will cause problems from the ground.

Will be continued