PipeScript

0.1.1

An Extensible Transpiler for PowerShell (and anything else)

Minimum PowerShell version

4.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PipeScript -RequiredVersion 0.1.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PipeScript -Version 0.1.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

Version History

Version Downloads Last updated
0.2.8 1,426 2/19/2024
0.2.7 986 12/18/2023
0.2.6 112 6/29/2023
0.2.5 28 4/27/2023
0.2.4 11 3/31/2023
0.2.3 23 3/12/2023
0.2.2 35 12/24/2022
0.2.1 22 11/16/2022
0.2 9 11/14/2022
0.1.9 16 11/7/2022
0.1.8 14 10/21/2022
0.1.7 14 10/9/2022
0.1.6 11 10/8/2022
0.1.5 20 9/22/2022
0.1.4 22 9/19/2022
0.1.3 18 9/15/2022
0.1.2 13 9/8/2022
0.1.1 (current version) 19 8/8/2022
0.1 15 8/1/2022
0.0.14 11 7/31/2022
0.0.13 16 7/26/2022
0.0.12 11 7/24/2022
0.0.11 15 7/20/2022
0.0.9 14 7/15/2022
0.0.8 13 7/10/2022
0.0.7 14 7/4/2022
0.0.6 12 7/2/2022
0.0.5 14 6/29/2022
0.0.4 12 6/28/2022
0.0.3 16 6/22/2022
0.0.2 11 6/21/2022
0.0.1 12 6/21/2022
Show less