diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index ddc1aae..3a0985a 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 diff --git a/site/doc/user/syntax.md b/site/doc/user/syntax.md index ca13bce..4839108 100644 --- a/site/doc/user/syntax.md +++ b/site/doc/user/syntax.md @@ -458,6 +458,14 @@ You can create strings: out = "This is a string" ``` +It supports also interpolated strings: + +```kalk +>>> $"This is a {3 * 5} string" +# "This is a {3 * 5} string" +out = "This is a 15 string" +``` + You can access a single character: ```kalk diff --git a/src/Consolus.Tests/Consolus.Tests.csproj b/src/Consolus.Tests/Consolus.Tests.csproj index 4bfdad5..e88652e 100644 --- a/src/Consolus.Tests/Consolus.Tests.csproj +++ b/src/Consolus.Tests/Consolus.Tests.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 8b37a22..419da8d 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -1,6 +1,6 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Kalk.CodeGen/Kalk.CodeGen.csproj b/src/Kalk.CodeGen/Kalk.CodeGen.csproj index 92811e9..93260dd 100644 --- a/src/Kalk.CodeGen/Kalk.CodeGen.csproj +++ b/src/Kalk.CodeGen/Kalk.CodeGen.csproj @@ -8,9 +8,9 @@ - - - + + + diff --git a/src/Kalk.ConsoleApp/Kalk.ConsoleApp.csproj b/src/Kalk.ConsoleApp/Kalk.ConsoleApp.csproj index 8470c1f..59f0079 100644 --- a/src/Kalk.ConsoleApp/Kalk.ConsoleApp.csproj +++ b/src/Kalk.ConsoleApp/Kalk.ConsoleApp.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Kalk.Core/Kalk.Core.csproj b/src/Kalk.Core/Kalk.Core.csproj index b76855f..afdfa25 100644 --- a/src/Kalk.Core/Kalk.Core.csproj +++ b/src/Kalk.Core/Kalk.Core.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/Kalk.IntrinsicsGen/Kalk.IntrinsicsGen.csproj b/src/Kalk.IntrinsicsGen/Kalk.IntrinsicsGen.csproj index 19b1ede..c48c318 100644 --- a/src/Kalk.IntrinsicsGen/Kalk.IntrinsicsGen.csproj +++ b/src/Kalk.IntrinsicsGen/Kalk.IntrinsicsGen.csproj @@ -9,9 +9,9 @@ - - - + + + diff --git a/src/Kalk.Tests/Kalk.Tests.csproj b/src/Kalk.Tests/Kalk.Tests.csproj index 6f602e0..6af9540 100644 --- a/src/Kalk.Tests/Kalk.Tests.csproj +++ b/src/Kalk.Tests/Kalk.Tests.csproj @@ -17,8 +17,8 @@ - - + +