Speech Programmer

About

The speech programmer is a web tool aimed at writing code based on voice commands. As of now, the tool only writes C code, and its usage is dependent upon various conditions that must be met when giving voice commands. Read this documentation to understand the proper usage of this tool for the best results.

Usage

Libraries

Data Types

To use data types throughout the tool, use the following conventions:

Functions

Example:

Voice command: function integer calculate average takes integer 'size'

Function Written: int calculateAverage(int size) {}

Variables

Example-1:

Voice command: integer size equals 5

Statement Written: int size = 5;

Example-2

Voice command: character test equals p

Statement Written: char test = 'p';

Printf

Example:

Voice command: print the value of test is percent line variable test

Statement written: printf("the value of test is %d\n ", test);

Scanf

Example:

Voice command: scanf test, size

Statement Written: scanf("%f%d", &test, &size);

If-Else

Example:

Voice command: if variable test greater equals 5

Statement Written: if (test >= 5) {}

If-Else

Example:

Voice command: while variable test greater equals 5

Statement Written: while (test >= 5) {}