!
Jump to navigation
Jump to search
! (pronounced 'not') is an esoteric language made by User:PersonMan.
initializing a ! program is simple.
!- *initializes the program -! *ends the program
printing "hello world!" in ! looks like this:
!- #_hello world! -!
using the octothorpe to print a value
data types:
Symbol | Type |
---|---|
_
|
string |
$
|
number |
!
|
boolean |
Variables
declaring variables in ! is pretty simple:
- data type
- name
- question mark
- value
example
!- _hello ? Hello world! #_hello -!
will print out "Hello world!"
Boolean variables
booleans aren't True/False but instead are: !!/!
example:
!- !bool ? ! #!bool #_/n !bool ? !! #!bool -!
will print out:
0 1
Addition with strings and numbers
adding numbers will look as you'd expect
!- $num1 ? 2 $num2 ? 5 #$ $num1 + $num2 -!
will display:
7
as you'd expect.
but adding strings is a bit harder
!- _stringa ? hello _stringb ? world! #_ _stringa + _ + _stringb -!
will display "hello world!" after so much esoCode in !
Example Programs
Hello World
!- #_Hello, World! -!
С++ interpreter
Interpreter is available on not-interpreter Github page
Java interpreter
A simple interpreter can be seen in Negation. Note: Negation does not allow for all language features.