Skip to content

veeracoder508/VeeraPrg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

VeeraPrg V¹

introduction

VeeraPrg(Vp) is a simple programming language created by Veeraragavan.R.A which is running on Qbasic. There are different syntax,memory,keywords,ect. Each version has different keywords and different amount of keywords. In future it will run using python.

keywords and syntax

There are keywords to do arithmetic operations only. there are:

  • ADD : for addition
  • SUB : for subtraction
  • MUL : for multiplication
  • DIV : for division

syntax

command,value1,value2

The limit of value is 20 digits including a decimal point and with a plus or minus symbol.

storage

There are 4 arrays for storing data and the limit will be asked to you. The arrays are prg(), prg1(), prg2() and prgo(). The given table will show you the format.

prg() prg1() prg2() prgo()
0 /command/ /value1/ /value2/ /ans/
1 /command/ /value1/ /value2/ /ans/
2 /command/ /value1/ /value2/ /ans/
M M M M M
n /command/ /value1/ /value2/ /ans/

Where,

  • /command/ : keywords
  • /value1/ : values
  • /value2/ : values
  • /ans/ : output

keywords

  1. ADD This commandis used to add two numbers.

    eg) ADD,1,5

    o/p) 6

  2. SUB This commandis used to subtract two numbers.

    eg) SUB,6,5

    o/p) 1

  3. MUL This commandis used to multiply two numbers.

    eg) MUL,1,5

    o/p) 5

  4. DIV This commandis used to divide two numbers.

    eg) ADD,10,5

    o/p) 2

error messages

there are no error messages

source code

code

simulator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published