0.6.2 • Published 8 months ago

kochanowski v0.6.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
8 months ago

About

Kochanowski Programming Language (KPL) is an esoteric language based on the Polish language which makes an easy coding problem next to impossible, especially if you don't speak Polish.

Installation

Prerequisites

Installation guide

The following steps will guide you through the process of setting up and configuring the kochanowski package in your project.

  1. Begin by creating a new project directory and initializing it with the Kochanowski package. Run the following command in your terminal:

    npm create kochanowski
  2. After the project has been initialized, navigate to your project directory and locate the indeks.kpl file. This file contains your KPL script. To compile and run the script, use the following command:

    npm start

Quickstart

Write anything in Polish, and it will come to appear. If you encounter a "bug", don't be afraid, as it's working as intended. You can use our pre-made examples:

Fibonacci sequence

Zdefiniuj zmienną pierwsza liczba o wartości równej 1.
Wyczaruj zmienną druga liczba o wartości równej 0.
Spłódź zmienną trzecia liczba o wartości równej 0.

Powtórz przez 10 powtórzeń następujące polecenia.

Zmiennej trzecia liczba przypisz pierwsza liczba dodać druga liczba.
Przypisz wartość druga liczba zmiennej pierwsza liczba.
Zmiennej druga liczba przypisz trzecia liczba.

Wydrukuj druga liczba.

Przejdź do następnej iteracji.

Creating a triangle out of characters

Zdefiniuj tekst o wartości X.

Powtórz przez 5 powtórzeń następujące polecenia.

Wydrukuj tekst.
Dodaj X do tekstu.

Przejdź do następnej iteracji.

Simple grade to comment algorithm

Zdefiniuj zmienną ocena o wartości równej 5.

Drukuj "Twój wynik mnie nie satysfakcjonuje".

If you have any trouble you can always check the /data directory in the module and follow this chart:

flowchart TB
    A[Zdefiniuj zmienną X o wartości 5.] -->|fa:fa-book Find words' meaning from synonyms.json| B[create var X value 5]
    B -->|fa:fa-gears Format to a function using schemas.json| C["create_variable(X, 5);"]

Contributors

0.6.2

8 months ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.2

1 year ago

0.6.0

11 months ago

0.3.0

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.8

3 years ago

0.4.0

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago