Skip to content

fredreichbier/snowmanlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello ☃!

The Snow Programming Language is a thin syntax layer on top of C that produces beautiful C99 code.

Snow's syntax is inspired by Python. Thus, for blocks, it uses indentation (4 spaces only) rather than braces.

Here comes the obligatory Hello Snowman in Snow :

import stdio

main as Function(argc as Int, argv as String*) -> Int:
    printf("Hello, ☃!")
    return 0

... which translates to :

#include <stdio.h>
int main(int argc, char** argv)
{
   printf("Hello, ☃!\n");
   return 0;
}

About

snowman lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published