Skip to content

Commit fb06a53

Browse files
Updated: V1.2
1 parent a484461 commit fb06a53

File tree

8 files changed

+48
-33
lines changed

8 files changed

+48
-33
lines changed

.vscode/launch.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-msedge",
9+
"request": "launch",
10+
"name": "Open index.html",
11+
"file": "/home/pandit/Desktop/vedic-ide/index.html"
12+
}
13+
]
14+
}

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 vedicscript
3+
Copyright (c) 2022 Vedic <Pt. Prashant Tripathi>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<h1 align="center">Welcome to Vedic IDE 👋</h1>
22
<p>
3-
<a href="https://vedicscript.github.io" target="_blank">
3+
<a href="https://vedic-lang.github.io" target="_blank">
44
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
55
</a>
6-
<a href="https://github.com/vedicscript/vedic-ide/blob/main/LICENSE" target="_blank">
6+
<a href="https://github.com/vedic-lang/vedic-ide/blob/main/LICENSE" target="_blank">
77
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
88
</a>
99
<a href="https://twitter.com/ptprashant09" target="_blank">
@@ -13,9 +13,9 @@
1313

1414
> Vedic IDE for world first programing langage in sankrit
1515
16-
### 🏠 [Homepage](https://vedicscript.github.io/vedic-ide)
16+
### 🏠 [Homepage](https://vedic-lang.github.io/vedic-ide)
1717

18-
### [Demo](https://vedicscript.github.io/vedic-ide)
18+
### [Demo](https://vedic-lang.github.io/vedic-ide)
1919

2020
## Author
2121

@@ -28,7 +28,7 @@
2828

2929
## 🤝 Contributing
3030

31-
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/vedicscript/vedic-ide/issues).
31+
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/vedic-lang/vedic-ide/issues).
3232

3333
## Show your support
3434

@@ -41,7 +41,7 @@ Give a ⭐️ if this project helped you!
4141
## 📝 License
4242

4343
Copyright © 2022 [Pt. Prashant Tripathi](https://github.com/ptprashanttripathi).<br />
44-
This project is [MIT](https://github.com/vedicscript/vedic-ide/blob/main/LICENSE) licensed.
44+
This project is [MIT](https://github.com/vedic-lang/vedic-ide/blob/main/LICENSE) licensed.
4545

4646
***
4747
_made with ❤️ in india_

index.html

+11-24
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77
<link rel="stylesheet" href="css/styles.css">
88

99
<meta name="description"
10-
content="https://vedicscript.github.io/online-ide world first programming language in sanskrit">
10+
content="https://vedic-lang.github.io/vedic-ide world first programming language in sanskrit">
1111
<meta name="keywords"
12-
content="vedicscript, vedic,script, programming language, sanskrit, ptprashanttripathi, Pt. Prashant Tripathi">
12+
content="vedic-lang, vedic, programming language, sanskrit, ptprashanttripathi, Pt. Prashant Tripathi">
1313
<meta name="author" content="Pt. Prashant Tripathi">
1414
<meta property="og:locale" content="en_US">
1515
<meta property="og:type" content="website">
1616
<meta property="og:title" content="Vedic Script Online IDE">
1717
<meta property="og:description"
18-
content="https://vedicscript.github.io/online-ide world first programming language in sanskrit">
19-
<meta property="og:url" content="https://vedicscript.github.io/online-ide/">
18+
content="https://vedic-lang.github.io/vedic-ide world first programming language in sanskrit">
19+
<meta property="og:url" content="https://vedic-lang.github.io/vedic-ide/">
2020
<meta property="og:site_name" content="Vedic Script Online IDE">
2121
<meta property="article:author" content="Pt. Prashant Tripathi">
2222
<meta property="article:tag"
23-
content="vedicscript, vedic,script, programming language, sanskrit, ptprashanttripathi, Pt. Prashant Tripathi">
23+
content="vedic-lang, vedic,script, programming language, sanskrit, ptprashanttripathi, Pt. Prashant Tripathi">
2424
<meta property="og:image" content="https://avatars.githubusercontent.com/u/103427648?s=200&v=4">
2525
<meta name="twitter:card" content="">
2626
<meta name="twitter:description"
27-
content="https://vedicscript.github.io/online-ide world first programming language in sanskrit">
27+
content="https://vedic-lang.github.io/vedic-ide world first programming language in sanskrit">
2828
<meta name="twitter:title" content="Vedic Script Online IDE">
2929
<meta name="twitter:image" content="https://avatars.githubusercontent.com/u/103427648?s=200&v=4">
3030
<meta name="twitter:creator" content="Pt. Prashant Tripathi">
@@ -39,9 +39,9 @@ <h3>Vedic Script
3939
</h3>
4040
<nav>
4141
<ul>
42-
<li><a href="/">Home</a></li>
43-
<li><a href="/">Docs</a></li>
44-
<li><a href="https://github.com/vedicscript/vedicscript">Github</a></li>
42+
<li><a href="https://vedic-lang.github.io/vedic-ide">Home</a></li>
43+
<li><a href="https://vedic-lang.github.io">Docs</a></li>
44+
<li><a href="https://github.com/vedic-lang/vedic">Github</a></li>
4545
</ul>
4646
</nav>
4747
</header>
@@ -60,26 +60,13 @@ <h4 style="color: grey;">#CONSOLE</h4>
6060
</div>
6161
<div class="hint-area">
6262
<h4 style="color: grey;">#KEYWORDS</h4>
63-
<button onclick="editorLib.add('वद्');">वद्</button>
64-
<button onclick="editorLib.add('यदि');">यदि</button>
65-
<button onclick="editorLib.add('अथ​');">अथ​</button>
66-
<button onclick="editorLib.add('सत्य​');">सत्य​</button>
67-
<button onclick="editorLib.add('असत्य​');">असत्य​</button>
68-
<button onclick="editorLib.add('सूत्रम्');">सूत्रम्</button>
69-
<button onclick="editorLib.add('फल​');">फल​</button>
70-
<button onclick="editorLib.add('चक्रम्');">चक्रम्</button>
71-
<button onclick="editorLib.add('पर्यन्तम्');">पर्यन्तम्</button>
72-
<button onclick="editorLib.add('विराम्');">विराम्</button>
73-
<button onclick="editorLib.add('निर्देश');">निर्देश</button>
74-
<button onclick="editorLib.add('यद​');">यद​</button>
75-
<button onclick="editorLib.add('यदभवे');">यदभवे</button>
76-
<button onclick="editorLib.add('अवहन्');">अवहन्</button>
63+
<!-- <button onclick="editorLib.add('वद्');">वद्</button> -->
7764
</div>
7865
</div>
7966
</div>
8067
<!-- Required Libraries -->
8168
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.14/ace.min.js" integrity="sha512-hDyKEpCc9jPn3u2VffFjScCtNqZI+BAbThAhhDYqqqZbxMqmTSNIgdU0OU9BRD/8wFxHIWLAo561hh9fW7j6sA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
82-
<script src="js/vedicscript.js" type="text/javascript"></script>
69+
<script src="js/vedic.js" type="text/javascript"></script>
8370

8471
<!-- Custom Scripts -->
8572
<script src="js/editor.js"></script>

js/editor.js

+12
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,15 @@ resetCodeBtn.addEventListener('click', () => {
7272
})
7373

7474
editorLib.init();
75+
76+
//add keyword button dnymically
77+
let Keyword = ["मान","वद्","यदि","अथ","सत्य","असत्य","सूत्र","फल","चक्रम्","पर्यन्तम्","विराम्","निर्देश","यद","यदभावे","अवहन्"];
78+
let KeywordArea = document.getElementsByClassName('hint-area')[0];
79+
Keyword.forEach(keyword => {
80+
let newBtn = document.createElement('button');
81+
newBtn.textContent = keyword;
82+
newBtn.addEventListener('click', () => {
83+
editorLib.add(keyword);
84+
});
85+
KeywordArea.appendChild(newBtn);
86+
});

js/vedic.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/vedicscript.js

-2
This file was deleted.

server.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#/usr/bin/bash
2+
python3 -m http.server 8080

0 commit comments

Comments
 (0)