ℙ𝕖𝕡 🙴 ℕ𝕠𝕞

home | documentation | examples | translators | download | blog | all blog posts

Why is the sun (le soleil) masculine and the moon (la lune) feminine? Because they married each other and they belong together even though they are opposites. Cadaques Jordi

statements in the ℕ𝕠𝕞 language

A statement is a command followed by zero, one or two parameters (single or double-quoted text) and a semi-colon. The parameters are not separated by commas.

All statements are terminated with a semi-colon except for .reparse , .restart and the parse> label. Sequences of statements can be grouped together in blocks .

The replace is the only command that takes 2 quoted parameters or arguments.

replace all occurrences of "try" with "do" in the workspace buffer
 replace "try" "do";

All whitespace is optional in statements and in the nom language, except within quotes and tests

no spaces are required anywhere
 read;replace"a""z";print;clear;  # this is ok

Also a single statements can span multiple lines.

spreading out an "add" statement


   read; 
   add 

    "."
   ;
 

notes