Skip to content

Support string interpolation #374

@vitorpmoreira

Description

@vitorpmoreira

Hello,

I didn't find documentation on string interpolation being supported or not. I gave it a try and it doesn't look like it is. I also didn't find any references in the Parsers to that feature. Do you have any plans on supporting it?

Tested on a .NET 10 console app using DynamicExpresso 2.19.3.
Here's the Program.cs sample code:

using DynamicExpresso;

var consoleInput = args[1];

var interpreter = new Interpreter();
interpreter.SetVariable("input", consoleInput);
Console.WriteLine(interpreter.Eval("$\"Input is {input}\""));

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions