-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
1,383 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Gpzer My Own Programing Language | ||
|
||
This is a new programing lamguage I made which i named as gpzer and it is made using python and using the concepts of OOPs . This is a interpreted language that i have created | ||
|
||
## Features | ||
|
||
### Intialize a variable | ||
``` | ||
pikachu a = 4 | ||
``` | ||
### Create a function | ||
``` | ||
pokeball add(a,b); | ||
pikachu ans=a+b | ||
return ans | ||
end | ||
``` | ||
### Have many other features | ||
``` | ||
pikachu list=[1,2,3] | ||
go(list/0) $ here 'go' is used to print in this language and 'list/0' is to retrive element at 0 index and '$' is used for comments | ||
``` | ||
|
||
## Getting Started | ||
|
||
To get started with "New Language", follow these steps: | ||
|
||
1. Clone this repository to your local machine. | ||
2. Install Python 3.x if you haven't already. | ||
3. Create a file with extenstion .gp | ||
4. Write the code in that file | ||
5. Run the `main.py` file using the Python interpreter. | ||
6. You will see a terminal with 'gpzer>' and run command | ||
``` | ||
$ python main.py | ||
gpzer> run("file_name.gp") | ||
``` |
Oops, something went wrong.