Skip to content

PowerShell language updates #14

@NoahStahl

Description

@NoahStahl

Hi there, very impressive work on the project. While implementing this and testing against PowerShell, I found a couple discrepancies that I wanted to report back. Namely, I found that the language definition was incorrect for string escapes (use backtick instead of backslash), and didn't recognize block comments (<# comments #>). I was able to resolve with the following change, though I'm not 100% sure of the escapes portion:

scopes: { string: [ ["\"", "\"", ["""]], ["'", "'", ["\'"]] ], comment: [ ["#", "\n", null, true], ["<#", "#>", null, false] ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions