Skip to content
/ Auctan Public

A simple programming language I tried making as a hobby

Notifications You must be signed in to change notification settings

vs-123/Auctan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auctan

A simple hobby language

Syntax

// Basic Auctan example
print "Hello World!\n";

favorite_food = "Biryani";
print "My favorite food is " + favorite_food + "\n";

// `proc` stands for 'procedure', it is kind of similar to a function, but it is not a function.
// Like functions, it executes a block of code.
// But unlike functions, it does not return a value nor takes arguments.
proc print_hello {
    print "Hello";
}

call print_hello;
print " " + favorite_food + " eater!\n";

// Auctan doesn't support booleans, instead, you use 1 or 0 to represent true or false respectively.
age = 18;

if (age > 17) {
    print "You can drive";
} else {
    print "You can't drive";
}

About

A simple programming language I tried making as a hobby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages