Introduction

Jan 23, 07:38 PM

Vaklipi


The Vaklipi language lets you program using a natural language, for example, English or Hindi. You no longer have to learn the complex syntax of a formal programming language in order to make a computer or a robot do what you want.

You can say things to your computer like:

What is 5 * 2?


Uses


Writing complex software requires a complex programming language. However, a user of the software should not have to learn such a complex programming language.

Now, you can do simple programming tasks around a piece of software, like querying a database or doing something to a file on a computer without learning a formal programming language.

You can do this using the convenience of natural language. Moreover, you can do this using YOUR OWN natural language, the language that you use when you wake up in the morning. And asking for a database record does not have to be more complex than asking for a cup of tea.


Demos


In the rest of the articles, you will see demos like the tables below. The tables are little tests that can be executed by you.

Click on the “Run Test” link to run the tests. If they run successfully, the last column of the table will turn green.

The tables titled VaklipiVariableFixture are structured as follows:

  1. The first column contains the command to run
  2. The second column contains the variable to be examined after the command is run
  3. The third column contains the expected value of the variable


English

com.aiaioo.VaklipiVariableFixture
program variable run()
The variable X is equal to 3. X 3.0
Variable Y equals 8. Y 8.0
Set Z to 9. Z 9.0
fit.Summary

Run test


When you click the link “Run test” to execute the English test, you should see the numbers 3.0, 8.0 and 9.0 turning green.

The green colour is a sign that the tests ran fine.

The first test is a command:

The variable X is equal to 3

to set the variable X to 3. The last two columns ask the testing tool to check if the value of X is 3.0 after the program is executed.


Hindi

com.aiaioo.VaklipiVariableFixture
program variable run()
ता का मूल्य ३ है. ता 3.0
fit.Summary

Run test


Learn


You can learn programming with Vaklipi in the following pages:

  1. Output: Learn to write out messages in Vaklipi
  2. Declarations: Learn to set the value of a variable
  3. Operators: Learn to do addition, multiplication, division etc.
  4. Conditionals: Learn to take specify the conditions for performing certain steps.
  5. Looping: Learn to repeat steps till some condition is satisfied.
  6. Jumping: Learn to jump to some point in the code.
  7. Functions: Learn to issue an command.
  8. Constructors: Learn to create an object of a certain type.
  9. Selectors: Learn to refer to a real world object.

Cohan Sujay Carlos

Vaklipi,

---

Commenting is closed for this article.

---