By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,332 Members | 1,404 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,332 IT Pros & Developers. It's quick & easy.

problem in trying to write an editor for c

P: 1
to write an editor for c thats more programmer friendly similar to the vb code window and one that identify syntax errors as the programmer types each line,then i will need something like a parser or wat?please give me an idea. thanks in advance
Mar 20 '07 #1
Share this Question
Share on Google+
1 Reply


DeMan
100+
P: 1,806
Please clarify more programmer friendly than what?
Dev c++
CodeBlocks
emacs (or Xemacs)
notepad++

and a host of others have some (different between them) really useful features. Some of these editors allow code folding, All allow syntax highlighting (which helps find spelling errors or accidental use of reserved word), and most (id not all) support some form of Auto-indent (although I struggle to get Dev to do exactly what i want in regards to indenting)and parenthesis matching....

Much of this type of functionality (automatic pretty print/indent, syntax highlighting, automatic tab (often as individual spaces) can help users to identify different problems (or potential problems) in their code.

There are also a host of "compile Tools" (splint, LeakTracer) and debuggers (gdb/ddd, most IDE's have inbuilt ones) that may help highlight potential errors.

Perhaps you should identify first what sort of helper functionality you want in an editor (for example even useful functionality like autotab may sometimes frustrate people). Once you have decided what you want to do, you can consider how to do it (and you might like to post again then)
Mar 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.