Metadata-Version: 2.1
Name: sydneyscript
Version: 0.6.2
Summary: UNKNOWN
Home-page: https://github.com/pooriaahmadi/sydneyscript
Author: Pooria Ahmadi
Author-email: pooriababak444@gmail.com
License: MIT
Keywords: language interpreter sydney script
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE.rst

# SydneyScript - A programming language

A toy programming language made from scratch with python based on my friend's most used words as keywords as a gift. TOTALLY NOT FOR [@sydeich](https://github.com/sydeich)

## FAQ

#### Why?

Sometimes you need to give ppl something that they deserve, right?

#### Will it get updated?

Absolutely not.

#### Can I contribute?

YESSS

## Installation

Install SydneyScript with pip:

```bash
  > pip install sydneyscript
  done!
```

Running an app:

```bash
> sydneyscript FILENAME.syd
```

SydneyScript shell:

```bash
> sydneyscript
```

## Hello world

Lets code a different hello world application!

```javascript
# hello_world.syd
FUNKY uwuify(prefix) -> prefix + " UWU"

FUNKY mass_uwu_print(text, times)
    PARADOX i = 0 TO times SOWHAT
        SHOUT(uwuify(text))
    YUMYUM
YUMYUM

mass_uwu_print("Hello world", 10)

# OUTPUT: "Hello world UWU" * 10
```

## Features

-   Variables
-   AND / OR
-   IF / ELSE IF / ELSE
-   FOR / WHILE
-   FUNCTIONS

## Syntax

| Tradtional keyword | SydneyScript keyword    |
| ------------------ | ----------------------- |
| const              | BOWL                    |
| and                | AND                     |
| or                 | OAR                     |
| not                | FLIP                    |
| if                 | DEBATE                  |
| else if            | TOLDYOU                 |
| else               | LASTCHANCE              |
| for                | PARADOX                 |
| step               | STEP                    |
| while              | SINCE                   |
| function/def       | FUNKY                   |
| then               | SOWHAT                  |
| end                | YUMYUM                  |
| return             | YEET                    |
| continue           | EVERYTHINGISGONNABEFINE |
| break              | DOOMED                  |

#### Variables

```javascript
BOWL cool_variable = "I'm a cool string variable!"
```

#### For Loops

```javascript
PARADOX i = 0 TO 10 SOWHAT
	SHOUT(i)
YUMYUM
```

#### Functions

```javascript
FUNKY say_hello(name)
	YEET "Hello " + name
YUMYUM
# OR
FUNKY say_hello(name) -> "Hello " + name
```

#### If Statement

```javascript
DEBATE (2+2 == 5) SOWHAT
	SHOUT("2+2 is equal to 5")
TOLDYOU (2+2 == 4) SOWHAT
	SHOUT("2+2 is equal to 4")
LASTCHANCE SOWHAT
	SHOUT("WHO CARES?")
YUMYUM
```

## Author(s)

-   [@pooriaahmadi](https://www.github.com/pooriaahmadi)

## License

[MIT](https://choosealicense.com/licenses/mit/)


