Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 666 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 666 Bytes

parser

Parser for Simple Actor Language To be used with ARnActorModel

from ==> Actor bla Behavior(""bla"") { Send Console (""bla"") }

to ==>

public class bla : BaseActor
{
    public bla()
    {
        AddBehavior(new Behavior(
            Pattern = () =>
            {
                "bla";
            }
            ,
            Apply = () =>
            {
                SendMessage(Console, "bla");
            }
        ));
    }
}