Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Rainboi64/SudoC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Made as a kid, The following code is filthy

SudoC

Programming Language for idoits, written mainly by me(other people are for comidec purposes only).

Examples

  1. Auto Created Variables :
print("Name:")
var Name = input<>;
print("Hello 'Name'!")
print("\n That is a cool name though 'Name'")

in the example above we use

var Name = input<>;

to create a variable but that's not needed in SudoC. You can write

print("Name:")
print("Hello 'input<Name>'!")
print("\n That is a cool name though 'Name'")

they both have the same C output:

printf("Name:");
char Name[2056];
scanf("%s",Name);
printf("Hello ");
printf("%s", Name);
printf("!");
printf("\n That is a cool name though ");
printf("%s", Name);

The variable creator system is smart. It knows when it should create the variable and when it shouldn't

print("Name:")
print("Hello 'input<Variable>'!")
print("\nThat is a cool name though 'Variable'")
print("\nHow Old Are You 'Variable'?!:")
print("\nWow 'input<Variable>'!")

To

printf("Name:");
char Variable[2056];
scanf("%s",Variable);
printf("Hello ");
printf("%s", Variable);
printf("!");
printf("\nThat is a cool name though ");
printf("%s", Variable);
printf("\nHow Old Are You ");
printf("%s", Variable);
printf("?!:");
scanf("%s",Variable);
printf("\nWow ");
printf("%s", Variable);
printf("!");

You can see how it created the variable in the first input call, but used the existing one in the second.

About

!!Made as a kid, The following code is filthy!! Converts easy and understandable syntax to very hard but effeicient C.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages