Skip to content

shun126/Mana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mana

Actor-oriented scripting language Mana

stars license release downloads

This scripting language was developed with the aim of developing a character's action using actor model. You can implement the execution engine easily into your computer game program.

What Mana code looks like

actor Mother
{
    int mFlag;
    action initialize
    {
        mFlag = 0;
    }
    action main
    {
        print("Hi");
        request(1, Child::talk);
    }
}

actor Child
{
    action update
    {
        int i;
    }
    action talk
    {
        print("Hi");
    }
}

Installing

Requirements

Any Linux Distribution

  • cd to <download_path>\compiler
  • make

Building with Cygwin

Building with MSVC

  • Install Microsoft Visual C++ 2022 Community (should work with other versions).
  • Run "Vistual Studio 2022 Command Prompt" from the "Visual Studio 2022" start menu.
  • cd to <download_path>\compiler
  • Open mana.sln

Building with Xcode

  • Install Xcode 8.3.2 (should work with other versions).
  • cd to <download_path>\compiler
  • Open mana.xcodeproj

Running Tests

mana sample/sample.mn

Shun Moriya

ko-fi