Skip to content

shreyasravi320/slang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slang

a compiled, statically-typed programming language with easy to type syntax and high performance

// hello.sl

main
{
    dumpln "Hello, World!"
}
// fizzbuzz.sl

main
{
    @ i: int = 1, i < 20, i++
    {
        ? i % 3 == 0 {
            dumpln "Fizz"
        } | i % 5 == 0 {
            dumpln "Buzz"
        } | i % 3 == 0 && i % 5 == 0 {
            dumpln "FizzBuzz"
        } | {
            dumpln i
        }
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages