Reference
This reference covers all built-in features, keywords, operators, constants, and functions available in the NoPoint esolang.
Keywords
integer,double,string— Variable typesEQUALS— Assignment operatorEND— Statement terminatorQUOTE— String delimiterfunction— Function definitionSEMICOLON— Function end/callPRINT— Output commandDOES— Boolean checkSPACE— Print blank lineCOMMENT— No operation (ignored)
Constants
PI — 3.141592653589793
EULER — 2.718281828459045
TAU — 6.283185307179586
INFINITY — ∞
NEGATIVEINFINITY — -∞
SQRT2 — 1.4142135623730951
SQRT3 — 1.7320508075688772
DEGREESTORADIANS — 0.017453292519943295
NOTANUMBER — NaN
TRUE — 1
FALSE — 0
Math Operators
PLUS,SUBTRACT,MULTIPLY,DIVIDEPOWER,MOD,SQRT
Boolean Operators
EQUALS,NOTEQUALSGREATER,LESS
Volume Formulas
VOLUME CUBE a b c <unit>— a × b × cVOLUME SPHERE r <unit>— (4/3) × π × r³VOLUME CYLINDER r h <unit>— π × r² × hVOLUME PYRAMID b h d <unit>— (1/3) × b × h × d
Area Formulas
AREA RECTANGLE a b <unit>— a × bAREA SQUARE a <unit>— a²AREA TRIANGLE b h <unit>— 0.5 × b × hAREA CIRCLE r <unit>— π × r²AREA TRAPEZOID a b h <unit>— 0.5 × (a + b) × h
Units
- MILLIMETERS / MILIMETERS — mm
- CENTIMETERS — cm
- METERS — m
- INCHES — in
- FEET — ft
Area units use ^2, volume units use ^3 (e.g., m^2, cm^3).
Functions
Define with:
function sayHi
PRINT QUOTE Hi! QUOTE END
sayHi SEMICOLONCall with:
sayHi SEMICOLON
Print Statements
PRINT QUOTE <text> QUOTE ENDPRINT <varname> ENDPRINT VOLUME ... END,PRINT AREA ... ENDPRINT <expression> END
Boolean Checks
DOES x LESS y END
Returns TRUE (1) or FALSE (0).
Miscellaneous
SPACE— Prints a blank lineCOMMENT ... END— Ignored by interpreter
Example Reference Usage
integer x EQUALS 5 END integer y EQUALS 10 END PRINT x PLUS y END DOES x LESS y END PRINT VOLUME SPHERE 3 METERS END
