Blockchain & Camellia

This language also has little bit different
syntax for object-oriented programming

m:b instead of b.m

So elements flow from left to right too

    {module} blockchain

        {class} blockchain

            block
                                                 ! data members
            chain

            {fun} block | add

                block + chain | chain

            {/fun}
                                                     ! member functions
            {fun} show

                last:chain | block

                return block

            {/fun}

        {/class}

        
        {main}

            {blockchain}  wikichain      ! instance of class

                {while} in                      ! input open

                     in | add||show:block:chain | out

                     ! combined parallel input output

                {/while}

            {/blockchain}      ! new tag

        {/main}

    {/module}


____________________________________________________

wikichain256

1 block

                                                        256 bytes

2 block

                                                        256 bytes

3 block

                                                        256 bytes


It is like mini wikipedia where

each entry has size of only 256 bytes 

Comments

Popular posts from this blog

Hybrid Markup Language

iTeraTor Universal Data Language

Nova < : > New Syntax Language