Git Product home page Git Product logo

swami's Introduction

Swami#

A low level python base language based on Swami Shaggy Credits in terminal

Syntax

the syntax in swami# is a little tricky

to call a function the syntax is as follows

functionName output_variable : arg1,arg2

functionName : arg1, arg2

functionName

define functions:

def funcName

end function with zoinks return_value

call if statements and loops using if bool and loop bool

end if statements with jeepers

end functions and loops with zoinks

NO semicolons in print statements (unless you have an output variable for the print statement which works for somereason)

every line will be a function call or a loop,function,if statement declaration

call function or vars to see variables and builtin/written functions

function see is like print, the rest are pretty self explanatory, I have included examlple programs so you can see how it works

ALL variables are global

Terminal

Use file yourfilename.txt to create a file or edit it

Use run yourfilename.txt to run a file

Use programs to see all your programs

Use exit to, you guessed it, exit the terminal

A final word

Swami# is by no means a programming language to be taken seriously, it is more a fun project, but if youd like, try to learn it, its incredibly quick to pick up because its so basic

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.