Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.68 KB

README.md

File metadata and controls

53 lines (44 loc) · 1.68 KB


IKEA# logo
IKEA#

The new groundbreaking programming language

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

PresentationHow To UseDocumentationExamplesLicense

Presentation

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

How To Use

Clone the project and run

go run main.go examples/math.ikea

Then follow the instructions

Documentation

Here is an example to get the user entry:

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

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