Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hugolgst/ikea-sharp
- Owner: hugolgst
- Created: 2020-04-19T17:05:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T17:35:22.000Z (over 4 years ago)
- Last Synced: 2024-11-01T21:51:22.993Z (19 days ago)
- Topics: compiler, golang, ikea-sharp, programming-language
- Language: Go
- Homepage:
- Size: 939 KB
- Stars: 57
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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