Camellia Language
Camellia
Very flexible Meta Language
Includes features of both programming
and markup languages
You can create any tag {tag name}
and insert into your program
so it will become new keyword
{module} euclid ! tag {module}
{fun} a b | euclid ! function declaration
{while} b!=0
{if} a > b
a - b | a ! assignment operator
{else}
b - a | b
{/else}
{/if}
{/while}
return a
{/fun}
{main}
in | a b | euclid | out
! combined input output
! plus function call using piping
{/main}
{/module}
8 22 22
Comments
Post a Comment