Giter VIP home page Giter VIP logo

streetslang's Introduction

StreetsLang - CyberPunk

StreetsLang CyberPunk Programming language made with python | It is python language with different names :)

I'm working on this language to make it better...

#!/usr/bin/env streetslang

~ name:
    ~ StreetsLang 

~ Extensions: 
    ~ slang
    ~ streetslang

Changes

Python StreetLang
import huscle
from from
as as
if whether
elif whethernot
else otherwise
try try
except except
finally finally
for for
while while
is is
in in
with with
open open
break disrupt
continue carryon
print slout
input slin
lambda cr
def circ
return return
class rep
self borg
True Green
False Red
pass pass
None Null
del del
global global
nonlocal nonlocal
raise raise
yield yield
assert assert
# comment ~ commant
and and
or or
not not

Example

#!/usr/bin/env streetslang

~ StreetsLang

from time huscle sleep
huscle os

rep Account:

    circ __init__(borg, user, pswd):
        borg.user = user
        borg.pswd = pswd

    circ login(borg):
        whether borg.user == "user" and self.pswd == "admin": 
            slout("Valid login")

        whethernot borg.user == "user" and self.pswd != "admin":
            slout("Invalid password")

        whethernot borg.user != "user" and self.pswd == "admin":
            slout("Invalid username")

        otherwise:
            slout("Invalid login")

username = slin("Enter your username: ")
password = slin("Enter your password: ")
sleep(1)

myObj = Account("user", "admin")
myObj.login()

Clone

git clone https://github.com/StreetsLang && cd StreetsLang && chmod +x streetslang

Run

./streetslang script.slang

streetslang's People

Contributors

kourva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

5l1v3r1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.