You are on page 1of 12

CODE GENERATOR

Project Members: Jalaj Kala Sagarr Kanoje Anirudha Kaore Somsubhra Chakraborty

INTRODUCTION.

What do we mean by Code Generator??


A code generator is a program that has a model as input and produces output source code, which implements that model. The model consists of a set of metadata containing information about the code that will be generated. Starting from the information contained in the model, a code generator creates source code, which belongs to a programming language (C, C++, Java, C#, VB, and so on)

Approach used for Code Generation:


Modern approaches used
Add Your Text here

Custom

MDA

takes as input a model representing the information that must be converted in source code.

takes as input a platformindependent model and turns it into a platformspecific model

LIFE WITHOUT CODE GENERATOR!!


Problem in implementing bulky project. Human errors tend to incorporate Programmer may deviate from the required logic. Prototype not available. Time factor

THE BASIC MODEL

Templates

Design

Code Generator

Code

Basic model of a Code Generator

BENEFITS

Why Code generator a boon to software development?

uses consistent class, method, and argument names.

The output code is as good as what we would have written by hand

CONSISTENT QUALITY

able to specify the design in an abstract form, free of implementation details

faster to generate the code than to write it by hand.

PRODUCTIVITY
ABSTRACTION

ANY QUERIES??

You might also like