Skip to content
/ Vython Public
forked from cvython/Vython

A working programming language made using Python!

License

Notifications You must be signed in to change notification settings

fineans/Vython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vython

Download

  • Get The Latest Release For Windows NOW
  • Get The Latest Release For MacOS(Not Released Yet) NOW
  • Get The Latest Release For Linux(Not Released Yet) NOW
  • After downloading the latest release, open the app folder in the unzipped .zip file and move this folder to your desired locations. This folder contains the vython.exe compiled file.

Running A Script

PS C:\Users\User\vython>./vython main.vy
  • The scripts' file extension must be .vy

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")
}
  • 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 ➡ '%'

Todo

  • Add while loops
  • Implement Famous Python Modules(eg. Pandas, Numpy, etc)
  • Make A Website

License

This Project is MIT Licensed

About

A working programming language made using Python!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%