SkillAgentSearch skills...

Nikud

A Stack-Based programming language, using Hebrew Niqqud diacritical marks

Install / Use

/learn @bary12/Nikud
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Nikud

If Brainfuck wasn't enough for you, get used to programming with tiny diacritics that cram together in the width of a single character.

Nikud is an esoteric stack-based programming language based solely on the Hebrew Niqqud diacritics. All other characters are ignored. Try it Online

Examples

The following code (336 characters, 672 bytes) outputs Hello, World!

ֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֲֳֳֳֳֳֳֳֳֳֳֳֳֳֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַַָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָָ

or in a slightly more verbose way, !ֱֱֱֶֶֶֶַַָָָָdֱֱֶֶֶֶַַָָָlֱֱֱֱֶֶֶֶֶֶַַַַָָָָָrֱֱֱֱֱֱֱֱֶֶֶֶֶֶֶַַַַַַַַַָָָָָoֱֱֱֱֱֶֶֶֶֶֶֶַַַַַַָָָָָWֱֱֱֱֲֶֶֶֶֶֶֶֶַַַַַַַַָָָָ ֱֱֶֶֶֶַָָָָ,ֱֱֱֱֱֱֱֱֱֱֶֶֶֶֶֶֶֶֶֶֶֶֶַַַַַַַַַַַַַָָָָָָָָָoֱֱֱֱֱֶֶֶֶֶֶֶַַַַַַָָָָָlֱֱֱֱֶֶֶֶֶֶַַַַָָָָָlֱֱֱֱֶֶֶֶֶֶַַַַָָָָָeֱֱֱֶֶֶֶַַַָָָHֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֳֳֳֳֳֳֳֳֳֳֳֳֳֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶַַַַַַַַַַַַַַַַַַַַַַָָָָָָָָָָָָָָ outputs the same thing. Remember, non-Niqqud characters are ignored.

The code ְֱֱֱֱֱֱֱֱֱֱֱֱֲֳִִֵֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶַַַַַַַַַָָָָָָָָָָָָֺֺֺֹֻֻ (122 bytes) outputs 2 3 5 8 13 21 34, and can be changed to support arbitrarely large Fibonnaci numbers.

The code ְְְְְְְְְְְְְְְְְְֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֲֲִִִִֵֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶֶַַַַַַַַַַַַַַַַַַַַַַַָֹֺֺֹֻֻּ (198 bytes) takes a number as input and outputs its factorial.

Supported operations

אְ

(DROP) Pops the top value of the stack and discards it.

אֱ

(PUSH 1) Pushes 1 to the top of the stack

אֲ

(PUSH -1) Pushes -1 to the top of the stack

אֳ

Pops the top of the stack and prints the unicode character with that charcode

אִ

(GOTO) Pops the top of the stack and performs a GOTO to the character at that position (Non-Niqqud characters are ignored)

אֵ

Pops the top of the stack and prints it as a number

אֶ

(DUP) Duplicated the top of the stack.

אַ

(ADD) Pops the two elements at the top of the stack, adds them, and returns the result to the stack

אָ

(MULT) Pops the two elements at the top of the stack, Multiplies them, and returns the result to the stack

אֹ

(SKIP NON-ZERO) Pops the top of the stack. If that element is non-zero, the next operator will be skipped.

אֺ

(SWAP) Swaps the two items at the top of the stack

אֻ

(ROT) Moves the third-to-last item to the top of the stack

אּ

Reads a number from stdin and puts it onto the stack.

אׁ

Reads one character from stdin as charcode.

Related Skills

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1y ago
Forks1

Languages

TypeScript

Security Score

80/100

Audited on Apr 11, 2024

No findings