CodeX

 CodeX

General Purpose Language

Compiled and statically typed

Main difference from other computer languages

is that it has tagged keywords like html:

{if} ... {/if}



Code Sample:

{module} Euclid

    {fun} int Euclid(int a, b)

        {while} b != 0

            {if} (a > b) a = a - b

                {else} b = b - a

                {/else}

            {/if}

        {/while}

        {return} a {/return}

    {/fun}


    {main} str arg[ ]

        in -> a, b

        Euclid(a, b) -> out

    {/main}

{/module}

Comments

Popular posts from this blog

Hybrid Markup Language

Stream - Syntax-Oriented Language

iTeraTor Universal Data Language