-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated : Vad to VaD - issues/3 (#6)
- Loading branch information
1 parent
39bc3b6
commit 493f394
Showing
15 changed files
with
41 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ tests/ | |
tmp/ | ||
release/ | ||
build/ | ||
vedic/ | ||
|
||
# Packages # | ||
############ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ release/ | |
tests/ | ||
coverage/ | ||
build/ | ||
sample/ | ||
sample/ | ||
vedic/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
मान दर = ८; | ||
मान समय = ५; | ||
|
||
वद् "मिश्रधन = \n"+मिश्रधन(मूलधन,दर,समय); | ||
वद "मिश्रधन = \n"+मिश्रधन(मूलधन,दर,समय); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
चक्रम्(मान अ = ०; अ < १०; मान अ = अ+ १) | ||
{ | ||
# चक्रम् takes in 3 parameters initial value, and condition, and a step size | ||
वद् "अ = " + अ; | ||
वद "अ = " + अ; | ||
} | ||
# This will print ० to ९ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
वद् २+१; # ३ | ||
वद् २-१; # १ | ||
वद् २*१; # २ | ||
वद् २/१; # २ | ||
वद् २%१; # ० | ||
वद् २>१; # सत्य | ||
वद् २<१; # असत्य | ||
वद् २==१; # असत्य | ||
वद् २!=१; # सत्य | ||
वद् २>=१; # सत्य | ||
वद् २>=१; # सत्य | ||
वद् २<=१; # असत्य | ||
वद् २&&१; # सत्य | ||
वद् २||१; # सत्य | ||
वद २+१; # ३ | ||
वद २-१; # १ | ||
वद २*१; # २ | ||
वद २/१; # २ | ||
वद २%१; # ० | ||
वद २>१; # सत्य | ||
वद २<१; # असत्य | ||
वद २==१; # असत्य | ||
वद २!=१; # सत्य | ||
वद २>=१; # सत्य | ||
वद २>=१; # सत्य | ||
वद २<=१; # असत्य | ||
वद २&&१; # सत्य | ||
वद २||१; # सत्य |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
मान अ = ०; | ||
पर्यन्तम्( अ <= ५) | ||
{ | ||
वद् अ; | ||
वद अ; | ||
मान अ = अ+ १; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
फल अ+ब; | ||
} | ||
|
||
वद् योग(११,२२); # it will print ३३ | ||
वद योग(११,२२); # it will print ३३ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
यदि (अ > ५){ | ||
विराम्; | ||
} | ||
वद् "अ = " + अ; | ||
वद "अ = " + अ; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
मान आयु = ३२; | ||
यदि (आयु == २५) { | ||
वद् "वयं सम वयस्काः एव"; # We're the same age | ||
वद "वयं सम वयस्काः एव"; # We're the same age | ||
} | ||
अथ यदि (आयु > २५) { | ||
वद् "वयं सम वयस्काः न एव"; # We're not the same age | ||
वद "वयं सम वयस्काः न एव"; # We're not the same age | ||
} | ||
अथ { | ||
वद् "मम अपेक्षया कनिष्ठः वा"; # Younger to me | ||
वद "मम अपेक्षया कनिष्ठः वा"; # Younger to me | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters