Cool, thanks for showing. Are you planning for any sort of FFI/interop in either direction? I don't see it in your TODO, but I also don't understand why you would write it in C# unless you had this in mind.
The general idea is to use both languages together, as complements; not calling one from the other.
https://github.com/codr7/sharpl/blob/main/src/Sharpl/Libs/Co...
Sure thing, VM.Eval("your code") returns a value if one is produced.
if (vm.Eval("1:2") is Value v and v.Type == Libs.Core.Pair) {
Console.WriteLine("Pair: " + v.Cast(Libs.Core.Pair));
}
Have a look in the main Program.cs to see how to get a VM up and running.