Title: Argument mode vs Expression mode · Issue #151 · PowerShell/EditorSyntax · GitHub
Open Graph Title: Argument mode vs Expression mode · Issue #151 · PowerShell/EditorSyntax
X Title: Argument mode vs Expression mode · Issue #151 · PowerShell/EditorSyntax
Description: For reference: Powershell Docs: About Parsing The current syntax does not take in to account PowerShell's parsing, argument mode vs expression mode. Lacking this is causing scoping of some operators when they should not be treated as suc...
Open Graph Description: For reference: Powershell Docs: About Parsing The current syntax does not take in to account PowerShell's parsing, argument mode vs expression mode. Lacking this is causing scoping of some operator...
X Description: For reference: Powershell Docs: About Parsing The current syntax does not take in to account PowerShell's parsing, argument mode vs expression mode. Lacking this is causing scoping of some oper...
Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/151
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Argument mode vs Expression mode","articleBody":"For reference: [Powershell Docs: About Parsing](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_parsing?view=powershell-6)\r\n\r\nThe current syntax does not take in to account PowerShell's parsing, argument mode vs expression mode.\r\n\r\nLacking this is causing scoping of some operators when they should not be treated as such, and failure to scope operators when they should be treated as such, or properly scoping parameter tags vs commands that start with a '-', ect...\r\n\r\nThis actually would be a pretty large undertaking. It would probably go along with #137\r\n\r\nThis would probably require a reorganization of all the matches in to the repository, with the base match limited to just scanning the first token using a BEGIN with a forward lookup to sort out whether to run in expression or argument mode, ENDing at anywhere a line continuation isn't permitted, or otherwise at the end of a command (pipe, ';', etc) and this would require than any scoping that allows line continuation must also use BEGIN type matches to keep the parsing moving. The '&' could be a bit tricky, as it can be both the start of a command and the end of a command.","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2018-12-16T08:02:11Z","url":"https://github.com/PowerShell/EditorSyntax/issues/151"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7124a1d1-0b51-137d-3f34-d9036c8b9cef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD6E:EA9F5:1C6B0:258C5:6AFE0F2A |
| html-safe-nonce | 57d0d9dd1603e602c54cf94bac351204e0e9082ad828375344ceb375db9f3681 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDZFOkVBOUY1OjFDNkIwOjI1OEM1OjZBRkUwRjJBIiwidmlzaXRvcl9pZCI6IjIzNTE0MjI1MzUzOTM3NDI2MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0b37a39ac3bb3821865add1f5429f2f9912aec01c1463ffb3405a60a088c0cf9 |
| hovercard-subject-tag | issue:391444475 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/EditorSyntax/151/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96ca480623bb78f493eac23920e0476d58b8858168814a0e3d1280b975454cc2/PowerShell/EditorSyntax/issues/151 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96ca480623bb78f493eac23920e0476d58b8858168814a0e3d1280b975454cc2/PowerShell/EditorSyntax/issues/151 |
| og:image:alt | For reference: Powershell Docs: About Parsing The current syntax does not take in to account PowerShell's parsing, argument mode vs expression mode. Lacking this is causing scoping of some operator... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msftrncs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1fd4053be37b4bd545b4f38f1cecad058c343776acf2cbc6806316f26270e55e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/EditorSyntax git https://github.com/PowerShell/EditorSyntax.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 59601299 |
| octolytics-dimension-repository_nwo | PowerShell/EditorSyntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 59601299 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/EditorSyntax |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 635a57b3d0df6bc21c0f39fc7078888fb90e4066 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width