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.

Symch*r!c

From Esolang
Jump to navigation Jump to search

symch*r!c (pronounced sim-ker-ic) is an esoteric programming language made up of symbols.

Number literals

Numbers are written in base-10 with the alphabet !@#$%^&*() with _ being used for the negative sign.

Data manipulation

  • Change (Basically Adds to the pointers position, similar to > in Brainf*ck) current cell #: >[# of times to repeat];
  • Increment current cell: +[# of times to repeat];
  • Reset cell values to 0: ,

Loops

  • Loop until current cell value < 0: {}

I/O

  • Input (read and write ASCII characters in order from the current cell to the end of the input): ?
  • Output (read ASCII characters in order from the first cell to your current cell): =

Comments

  • Comment: [comment]
  • Separator: /


Examples

(NOTE: None of these were tested, interpreter in the works)

Hello, world!

+&@;>!;+!)!;>!;+!)*;>!;+!)*;>!;+!!!;>!;//+#@;//
>!;+*&;>!;+!!!;>!;+!!$;>!;+!)*;>!;+!));=

Cat program

?+_!;{+!;>!;+_!;}+!;=

Program that specifically outputs ":" if ascii input is greater than 39, otherwise outputs "*" (and sometimes outputs a number?)

?+_$(;>!; [<- If input < 39, go to brackets ->] {>_!;{+_!; [clear] }+!;//+%*;>!;+_!;}>_!;=

Calculator

? [Input format: "5+4" / “5-4”] +_$*; >@; +_$*; +_!; [<- sets up the numbers]


>_!; +_$#; +_!; [<- sets up the operation]


[if operation = “-”:] {

/// [subtracting ->] >!; {>_@; +_!; >@; +_!;} >_@; +$*; = {+_!;}

+_!

}


+!;


[if operation = “+”:] {
/// [adding ->] >!; {>_@; +!; >@; +_!;} >_@; +$*; = {+_!;}
}