As the demand for developers increases worldwide, providing high quality learning resources is critical for beginners in coding. However, the majority of programming resources are written in English, which may introduce a potential language barrier for individuals that do not have English as a first language. Incode was designed to make programming resources more inclusive and accessible to the community of developers around the globe, whether they are beginners or seasoned professionals.

How it works

Powered by OpenAI's GPT-3, Incode utilizes language translation in combination with code generation to provide programming material in just a few seconds. You can provide a command in any spoken language and our application will generate code in response while providing helpful comments and variable names in the same language that you prompted with!


We want to generate C code to solve the Dining Philosophers problem. The below generates C code in response to the following prompt in French:

Écrire un programme pour résoudre le problème des philosophes qui dînent.


#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <semaphore.h>

#define N 5

sem_t fourchettes[N];

void *philosophe(void *num)
    int i = *(int *)num;
    int gauche = (i + N - 1) % N;
    int droite = (i + 1) % N;

    while (1)
        printf("Le philosophe %d mange\n", i);

int main()
    pthread_t tid[N];
    int i;

    for (i = 0; i < N; i++)
        sem_init(&fourchettes[i], 0, 1);

    for (i = 0; i < N; i++)
        pthread_create(&tid[i], NULL, philosophe, &i);

    for (i = 0; i < N; i++)
        pthread_join(tid[i], NULL);

    return 0;

Tech Stack


The Frontend was developed using React and Typescript.


The Backend was developed using Flask and Python. In addition, the models that we used for language translation and code generation are from OpenAI's GPT-3. Finally, we deployed using Microsoft Azure.

Share this project: