Skip to content

FloatingComet62/PainScript

Repository files navigation

PainScript

A language pain to code in

Syntax

>: Move the pointer right
<: Move the pointer left
+: Increase the value of the cell which pointer is pointing at
-: Decrease the value of the cell which pointer is pointing at

': Print the value's translation in letters to the output file(lowercase)
": Print the value's translation in letters to the output file(UPPERCASE)
]: Print the value's translation in numbers to the output file
[: Print the value's translation in special chracters to the output file

'': Print the value's translation in letters to the console(lowercase)
"": Print the value's translation in letters to the console(UPPERCASE)
]]: Print the value's translation in numbers to the console
[[: Print the value's translation in special chracters to the console

.: Take user input(Numbers only)
{}: A while loop which will loop the items inside it untill the value of the pointer on which the loop was declared goes to 0

Comments: All characters which don't interfere with the syntax.

Translation

Numbers will just print the value on the pointer

Value in Upper Letter in Lower Letter in special character
0 {SPACE} {SPACE} ~
1 A a !
2 B b @
3 C c #
4 D d $
5 E e %
6 F f ^
7 G g &
8 H h *
9 I i (
10 J j )
11 K k -
12 L l _
13 M m +
14 N n =
15 O o `
16 P p [
17 Q q ]
18 R r {
19 S s }
20 T t |
21 U u \
22 V v ;
23 W w :
24 X x "
25 Y y '
26 Z z <
27 {ERROR} {ERROR} >
28 {ERROR} {ERROR} ,
29 {ERROR} {ERROR} .
30 {ERROR} {ERROR} ?
31 {ERROR} {ERROR} /
32 {ERROR} {ERROR} {NEW LINE}

Numbers past this will drop an error

About

A programming language painful to code in

Resources

License

Stars

Watchers

Forks

Languages