static void GenerateCppAssign(ICppIntrinsic intrinsic) { intrinsic.Runtime.AddLine( $"{intrinsic.RightArgument(name: "Left")} = {intrinsic.RightArgument(name: "Right")};"); }
static void GenerateCppSub(ICppIntrinsic intrinsic) { intrinsic.Runtime.AddLine( $"{intrinsic.ResultArgument(name: "Value")} = {intrinsic.RightArgument(name: "Left")} - {intrinsic.RightArgument(name: "Right")};"); }
static void GenerateCpp(ICppIntrinsic intrinsic) { intrinsic.EnsureGlobal(concept: "stdio", func: () => "#include <stdio.h>"); intrinsic.Runtime.AddLine($"printf(\"Print: %I64u\\n\", {intrinsic.RightArgument(name: "Value")});"); }