[RSS]

Integrate Project Into NetBeans

Project Team: Varun Nischal

Introduction


Actually, there's a project in the making, based on a Computer Science and Engineering course Compiler Design. I am going to make a compiler which would convert pseudo-codes into source-codes. So, our group would be working on the integration of this project which would enable coding in NetBeans using pseudo-codes.
  1. Compiler Design
    • Its a semester project, which me and my batch-mates would be working on during March-April (2008). Till 31st March, we have planned to make atleast 40% of the compiler project. Probably, we would be hosting it on either sourceforge.net OR java.net, to make it a licensed project. So, that the project for NBIG Awards Program starts from 1st April.
  2. Integration Module
    • I, would be creating a Module Suite, for integrating the compiling capabilities of the above project into NetBeans, this is going to be the proposed project for NBIG.

Project Details...


Compiler Project, whats going to happen, is described as follows;
  • End-User's View,
    1. Click on File > New Project..., Window opens, New Category named "<Module name>" would be listed.
    2. Selecting it lists two kind of templates for pseudo-code formats, like Create a New Pseudo-Code File... and Create a Pseudo-Code File from Existing sources...
  • When any one of the above template gets selected, clicking Next starts a Wizard-Driven creation of the project.
  • Also, the user can configure the editing options, while project creation....
  • Editor window opens...the user starts to write the pseudo-codes for the target language, like C, C++ or Java, the syntax-highlights automatically as per the language.

Features


As of now, I could possibly think of the following features, its up to you as its open for all, to comment on and edit where ever you feel necessary.
  1. Intuitive Editing Capabilities(IEC),
    • A background parser, would use AI to detect what kind of pseudo-codes user is trying to write, like is it for C, C++ or Java.
    • After detection, syntax-highlighting would take place automatically, like if user writes for C, then NetBeans in-built syntax-highlighting features would be used, similarly for other languages as well. Refer to Project Schliemann.
  2. File Format
    • A single format would be provided, i.e. with a single extension, independent of language.
    • Sample C/C++ code; int i=0; for(; i<5; i++) { printf("%s", Hello World!); }
    • Pseudo-code; assign 0 to i; taking i from 0 to 5 do print "Hello World!"; increment i; end


Compiler Design


FAQ's


<Add FAQ's>

Minutes


<Add minutes>

Issues


<Add Issues>


Suggestions


Add a line * <text> to post your comments here.

Contact Us


Varun Nischal,
Email: nvarun@NetBeans.org