NoPoint Logo

NoPoint Documentation

A Python esolang with no point!

Reference

This reference covers all built-in features, keywords, operators, constants, and functions available in the NoPoint esolang.

Keywords

  • integer, double, string — Variable types
  • EQUALS — Assignment operator
  • END — Statement terminator
  • QUOTE — String delimiter
  • function — Function definition
  • SEMICOLON — Function end/call
  • PRINT — Output command
  • DOES — Boolean check
  • SPACE — Print blank line
  • COMMENT — 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, DIVIDE
  • POWER, MOD, SQRT

Boolean Operators

  • EQUALS, NOTEQUALS
  • GREATER, LESS

Volume Formulas

  • VOLUME CUBE a b c <unit> — a × b × c
  • VOLUME SPHERE r <unit> — (4/3) × π × r³
  • VOLUME CYLINDER r h <unit> — π × r² × h
  • VOLUME PYRAMID b h d <unit> — (1/3) × b × h × d

Area Formulas

  • AREA RECTANGLE a b <unit> — a × b
  • AREA SQUARE a <unit> — a²
  • AREA TRIANGLE b h <unit> — 0.5 × b × h
  • AREA 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 SEMICOLON

Call with:

sayHi SEMICOLON

Print Statements

  • PRINT QUOTE <text> QUOTE END
  • PRINT <varname> END
  • PRINT VOLUME ... END, PRINT AREA ... END
  • PRINT <expression> END

Boolean Checks

DOES x LESS y END

Returns TRUE (1) or FALSE (0).

Miscellaneous

  • SPACE — Prints a blank line
  • COMMENT ... 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
← Back to Examples