File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 1- This directory contains Inline PipeScript transpilers for several languages .
1+ Files in this directory and it's subdirectories generate wrappers for PipeScript and PowerShell .
22
3- PipeScript can currently be embedded in ``` .>{@(Get-Transpiler -TranspilerPath $pwd).Count}<. ``` languages or file types.
4-
5- Transpilers in this directory should be named ``` Inline.NameOfLanguage.psx.ps1 ``` .
6- Each file should handle one and only one language (better explicit than terse).
7-
8- Transpilers should call ``` .>PipeScript.Inline ``` to simplify and standarize processing.
3+ These wrappers allow PipeScript or PowerShell to be called from other programming languages.
94
105~~~ PipeScript{
116 [PSCustomObject]@{
127 Table = Get-Transpiler -TranspilerPath $pwd |
13- Select-Object @{
14- Name='Language'
15- Expression= {$_.DisplayName -replace '^Inline\.'}
16- }, @{
8+ Select-Object DisplayName, @{
179 Name='Synopsis'
1810 Expression= { $_.Synopsis -replace '[\s\r\n]+$' }
1911 }, @{
@@ -22,4 +14,4 @@ Transpilers should call ```.>PipeScript.Inline``` to simplify and standarize pro
2214 }
2315 }
2416}
25- ~~~
17+ ~~~
You can’t perform that action at this time.
0 commit comments