GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cvython/Vython: A working programming language made using Python!

BranchesTags
Open more actions menu

Latest commit

 

History

93 Commits
93 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
examples
examples
 
 
vython
vython
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
arguments.py
arguments.py
 
 
favicon.png
favicon.png
 
 
main.py
main.py
 
 
repl.py
repl.py
 
 
run.py
run.py
 
 
tokens.py
tokens.py
 
 

Repository files navigation

Vython

Download & Setup

  • Clone the repo from Github:
git clone https://github.com/cvython/Vython.git
  • Enter Into Its Derectory
cd Vython
  • You're All Set!

Running A Script

$ python3 vython.py main.vo
  • The scripts' file extension must be.vo
  • The scripts' file extension can be anything from .txt to .vo! Though it is recommended to use the file extension .vo.

Usage

  • Print:
show("Hello World")
  • Take Input:
age = enter("Age: ") 
  • Print Text And Variable:
show("Age = "+age) 
  • If Statements:
if a > 18
{
    show("Adult")
}else
{
    show("Child")
}
  • If Statement With 'and':
if a > 18 and a < 50
{
    show("Adult, But Not Old")
}
  • If Statement With 'or':
if a > 18 || a > 16
{
    show("Can Drive")
}
  • Check If Variable A Particular Type:
if canbe(a, "int")
{
    show("Variable is an integer")
}
  • Supported Variable Forms:
    • Integer ➡ int()
    • Float ➡ float()
    • String ➡ str()
    • List ➡ list[]
      • Select Cell From List:
      a = [0, 1, 2, 3, 4, 5]
      ## Show The First Cell
      show(a[0])
      
  • Supported Arethmetic Opperations:
    • Addition ➡ '+'
    • Subtraction ➡ '-'
    • Division ➡ '/'
    • Multiplication ➡ '*'
    • Remainder ➡ '%'

Credits

  • Vedant K
  • Pranav Baburaj
  • Harry

License

This Project is MIT Licensed

About

A working programming language made using Python!

Topics

fanmadefanmade-remakeprogramming-languagepython

Resources

Readme
MIT license
Activity
Custom properties

Stars

25 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Sponsor this project

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.