Created
June 19, 2026 07:06
-
-
Save WojtekCodesToday/dc70ab8d1413311452339eb755da1d45 to your computer and use it in GitHub Desktop.
stupid esolang (if even considered atp) thing i made which i call it zxcv it works almost similarily to brainfuck but it uses a bit of characters from the QWERTY layout (zasqwcdfert (and space)) and numbers (as argument) (positive or negative) (usually its 1 if none was given) space is for printing the current "cell" that the pointer is selectin…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define t m[p] | |
| int p,o,k,g;char m[65536],*a,*s;main(int c,char**v){FILE*f=fopen(v[1],"r");if(f){for(s=malloc(2e6);(c=fgetc(f))+1;s[k++]=c);}else s=v[1];for(a=s;*a;a+=k){k=1;g=a[1]==45?k++,-1:1;for(o=0;a[k]>47&&a[k]<58;o=o*10+a[k++]-48);o=o?o*g:g;p=*a=='z'?p+o:p;if(*a=='q'&&!t){a+=o;continue;}if(*a=='w'&&t){a-=o;continue;}t=*a=='t'?getchar():*a=='c'?t+o:t;*a-32||putchar(t);}} | |
| //or this artistic piece? | |
| #define <stdio.h> | |
| #define t m[p] | |
| int p,o,k,g;char m[65536], *a,*s; main( int c,char**v) { FILE*f= fopen(v[ | |
| 1],"r" );if (f){ for(s= malloc (2e6); (c= | |
| fgetc (f)) +1;s [k++] =c);} else s=v[ | |
| 1];for (a= s; *a;a+= k) { | |
| k=1;g =a[1] ==45?k ++, -1: | |
| 1;for (o= 0; a[k]> 47 && | |
| a[k] <58; o=o *10+ a[ k++ | |
| ]-48 );o= o?o *g:g ;p = | |
| *a== 'z'? p+o: p;if (*a== 'q'&& | |
| !t){a +=o; continue; }if(*a =='w' &&t) | |
| {a-=o;continue;}t=*a=='t' ?getchar() :*a=='c'? t+o:t;*a-32|| putchar(t);}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment