File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ This directory contains Inline PipeScript transpilers for several languages.
2+
3+ PipeScript can currently be embedded in 15 languages.
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.
9+
10+
11+ | Language | Synopsis |
12+ | ---------------------------------------| ---------------------------------------------------------------------|
13+ | [ CPlusPlus] ( Inline.CPlusPlus.psx.ps1 ) | [ C/C++ PipeScript Transpiler.] ( Inline.CPlusPlus.psx.ps1 ) |
14+ | [ CSharp] ( Inline.CSharp.psx.ps1 ) | [ C# Inline PipeScript Transpiler.] ( Inline.CSharp.psx.ps1 ) |
15+ | [ CSS] ( Inline.CSS.psx.ps1 ) | [ CSS Inline PipeScript Transpiler.] ( Inline.CSS.psx.ps1 ) |
16+ | [ Go] ( Inline.Go.psx.ps1 ) | [ Go PipeScript Transpiler.] ( Inline.Go.psx.ps1 ) |
17+ | [ HTML] ( Inline.HTML.psx.ps1 ) | [ HTML PipeScript Transpiler.] ( Inline.HTML.psx.ps1 ) |
18+ | [ Java] ( Inline.Java.psx.ps1 ) | [ Java Inline PipeScript Transpiler.] ( Inline.Java.psx.ps1 ) |
19+ | [ JavaScript] ( Inline.JavaScript.psx.ps1 ) | [ JavaScript Inline PipeScript Transpiler.] ( Inline.JavaScript.psx.ps1 ) |
20+ | [ Json] ( Inline.Json.psx.ps1 ) | [ JSON PipeScript Transpiler.] ( Inline.Json.psx.ps1 ) |
21+ | [ Markdown] ( Inline.Markdown.psx.ps1 ) | [ Markdown File Transpiler.] ( Inline.Markdown.psx.ps1 ) |
22+ | [ OpenSCAD] ( Inline.OpenSCAD.psx.ps1 ) | [ OpenSCAD Inline PipeScript Transpiler.] ( Inline.OpenSCAD.psx.ps1 ) |
23+ | [ Ruby] ( Inline.Ruby.psx.ps1 ) | [ Ruby Inline PipeScript Transpiler.] ( Inline.Ruby.psx.ps1 ) |
24+ | [ Rust] ( Inline.Rust.psx.ps1 ) | [ Rust Inline PipeScript Transpiler.] ( Inline.Rust.psx.ps1 ) |
25+ | [ TOML] ( Inline.TOML.psx.ps1 ) | [ TOML Inline PipeScript Transpiler.] ( Inline.TOML.psx.ps1 ) |
26+ | [ TypeScript] ( Inline.TypeScript.psx.ps1 ) | [ TypeScript Inline PipeScript Transpiler.] ( Inline.TypeScript.psx.ps1 ) |
27+ | [ XML] ( Inline.XML.psx.ps1 ) | [ XML Inline PipeScript Transpiler.] ( Inline.XML.psx.ps1 ) |
28+
29+
30+
Original file line number Diff line number Diff line change 1+ This directory contains Inline PipeScript transpilers for several languages.
2+
3+ PipeScript can currently be embedded in ``` .>{@(Get-Transpiler -TranspilerPath $pwd).Count}<. ``` languages.
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.
9+
10+ ~~~ PipeScript{
11+ [PSCustomObject]@{
12+ Table = Get-Transpiler -TranspilerPath $pwd |
13+ Select-Object @{
14+ Name='Language'
15+ Expression= {$_.DisplayName -replace '^Inline\.'}
16+ }, @{
17+ Name='Synopsis'
18+ Expression= { $_.Synopsis -replace '[\s\r\n]+$' }
19+ }, @{
20+ Name='Link'
21+ Expression = { $_.Name }
22+ }
23+ }
24+ }
25+ ~~~
You can’t perform that action at this time.
0 commit comments