Skip to content

SuperJMN/Iridio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iridio

What's Iridio?

Iridio is a scripting language, nothing more, nothing less :)

I invented it because I needed more flexibility for my Deployer. I needed some scripting language easy enough and flexible enough.

How is this useful for me?

If you need to execute your own scripts with your own built-in functions, Iridio might be a good choice.

How do I use it?

  1. Add a reference in you project to the Nuget Iridio.Runtime

  2. Create an instance of IridioShell and execute some script with it

    Take this example:

     var script = @"Main { a = 3 * 5; }";
     var shell = new IridioShell();
     ExecutionSummary execution = await shell.Run(SourceCode.FromString(script));
     Console.WriteLine(result.Value.Variables["a"]);

    It will execute the script an returns a list of the variables in the script with their last value. Running this example will return the value 15 into a

As you see, it's extremely easy to use.

Getting started

If you want to get started, please, check the Wiki :)

Acknowledgements

In some way or another, you made this possible. Thank you all!

About

Simple Script Parser

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages