CLanguage by praeclarum

<PackageReference Include="CLanguage" Version="0.4.18" />

 SequenceExpression

using CLanguage.Interpreter; using CLanguage.Types; namespace CLanguage.Syntax { public class SequenceExpression : Expression { public Expression First { get; set; } public Expression Second { get; set; } public SequenceExpression(Expression first, Expression second) { First = first; Second = second; } public override CType GetEvaluatedCType(EmitContext ec) { return Second.GetEvaluatedCType(ec); } protected override void DoEmit(EmitContext ec) { First.Emit(ec); ec.Emit(OpCode.Pop); Second.Emit(ec); } public override string ToString() { return "(" + First + ", " + Second + ")"; } } }