Skip to content

Commit

Permalink
Release PR (#19)
Browse files Browse the repository at this point in the history
* Delete installer.iss

* Add files via upload

* Delete 128x128.png

* Delete 128x128@2x.png

* Delete 32x32.png

* Update main.wxs

* Delete banner.bmp

* Delete dialog.bmp

* Add files via upload

* Add files via upload

* Update README.md

* Update main.wxs

* Delete index.html

* Delete script.js

* Delete nirdesa.ved

* Update suchi.ved

* Update : Discord

* Fixed : wasm build
  • Loading branch information
PtPrashantTripathi committed Jun 1, 2023
1 parent e2ac9b1 commit 43d3322
Show file tree
Hide file tree
Showing 21 changed files with 63 additions and 223 deletions.
70 changes: 40 additions & 30 deletions README.md
@@ -1,49 +1,61 @@
<p align="center"><a href="https://vedic-lang.github.io"><img alt="Vedic" src="https://raw.githubusercontent.com/vedic-lang/vedic/main/assets/vedic-lang.png" width="300vw"/></a></p>
<p align="center">
<a href="https://vedic-lang.github.io/download">Download</a> ·
<a href="https://vedic-lang.github.io/">Documentation</a> ·
<a href="https://vedic-lang.github.io/vedic-ide">Online Ide</a>
</p>
<p align="center">
<i>Loved the tool? Please consider <a href="https://paypal.me/ptprashanttripathi/10">donating</a> to help it improve!</i><br>
<a href="https://paypal.me/PtPrashantTripathi"><img height='23' src="https://img.shields.io/badge/support-PayPal-blue?logo=PayPal&style=flat-square&label=Donate" alt="Donate"/></a>
<a href='https://ko-fi.com/ptprashanttripathi' target='_blank'><img height='23' width="100" src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' alt='Buy Coffee for ptprashanttripathi' /></a>
<a href="https://www.buymeacoffee.com/ptprashant09" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="23" width="100" style="border-radius:1px" /></a>
<a href="upi://pay?pa=pt1997@ybl&pn=Pt.+Prashant+Tripati&tn=Vedic_Transaction" target="_blank"><img src="https://raw.githubusercontent.com/ptprashanttripathi/linkpe/main/img/linkpebadge.svg" alt="Support Via UPI" height="23" style="border-radius:1px" /></a>
<a href="https://vedic-lang.github.io">
<img alt="Vedic"src="https://raw.githubusercontent.com/vedic-lang/vedic/main/assets/vedic-lang.png" width="300vw"/>
</a>
<br>
<a href="https://vedic-lang.github.io/download">Download</a> ·
<a href="https://vedic-lang.github.io/">Documentation</a> ·
<a href="https://vedic-lang.github.io/vedic-ide">Online Ide</a>
<br><br>
<i>Loved the tool? Please consider <a href="https://paypal.me/ptprashanttripathi/10">donating</a> to help it improve!</i>
<br>
<a href="https://paypal.me/PtPrashantTripathi">
<img height='23' src="https://img.shields.io/badge/support-PayPal-blue?logo=PayPal&style=flat-square&label=Donate" alt="Donate"/>
</a>
<a href='https://ko-fi.com/ptprashanttripathi' target='_blank'>
<img height='23' width="100" src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' alt='Buy Coffee for ptprashanttripathi' />
</a>
<a href="https://www.buymeacoffee.com/ptprashant09" target="_blank">
<img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="23" width="100" style="border-radius:1px" />
</a>
</p>

> Vedic is World first Programming launguage in Sanskrit
## Vedic Programming Language

> Introducing **Vedic** 🎉 - A Sanskrit programming language interpreter written in Rust! 🎉 Designed for simplicity and power, Vedic allows developers to write modern programs in the ancient language of Sanskrit.
## 👨‍💻 Installation

Vedic works on macOS, Linux, and Windows. vedic is a single binary executable. It has no external dependencies.

## ⌨️ Sample Code
### Download and install

![sample vedic code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yp0z1i5j08isr1fbc04h.png)
Visit the [Download page](https://vedic-lang.github.io/download), which offers convenient scripts for downloading and installing the binary.

**Output:**
![output](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uzg8o7t1b6pmejaknbj0.png)
### Using Shell (Linux and macOS):

```bash
curl -fsSL https://vedic-lang.github.io/install/install.sh | sh
```

## 📖 Documentation

Vedic Documentation are available at [vedic-lang.github.io](https://vedic-lang.github.io/)

## 👨‍💻 How To Use

Vedic Script is very easy to set up, just follow the [Install Instructions](https://vedic-lang.github.io/how-to-use) for your system
## 🌐 Community

## 🌐 Join us on Discord
**Join us on Discord**

<p><a href="https://discord.gg/sWCHauhNQ2"><img width="60" src="https://raw.githubusercontent.com/vedic-lang/vedic/main/discord.png"/></a></p>
<p><a href="https://discord.gg/sWCHauhNQ2"><img width="150" src="https://raw.githubusercontent.com/vedic-lang/vedic/main/assets/discord-logo.png"/></a></p>

## 👤 Author
## 👤 Author

<p><a href="https://github.com/vedic"><img width="60" src="https://avatars2.githubusercontent.com/u/26687933?s=200&v=4"/></a></p>
<p><a href="https://github.com/ptprashanttripathi"><img width="60" src="https://avatars2.githubusercontent.com/u/26687933?s=200&v=4"/></a></p>

[**Pt. Prashant Tripathi**](https://github.com/ptprashanttripathi)

- Twitter: [@ptprashant09](https://twitter.com/ptprashant09)
- Github: [@ptprashanttripathi](https://github.com/ptprashanttripathi)
- LinkedIn: [ptprashanttripathi](https://www.linkedin.com/in/ptprashanttripathi/)
- Dev.to : [ptprashanttripathi](https://dev.to/ptprashanttripathi)

[Github](https://github.com/ptprashanttripathi) · [Twitter](https://twitter.com/ptprashant09) · [LinkedIn](https://www.linkedin.com/in/ptprashanttripathi/)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [Contributing Guide](https://github.com/vedic-lang/vedic/blob/main/CONTRIBUTING.md).
Expand All @@ -52,8 +64,6 @@ Contributions, issues and feature requests are welcome!<br />Feel free to check

Give a ⭐️ if this project helped you!

<a href="https://www.patreon.com/ptprashanttripathi"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160"></a>

## 📝 License

Copyright © 2022 [Pt. Prashant Tripathi](https://github.com/ptprashanttripathi).<br />
Expand Down
Binary file removed assets/128x128.png
Binary file not shown.
Binary file removed assets/128x128@2x.png
Binary file not shown.
Binary file removed assets/32x32.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified assets/vedic-lang.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/vedic-lang_500x500.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 0 additions & 14 deletions benchmarks/index.html

This file was deleted.

132 changes: 0 additions & 132 deletions benchmarks/script.js

This file was deleted.

11 changes: 0 additions & 11 deletions cicd/installer.iss

This file was deleted.

File renamed without changes.
Binary file added cli/wix/dialog.bmp
Binary file not shown.
8 changes: 4 additions & 4 deletions cli/wix/main.wxs
Expand Up @@ -70,7 +70,7 @@

<Package Id='*'
Keywords='Installer'
Description='todo description'
Description='Vedic is A Sanskrit programming language interpreter written in Rust! Designed for simplicity and power, Vedic allows developers to write modern programs in the ancient language of Sanskrit.'
Manufacturer='Pt. Prashant Tripathi'
InstallerVersion='450'
Languages='1033'
Expand Down Expand Up @@ -197,7 +197,7 @@
Disabling the EULA dialog in the installer requires commenting out
or removing the following `WixVariable` tag
-->
<WixVariable Id='WixUILicenseRtf' Value='License.rtf'/>
<WixVariable Id='WixUILicenseRtf' Value='cli\wix\License.rtf'/>


<!--
Expand All @@ -208,7 +208,7 @@
The banner BMP dimensions are 493 x 58 pixels.
-->
<WixVariable Id='WixUIBannerBmp' Value='assets\banner.bmp'/>
<WixVariable Id='WixUIBannerBmp' Value='cli\wix\banner.bmp'/>


<!--
Expand All @@ -219,7 +219,7 @@
The dialog BMP dimensions are 493 x 312 pixels.
-->
<WixVariable Id='WixUIDialogBmp' Value='assets\dialog.bmp'/>
<WixVariable Id='WixUIDialogBmp' Value='cli\wix\dialog.bmp'/>

</Product>

Expand Down
8 changes: 4 additions & 4 deletions core/src/logger.rs
Expand Up @@ -15,12 +15,12 @@ use web_sys::console;

#[cfg(target_arch = "wasm32")]
pub fn log(message: &str) {
let js_mulya: JsMulya = message.into();
console::log_1(&js_mulya)
let js_value: JsValue = message.into();
console::log_1(&js_value)
}

#[cfg(target_arch = "wasm32")]
pub fn log_dosa(message: &str) {
let js_mulya: JsMulya = message.into();
console::dosa_1(&js_mulya)
let js_value: JsValue = message.into();
console::error_1(&js_value)
}
12 changes: 0 additions & 12 deletions tests/example/nirdesa.ved

This file was deleted.

29 changes: 14 additions & 15 deletions tests/example/suchi.ved
@@ -1,18 +1,17 @@
# # Creating an सूचि
# मान क = [["आम",१ ],["संतरा",२],["सेब",३]]; # todo
# वद क;
# Creating an सूचि
मान क = [["आम",१ ],["संतरा",२],["सेब",३]];
वद(क); # expect: [[आम, १], [संतरा, २], [सेब, ३]]

# # Adding elements to a सूचि
# मान सप्तर्षि = []; # रिक्त सूचि - Empty list
# Adding elements to a सूचि
मान सप्तर्षि = []; # रिक्त सूचि - Empty list

# मान सप्तर्षि[]= "Kashyapa";
# मान सप्तर्षि[]= "Atri";
# मान सप्तर्षि[]= "Vasistha";
# मान सप्तर्षि[]= "Vishwamitra";
# मान सप्तर्षि[]= "Bharadvaja";
# मान सप्तर्षि[]= "Gautama";
# मान सप्तर्षि[]= "Jamadagni";

# वद सप्तर्षि;
# वद कुल(सप्तर्षि);
सप्तर्षि.आगम("Kashyapa");
सप्तर्षि.आगम("Atri");
सप्तर्षि.आगम("Vasistha");
सप्तर्षि.आगम("Vishwamitra");
सप्तर्षि.आगम("Bharadvaja");
सप्तर्षि.आगम("Gautama");
सप्तर्षि.आगम("Jamadagni");

वद(सप्तर्षि); # expect: [Kashyapa, Atri, Vasistha, Vishwamitra, Bharadvaja, Gautama, Jamadagni]
वद("लंबाई =",कुल(सप्तर्षि)); # expect: लंबाई = ७
2 changes: 1 addition & 1 deletion tests/suchi/agama.ved
Expand Up @@ -10,6 +10,6 @@
सप्तर्षि.आगम("Jamadagni");

वद(सप्तर्षि); # expect: [Kashyapa, Atri, Vasistha, Vishwamitra, Bharadvaja, Gautama, Jamadagni]
वद("length =",कुल(सप्तर्षि)); # expect: length = ७
वद("लंबाई =",कुल(सप्तर्षि)); # expect: लंबाई = ७

वद(सप्तर्षि.निर्गम()); # expect: Jamadagni

0 comments on commit 43d3322

Please sign in to comment.