Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

Commit 5bf5740

Browse files
author
Glitch
committed
Change readme
1 parent 3ea10ab commit 5bf5740

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

README.md renamed to githubREADME.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<h1 align = "center"> PyScript </h1>
22
<h5 align = "center"> The Unoffical and Offical Language coded by @JBYT27</h5>
3+
<h6 align = "center"> View the `replitREADME.md` if you are viewing this on replit.
34

45
<br>
56

@@ -8,6 +9,11 @@
89

910
<br>
1011

12+
## Using the PL
13+
#### To use it, please either fork the repl, or fork the repo, either one works! :)
14+
15+
<br>
16+
1117
## Code of Conduct
1218
#### Please view the [`CODE_OF_CONDUCT`](https://github.com/PyScript-Language/PyScript-Compiler/blob/master/CODE_OF_CONDUCT.md) README!
1319

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
try:
99
f = open(f'{fp}')
1010
except:
11-
exit()
11+
raise Exception("No Such File Exists!")
1212
else:
13-
exit()
13+
raise Exception("The file isn't a '.pys' file!")
1414

1515
content = f.read()
1616
colist = content.split("\n")
@@ -519,12 +519,12 @@ def CONSOLEprint():
519519
wrd = "time.strftime("
520520

521521

522-
523522
elif "os.system(" in lines:
524523
osSYSTEM()
525524

526525
elif "os.environ[" in lines:
527-
osENVIRON()
526+
#osENVIRON()
527+
pass #the function above doesnt even do anything.
528528

529529

530530

mainREADME.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## _**Attention!**_
2+
If you are viewing this on github, view the [githubREADME](). If you are viewing this on replit, view teh [replitREADME]()

replitREADME.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PyScript
2+
##### The Unoffical and Offical Language coded by @JBYT27
3+
###### View the `githubREADME.md` if you are viewing this on GITHUB.
4+
5+
## About the language
6+
#### PyScript is a PL *(programming language)*; `Python` combined with `JavaScript`. The syntax is a bit wobbled up, but it's basically `JavaScript` syntax and `Python` syntax mashed together. Like I said, it's wobbled up because they don't really fit, __`whitespace`__ *vs* __`brackets`__. For more info about the syntax, you can visit the docs (below). The language is meant to be a scripting language combined with a bit of `OOP`* Language as well. So it's mostly a `Scripting` Language, bit then again, it can be used as an `OOP` Language.
7+
8+
## Using the PL
9+
#### To use it, please either fork the repl, or fork the repo, either one works! :)
10+
11+
## Code of Conduct
12+
#### Please view the [`CODE_OF_CONDUCT`](https://github.com/PyScript-Language/PyScript-Compiler/blob/master/CODE_OF_CONDUCT.md) README!
13+
14+
## License
15+
#### Please view the [`LICENSE`](https://github.com/PyScript-Language/PyScript-Compiler/blob/master/LICENSE) for more!
16+
17+
## PyScript Docs
18+
#### The docs are located in a separate repo/repl, but the link is [here](https://pyscript-docs.jbloves27.repl.co)
19+
> Note that it might take a long time to load as it is coded in reactjs.
20+
21+
##### * OOP stands for Object-Oriented-Programming

0 commit comments

Comments
 (0)