AUTO-CODE GENERATION (RESEARCH PROJECT)

August ’18 – May ‘19
Tech Stack : Deep Learning, Genetic Algorithms, Python

The aim was to automate the code generation, if we supply the particular set of input/output examples.

- We worked on generating source code in Brain Fuck programming language from a set of input-output examples or any type of user input, using Program Synthesis techniques.

- For example, if we supply our code generator with 2+2=3, 4+8=12 etc.. then it will automatically write a program for addition in BF language.

- We used BF code interpretors to convert the BF generated code to a specific programming language.

We were able to design a hybrid approach which produces result in few seconds only.

We reviewed a lot of reseach papers about auto generating code and had written a review paper for the same.

Github


Here are some of the programs Generated by our model :


Souce-code
Program Tested : CountDown, print number until 0 from given number.
Result took 800 epochs.

Souce-code
Program Tested : Print "hello" on screen.
Result took 171,600 epochs.

Contact Me.

Contact Me

Contact

Email Address

My Email

LinkedIn

LinkedIn Profile