Skip to content

zurgeg/poopy-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poopy-lang

Run Tests

Basic syntax

Strings

Strings are simply represented by 's and are used in view statments, which I'll get to later.

Variables

You can assign a variable just like in Python: name = value. You can also use name >> which gets the value of a variable.

View statments

The view statement is used just like Python 2's print keyword. Do view 'hello'.

If statments

The only current statement supported is the if value => othervalue: which is if value is equal to (=>) other value return True. Otherwise, return False

Expressions

Just like a math equation * for mulitplying, + for adding, - for subtracting, /, for division, ** for exponents, // for sqrt.

Functions

W.I.P

Modules

import modulename

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published