PipeScript
0.1.1
An Extensible Transpiler for PowerShell (and anything else)
Minimum PowerShell version
4.0
Installation Options
Owners
Copyright
2022 Start-Automating
Package Details
Author(s)
- James Brundage
 
Tags
PipeScript PowerShell Transpilation Compiler
Dependencies
This module has no dependencies.
Release Notes
## 0.1.1:
* New Keywords:
  * await (Fixes #181)
* New-PipeScript:
  * Allowing -Parameter to be supplied via reflection (Fixes #171)
  * Adding -ParameterHelp (Fixes #172)
  * Adding -WeaklyTyped (Fixes #174)
* Update-PipeScript:
  * Adding -RegexReplacement (Fixes #178)
  * Adding -RegionReplacement (Fixes #179)
* Use-PipeScript:
  * Supporting Get-Command -Syntax (Fixes #177)
* Types/Formatting Fixes:
  * CommandAST/AttributeAST:  Adding .Args/.Arguments/.Parameters aliases (Fixes #176)
  * CommandAST:  Fixing .GetParameter (Fixes #175)
  * Updating PSToken control (more colorization) (Fixes #166)
  * YAML Formatter indent / primitive support (Fixes #180)
---
## 0.1:
* PipeScript can now Transpile Protocols (Fixes #168)
* PipeScript can transpile http[s] protocol (Fixes #169)
* PipeScript now formats the AST (Fixes #166) 
* Added .IsAssigned to CommandAST/PipelineAST (Fixes #167)
---
## 0.0.14:
* New Transpilers:
  * [RemoveParameter] (#159)
  * [RenameVariable] (#160)  
* Keyword Updates:
  * new now supports extended type creation (#164)
  * until now supports a TimeSpan, DateTime, or EventName string (#153)
* AST Extended Type Enhancements:
  * [TypeConstraintAst] and [AttributeAst] now have .ResolvedCommand (#162)
* Action Updates
  * Pulling just before push (#163)
  * Not running when there is not a current branch (#158)
  * Improving email determination (#156)
* Invoke-PipeScript terminates transpiler errors when run interactively (#161)
---
## 0.0.13:
* New / Improved Keywords 
  * assert keyword (Support for pipelines) (#143)
  * new keyword (Support for ::Create method) (#148)
  * until keyword (#146) 
* Syntax Improvements
  * Support for === (#123) (thanks @dfinke)
* New Inline PipeScript support:
  * Now Supporting Inline PipeScript in YAML (#147)
* General Improvements:
  * Extending AST Types (#145)
---
## 0.0.12:
* Adding assert keyword (#143)
* Fixing new keyword for blank constructors (#142 )
* Rest Transpiler:
  * Handling multiple QueryString values (#139)
  * Only passing ContentType to invoker if invoker supports it (#141)
  * Defaulting to JSON body when ContentType is unspecified (#140)
---
## 0.0.11:
* Source Generators Now Support Parameters / Arguments (#75)
* Invoke-PipeScript Terminating Build Errors (#135)
---
## 0.0.10:
* Improvements:
  * REST transpiler
    * Supports Query/BodyParameter with AmbientValue and DefaultBindingProperty (#119)
    * Improved Documentation
  * Logo (#132)
* Bugfixes:
  * New-PipeScript (#122)
    * Improving Improving inline documentation and [ScriptBlock] handling
  * Join-PipeScript (#124)
    * Adding .Examples
    * Fixing parameter joining issues
---
## 0.0.9:
* New Features:
  * new keyword (#128)
  * == operator (#123 (thanks @dfinke))
* Fixes
  * REST Transpiler automatically coerces [DateTime] and [switch] parameters (#118)
  * Join-PipeScript:  Fixing multiparam error (#124)
  * ValidateScriptBlock:  Only validing ScriptBlocks (#125)
---
## 0.0.8:
* New Commands:
  * New-PipeScript (#94)
  * Search-PipeScript (#115)
* New Transpilers:
  * REST (#114)
  * Inline.Kotlin (#110)
* Bugfixes and improvements:
  * Fixing Help Generation (#56)
  * Anchoring match for Get-Transpiler (#109)
  * Core Inline Transpiler Cleanup (#111)
  * Shared Context within Inline Transpilers (#112)
  * Fixing Include Transpiler Pattern (#96)
  * Join-PipeScript interactive .Substring error (#116)
---
## 0.0.7:
* Syntax Improvements:
  * Support for Dot Notation (#107)
* New Transpilers:
  * .>ModuleRelationships (#105)
  * .>ModuleExports (#104)
  * .>Aliases (#106)
* Fixes:
  * Invoke-PipeScript improved error behavior (#103)
  * Explicit Transpiler returns modified ScriptBlock (#102)
  * .psm1 alias export fix (#100)
  * Include improvements (#96)
---
## 0.0.6:
* New Transpilers:
  * ValidateScriptBlock
* Improved Transpilers:
  * [Include] not including source generators (#96)
* PipeScript.psm1 is now build with PipeScript (#95)
* Join-PipeScript:  Fixing -BlockType (#97)
* GitHub Action will now look for PipeScript.psd1 in the workspace first (#98)
---
## 0.0.5
* New Language Features:
  * PipedAssignment (#88)
* Command Fixes:
  * Invoke-PipeScript now defaults unmapped files to treating them as PowerShell / PipeScript (#86)
* Improved Transpilers:
  * .>PipeScript.Inline now supports -StartPattern/-EndPattern (#85)
  * Inline Transpilers now use -StartPattern/-EndPattern (#85)
* Inline PipeScript Support for New Languages
  * .>Inline.PSD1 (#89)
  * .>Inline.XML now handles .PS1XML (#91)
---
## 0.0.4
* New Transpilers:
  * .>RegexLiteral (#77)
* Improved Transpilers:
  * .>PipeScript.Inline now supports -ReplacePattern (#84)
  * .>Include now supports wildcards (#81)
* Inline PipeScript Support for New Languages
  * ATOM (#79)
  * Bicep (#73)
  * HLSL (#76)
  * Perl / POD (#74)
  * RSS (#80)
---
## 0.0.3
* New Transpilers:
  * .>ValidateExtension (#64)
  * .>OutputFile (#53)
* Inline PipeScript Support for New Languages
  * Python (#63)
  * PHP (#67)
  * Razor (#68)
* Bugfixes / improvements:
  * Plugged Invoke-PipeScript Parameter Leak (#69)
  * .>ValidateTypes transpiler now returns true (#65)
  * .>ValidateTypes transpiler now can apply to a [VariableExpressionAST] (#66)
* Building PipeScript with PipeScript (#54)
---
## 0.0.2
* New Transpilers:
  * .>ValidatePlatform (#58)
  * .>ValidatePropertyName (#59)
  * .>Inline.ObjectiveC (#60)
* Transpiler Fixes
  * .>VBN now supports -Position (#57)
* GitHub Action Bugfix (#55)
---
## 0.0.1
Initial Commit.
FileList
- PipeScript.nuspec
 - CHANGELOG.md
 - PipeScript.types.ps1xml
 - action.yml
 - PipeScript.psm1
 - Search-PipeScript.ps1.ps1
 - Join-PipeScript.ps1
 - PipeScript.ps1.psm1
 - New-PipeScript.ps1.ps1
 - Get-Transpiler.ps1
 - Invoke-PipeScript.ps1
 - Use-PipeScript.ps1
 - LICENSE
 - PipeScript.Piecemeal.ps1
 - CNAME
 - New-PipeScript.ps1
 - PipeScript.format.ps1xml
 - PipeScript.tests.ps1
 - PipeScript.GitHubAction.PSDevOps.ps1
 - Update-PipeScript.ps1
 - Get-PipeScript.ps1
 - PipeScript.HelpOut.ps1
 - Build-PipeScript.ps1
 - PipeScript.ezout.ps1
 - PipeScript.GitHubWorkflow.PSDevOps.ps1
 - Search-PipeScript.ps1
 - PipeScript.psd1
 - README.md
 - docs\Inline.Java.md
 - docs\ModuleExports.md
 - docs\Rest.md
 - docs\Inline.OpenSCAD.md
 - docs\VBN.md
 - docs\New.md
 - docs\RemoveParameter.md
 - docs\CHANGELOG.md
 - docs\Inline.YAML.md
 - docs\Inline.Rust.md
 - docs\Inline.Go.md
 - docs\Inline.HLSL.md
 - docs\Inline.PHP.md
 - docs\Inline.JavaScript.md
 - docs\Pipescript.FunctionDefinition.md
 - docs\Decorate.md
 - docs\Pipescript.md
 - docs\Use-PipeScript.md
 - docs\PipeScript.Protocol.md
 - docs\Batch.md
 - docs\ValidateExtension.md
 - docs\Inline.Python.md
 - docs\Explicit.md
 - docs\Get-Transpiler.md
 - docs\Inline.HTML.md
 - docs\ValidatePropertyName.md
 - docs\Help.md
 - docs\BatchPowerShell.md
 - docs\Get-PipeScript.md
 - docs\Await.md
 - docs\VFP.md
 - docs\PipeScript.AttributedExpression.md
 - docs\PipeScript.ParameterAttribute.md
 - docs\Aliases.md
 - docs\Inline.CSharp.md
 - docs\Until.md
 - docs\Inline.Perl.md
 - docs\PipedAssignment.md
 - docs\Inline.CPlusPlus.md
 - docs\RegexLiteral.md
 - docs\Dot.md
 - docs\PipeScript.TypeExpression.md
 - docs\ValidatePlatform.md
 - docs\Assert.md
 - docs\Search-PipeScript.md
 - docs\New-PipeScript.md
 - docs\Inline.ObjectiveC.md
 - docs\Update-PipeScript.md
 - docs\Inline.PSD1.md
 - docs\Inline.Kotlin.md
 - docs\PipeScript.ParameterTypeConstraint.md
 - docs\PipeScript.Inline.md
 - docs\OutputFile.md
 - docs\Build-Pipescript.md
 - docs\Inline.Json.md
 - docs\EqualityTypeComparison.md
 - docs\Inline.Markdown.md
 - docs\Inline.Razor.md
 - docs\RenameVariable.md
 - docs\ModuleRelationship.md
 - docs\Bash.md
 - docs\EqualityComparison.md
 - docs\Inline.CSS.md
 - docs\Inline.TypeScript.md
 - docs\Inline.Bicep.md
 - docs\ValidateScriptBlock.md
 - docs\Inline.RSS.md
 - docs\Include.md
 - docs\Http.Protocol.md
 - docs\Invoke-PipeScript.md
 - docs\Inline.XML.md
 - docs\Inline.ATOM.md
 - docs\Inline.Ruby.md
 - docs\ProxyCommand.md
 - docs\ValidateTypes.md
 - docs\Join-PipeScript.md
 - docs\Inline.TOML.md
 - docs\README.md
 - Transpilers\Rest.psx.ps1
 - Transpilers\OutputFile.psx.ps1
 - Transpilers\Decorate.psx.ps1
 - Transpilers\RenameVariable.psx.ps1
 - Transpilers\Include.psx.ps1
 - Transpilers\ProxyCommand.psx.ps1
 - Transpilers\Help.psx.ps1
 - Transpilers\Explicit.psx.ps1
 - Formatting\Markdown.format.ps1
 - Formatting\PipeScript.format.ps1
 - Formatting\Search.PipeScript.Result.format.ps1
 - Formatting\Ast.format.ps1
 - Formatting\PipeScript.Transpiler.format.ps1
 - Formatting\PSToken.control.ps1
 - Formatting\YAML.format.ps1
 - Assets\PipeScript.png
 - Assets\PipeScript.svg
 - docs\Assets\PipeScript.png
 - docs\Assets\PipeScript.svg
 - Types\AttributeAST\get_ResolvedCommand.ps1
 - Types\AttributeAST\Alias.psd1
 - Types\AttributeAST\get_Parameter.ps1
 - Types\AttributeAST\TypeName.txt
 - Types\AttributeAST\get_ArgumentList.ps1
 - Types\VariableExpressionAST\GetVariableType.ps1
 - Types\VariableExpressionAST\ConvertFromAST.ps1
 - Types\VariableExpressionAST\GetAssignments.ps1
 - Types\VariableExpressionAST\TypeName.txt
 - Types\PipeScript\get_PipeScriptType.ps1
 - Types\ScriptBlock\TypeName.txt
 - Types\ScriptBlock\Transpile.ps1
 - Types\CommandAST\get_IsAssigned.ps1
 - Types\CommandAST\get_ResolvedCommand.ps1
 - Types\CommandAST\Alias.psd1
 - Types\CommandAST\get_Parameter.ps1
 - Types\CommandAST\TypeName.txt
 - Types\CommandAST\get_PipelinePosition.ps1
 - Types\CommandAST\get_PipelineLength.ps1
 - Types\CommandAST\get_ArgumentList.ps1
 - Types\CommandAST\get_IsPiped.ps1
 - Types\AST\ConvertFromAST.ps1
 - Types\AST\TypeName.txt
 - Types\AST\get_Tokens.ps1
 - Types\AST\GetLineage.ps1
 - Types\TypeConstraintAST\get_ResolvedCommand.ps1
 - Types\TypeConstraintAST\TypeName.txt
 - Types\ConstantExpressionAST\ConvertFromAST.ps1
 - Types\ConstantExpressionAST\TypeName.txt
 - Types\PipelineAST\get_IsAssigned.ps1
 - Types\PipelineAST\Typename.txt
 - Types\ScriptBlockExpressionAST\GetScriptBlock.ps1
 - Types\ScriptBlockExpressionAST\ConvertFromAST.ps1
 - Types\ScriptBlockExpressionAST\TypeName.txt
 - Transpilers\Core\PipeScript.TypeExpression.psx.ps1
 - Transpilers\Core\PipeScript.Inline.psx.ps1
 - Transpilers\Core\PipeScript.Protocol.psx.ps1
 - Transpilers\Core\PipeScript.ParameterTypeConstraint.psx.ps1
 - Transpilers\Core\Pipescript.FunctionDefinition.psx.ps1
 - Transpilers\Core\PipeScript.AttributedExpression.psx.ps1
 - Transpilers\Core\PipeScript.ParameterAttribute.psx.ps1
 - Transpilers\Core\Pipescript.psx.ps1
 - Transpilers\Keywords\Assert.tests.ps1
 - Transpilers\Keywords\Await.psx.ps1
 - Transpilers\Keywords\New.tests.ps1
 - Transpilers\Keywords\Await.tests.ps1
 - Transpilers\Keywords\Until.psx.ps1
 - Transpilers\Keywords\Until.tests.ps1
 - Transpilers\Keywords\README.ps1.md
 - Transpilers\Keywords\New.psx.ps1
 - Transpilers\Keywords\Assert.psx.ps1
 - Transpilers\Keywords\README.md
 - Transpilers\Inline\Inline.HLSL.psx.ps1
 - Transpilers\Inline\Inline.Go.psx.ps1
 - Transpilers\Inline\Inline.XML.psx.ps1
 - Transpilers\Inline\Inline.HTML.psx.ps1
 - Transpilers\Inline\Inline.TypeScript.psx.ps1
 - Transpilers\Inline\Inline.TOML.psx.ps1
 - Transpilers\Inline\Inline.ATOM.psx.ps1
 - Transpilers\Inline\Inline.RSS.psx.ps1
 - Transpilers\Inline\Inline.Bicep.psx.ps1
 - Transpilers\Inline\Inline.PHP.psx.ps1
 - Transpilers\Inline\Inline.OpenSCAD.psx.ps1
 - Transpilers\Inline\Inline.JavaScript.psx.ps1
 - Transpilers\Inline\Inline.CPlusPlus.psx.ps1
 - Transpilers\Inline\Inline.Kotlin.psx.ps1
 - Transpilers\Inline\Inline.YAML.psx.ps1
 - Transpilers\Inline\Inline.Java.psx.ps1
 - Transpilers\Inline\Inline.CSharp.psx.ps1
 - Transpilers\Inline\Inline.Perl.psx.ps1
 - Transpilers\Inline\Inline.Razor.psx.ps1
 - Transpilers\Inline\Inline.Markdown.psx.ps1
 - Transpilers\Inline\README.ps1.md
 - Transpilers\Inline\Inline.PSD1.psx.ps1
 - Transpilers\Inline\Inline.Json.psx.ps1
 - Transpilers\Inline\Inline.Rust.psx.ps1
 - Transpilers\Inline\Inline.CSS.psx.ps1
 - Transpilers\Inline\Inline.Ruby.psx.ps1
 - Transpilers\Inline\Inline.Python.psx.ps1
 - Transpilers\Inline\Inline.ObjectiveC.psx.ps1
 - Transpilers\Inline\README.md
 - Transpilers\Protocols\Http.Protocol.tests.ps1
 - Transpilers\Protocols\README.ps1.md
 - Transpilers\Protocols\Http.Protocol.psx.ps1
 - Transpilers\Protocols\README.md
 - Transpilers\Wrappers\Bash.psx.ps1
 - Transpilers\Wrappers\Batch.psx.ps1
 - Transpilers\Wrappers\BatchPowerShell.psx.ps1
 - Transpilers\Wrappers\README.ps1.md
 - Transpilers\Wrappers\README.md
 - Transpilers\Syntax\RegexLiteral.psx.ps1
 - Transpilers\Syntax\EqualityComparison.psx.ps1
 - Transpilers\Syntax\PipedAssignment.psx.ps1
 - Transpilers\Syntax\Dot.psx.ps1
 - Transpilers\Syntax\EqualityTypeComparison.psx.ps1
 - Transpilers\Syntax\README.ps1.md
 - Transpilers\Syntax\README.md
 - Transpilers\Modules\ModuleRelationship.psx.ps1
 - Transpilers\Modules\ModuleExports.psx.ps1
 - Transpilers\Parameters\ValidateTypes.psx.ps1
 - Transpilers\Parameters\VBN.psx.ps1
 - Transpilers\Parameters\ValidatePropertyName.psx.ps1
 - Transpilers\Parameters\ValidateExtension.psx.ps1
 - Transpilers\Parameters\Aliases.psx.ps1
 - Transpilers\Parameters\ValidateScriptBlock.psx.ps1
 - Transpilers\Parameters\RemoveParameter.psx.ps1
 - Transpilers\Parameters\ValidatePlatform.psx.ps1
 - Transpilers\Parameters\README.ps1.md
 - Transpilers\Parameters\VFP.psx.ps1
 - Transpilers\Parameters\README.md
 - Github\Actions\PipeScriptAction.ps1
 
Version History
| Version | Downloads | Last updated | 
|---|---|---|
| 0.2.8 | 4,531 | 2/19/2024 | 
| 0.2.7 | 988 | 12/18/2023 | 
| 0.2.6 | 114 | 6/29/2023 | 
| 0.2.5 | 30 | 4/27/2023 | 
| 0.2.4 | 15 | 3/31/2023 | 
| 0.2.3 | 25 | 3/12/2023 | 
| 0.2.2 | 37 | 12/24/2022 | 
| 0.2.1 | 24 | 11/16/2022 | 
| 0.2 | 12 | 11/14/2022 | 
| 0.1.9 | 18 | 11/7/2022 | 
| 0.1.8 | 16 | 10/21/2022 | 
| 0.1.7 | 17 | 10/9/2022 | 
| 0.1.6 | 13 | 10/8/2022 | 
| 0.1.5 | 22 | 9/22/2022 | 
| 0.1.4 | 24 | 9/19/2022 | 
| 0.1.3 | 20 | 9/15/2022 | 
| 0.1.2 | 15 | 9/8/2022 | 
| 0.1.1 (current version) | 21 | 8/8/2022 | 
| 0.1 | 18 | 8/1/2022 | 
| 0.0.14 | 13 | 7/31/2022 | 
| 0.0.13 | 18 | 7/26/2022 | 
| 0.0.12 | 13 | 7/24/2022 | 
| 0.0.11 | 17 | 7/20/2022 | 
| 0.0.9 | 16 | 7/15/2022 | 
| 0.0.8 | 15 | 7/10/2022 | 
| 0.0.7 | 16 | 7/4/2022 | 
| 0.0.6 | 14 | 7/2/2022 | 
| 0.0.5 | 16 | 6/29/2022 | 
| 0.0.4 | 14 | 6/28/2022 | 
| 0.0.3 | 18 | 6/22/2022 | 
| 0.0.2 | 13 | 6/21/2022 | 
| 0.0.1 | 14 | 6/21/2022 |