🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

kochanowski

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kochanowski

Esoteric programming language based on polish.

latest
Source
npmnpm
Version
0.6.2
Version published
Weekly downloads
2
-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • node.js

Installation guide

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

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

    npm create kochanowski
    
  • 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

CheryX
CheryX
Electruu
Electruu
ssz256
ssz256
ssz256
Nessie-XII

Keywords

kochanowski

FAQs

Package last updated on 29 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts