Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hugolgst/ikea-sharp

📦The new groundbreaking programming language
https://github.com/hugolgst/ikea-sharp

compiler golang ikea-sharp programming-language

Last synced: 12 days ago
JSON representation

📦The new groundbreaking programming language

Awesome Lists containing this project

README

        




IKEA# logo


IKEA#


The new groundbreaking programming language

⚠️ This programming language is a prototype written in Golang, use it at your own risk


Presentation —
How To Use —
Documentation —
Examples —
License

## Presentation
This language is pronounced "Ikea Sharp", and its **only** goal is to disrupt you.

## How To Use
Clone the project and run
```go
go run main.go examples/math.ikea
```
Then follow the instructions

## Documentation

Here is an example to get the user entry:
```ikea
SMĂ…GLI FUNKĂ–N SKOGSFIBBLA Hello! SKOGSFIBBLA Ă„PPLARĂ– FJĂ„LLBO
SMĂ…GLI FUNKĂ–N SKOGSFIBBLA What is your name! SKOGSFIBBLA Ă„PPLARĂ– FJĂ„LLBO
TOSTERĂ– FUNKĂ–N SKOGSFIBBLA name SKOGSFIBBLA Ă„PPLARĂ– FJĂ„LLBO
FULLSPĂ„CKAD FUNKĂ–N SKOGSFIBBLA Hello %s! SKOGSFIBBLA SMĂ…KALLT FUNKĂ–N name Ă„PPLARĂ– Ă„PPLARĂ– FJĂ„LLBO
```

Please see the examples [here](https://github.com/hugolgst/ikea-sharp/tree/master/examples)

### Methods
* TILLGĂ…NG key value : Saves the value in the key
* SMĂ…KALLT key : Gets the value of the given key
* TOSTERĂ– key : Saves the console entry into the given key
* SMĂ…GLI String : Prints in the console
* FULLSPĂ„CKAD String... : Printf
* VĂ…RHOLMEN Int Int : Adds
* SMĂ…GĂ–RA Int Int : Subtracts
* Ă„NGSLILJA Int Int : Multiply
* BLĂ–TSNĂ– Int Int : Divide
* SNĂ–YRA Int Int : Random number between min and max