Finif

From Esolang
Jump to navigation Jump to search

Finif is a joke language created by User:Rootflier102 that is a simple esoteric language with some complex elements. It's not really an esoteric language, as Finif is more of a regular programming language.

Syntax

Syntax is divided into four parts: Prefix, Condition, Action, and Suffix.

  • The order of syntax goes like this: "On (Prefix) by (Condition), do (Action) and end with (Suffix)." It's basically similar to the puzzle game Baba is You, except it's different.
  • The prefix is the start of syntax, aka the "starter". It's required to run a block of syntax code.
  • The condition is basically a condition; A block of syntax can only run if it meets the condition.
  • The action is the result of a condition/prefix. It can be used to execute scripts or macros, for example.
  • The suffix is the end of syntax, aka the "stopper". It's required to stop a block of syntax code.

For example: the command "require" has to require something or else it won't work. Only works for (Condition) -> (require.examplescript).

Colons (:) describe a variable or property of something. Works for any syntax. Example; (pyscript.function.near:line17) / (code.debug.near:eof)

Examples

Here are some examples, if you're confused:

on (pyscript.execute) by (require.pyscript) do (pyscript.function) and end with (pyscript.close) -- Python script execution

on (hashing.init.run) by (require.hashing) do (hashing.decode) and end with (hashing.stop) -- To decode something using hashing

on (hashing.init.run) by (require.hashing) do (hashing.decode.base:val32) and end with (hashing.stop) -- Decoding Base32 using hashing