fredreichbier / snowmanlang

snowman lang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 99.0%Language:C 1.0%