We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Newton
Jump to navigation
Jump to search
The newton language is simple.
We have an apple.
@
This apple is launched by a tree.
&
And if it passes by a mirror, it is reflected.
_ | / \
When it passes by an inc
+
it is incremented.
When it passes by a dec
-
it is decremented.
When it passes by a print
#
it outputs the ASCII of the number stored in it.
When it passes by an in
$
it inputs a value and store in it.
Example Programs
Cat program
/#\ & \$/