|
1 | | -This directory and it's subdirectories contain additional language keywords within PipeScript. |
| 1 | +This directory contains Inline PipeScript transpilers for several languages. |
| 2 | + |
| 3 | +PipeScript can currently be embedded in 26 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. |
| 9 | + |
| 10 | + |
| 11 | +|Language |Synopsis | |
| 12 | +|---------------------------------------|---------------------------------------------------------------------| |
| 13 | +|[ATOM](Inline.ATOM.psx.ps1) |[ATOM Inline PipeScript Transpiler.](Inline.ATOM.psx.ps1) | |
| 14 | +|[Bicep](Inline.Bicep.psx.ps1) |[Bicep Inline PipeScript Transpiler.](Inline.Bicep.psx.ps1) | |
| 15 | +|[CPlusPlus](Inline.CPlusPlus.psx.ps1) |[C/C++ PipeScript Transpiler.](Inline.CPlusPlus.psx.ps1) | |
| 16 | +|[CSharp](Inline.CSharp.psx.ps1) |[C# Inline PipeScript Transpiler.](Inline.CSharp.psx.ps1) | |
| 17 | +|[CSS](Inline.CSS.psx.ps1) |[CSS Inline PipeScript Transpiler.](Inline.CSS.psx.ps1) | |
| 18 | +|[Go](Inline.Go.psx.ps1) |[Go PipeScript Transpiler.](Inline.Go.psx.ps1) | |
| 19 | +|[HLSL](Inline.HLSL.psx.ps1) |[HLSL Inline PipeScript Transpiler.](Inline.HLSL.psx.ps1) | |
| 20 | +|[HTML](Inline.HTML.psx.ps1) |[HTML PipeScript Transpiler.](Inline.HTML.psx.ps1) | |
| 21 | +|[Java](Inline.Java.psx.ps1) |[Java Inline PipeScript Transpiler.](Inline.Java.psx.ps1) | |
| 22 | +|[JavaScript](Inline.JavaScript.psx.ps1)|[JavaScript Inline PipeScript Transpiler.](Inline.JavaScript.psx.ps1)| |
| 23 | +|[Json](Inline.Json.psx.ps1) |[JSON PipeScript Transpiler.](Inline.Json.psx.ps1) | |
| 24 | +|[Kotlin](Inline.Kotlin.psx.ps1) |[Kotlin Inline PipeScript Transpiler.](Inline.Kotlin.psx.ps1) | |
| 25 | +|[Markdown](Inline.Markdown.psx.ps1) |[Markdown File Transpiler.](Inline.Markdown.psx.ps1) | |
| 26 | +|[ObjectiveC](Inline.ObjectiveC.psx.ps1)|[Objective C PipeScript Transpiler.](Inline.ObjectiveC.psx.ps1) | |
| 27 | +|[OpenSCAD](Inline.OpenSCAD.psx.ps1) |[OpenSCAD Inline PipeScript Transpiler.](Inline.OpenSCAD.psx.ps1) | |
| 28 | +|[Perl](Inline.Perl.psx.ps1) |[Perl Inline PipeScript Transpiler.](Inline.Perl.psx.ps1) | |
| 29 | +|[PHP](Inline.PHP.psx.ps1) |[PHP PipeScript Transpiler.](Inline.PHP.psx.ps1) | |
| 30 | +|[PSD1](Inline.PSD1.psx.ps1) |[PSD1 Inline PipeScript Transpiler.](Inline.PSD1.psx.ps1) | |
| 31 | +|[Python](Inline.Python.psx.ps1) |[Python Inline PipeScript Transpiler.](Inline.Python.psx.ps1) | |
| 32 | +|[Razor](Inline.Razor.psx.ps1) |[Razor Inline PipeScript Transpiler.](Inline.Razor.psx.ps1) | |
| 33 | +|[RSS](Inline.RSS.psx.ps1) |[RSS Inline PipeScript Transpiler.](Inline.RSS.psx.ps1) | |
| 34 | +|[Ruby](Inline.Ruby.psx.ps1) |[Ruby Inline PipeScript Transpiler.](Inline.Ruby.psx.ps1) | |
| 35 | +|[Rust](Inline.Rust.psx.ps1) |[Rust Inline PipeScript Transpiler.](Inline.Rust.psx.ps1) | |
| 36 | +|[TOML](Inline.TOML.psx.ps1) |[TOML Inline PipeScript Transpiler.](Inline.TOML.psx.ps1) | |
| 37 | +|[TypeScript](Inline.TypeScript.psx.ps1)|[TypeScript Inline PipeScript Transpiler.](Inline.TypeScript.psx.ps1)| |
| 38 | +|[XML](Inline.XML.psx.ps1) |[XML Inline PipeScript Transpiler.](Inline.XML.psx.ps1) | |
2 | 39 |
|
3 | | -Most keywords will be implemented as a Transpiler that tranforms a CommandAST. |
4 | 40 |
|
5 | 41 |
|
6 | | -|DisplayName |Synopsis | |
7 | | -|------------------|----------------------------| |
8 | | -|[New](New.psx.ps1)|['new' keyword](New.psx.ps1)| |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | -## New Example 1 |
14 | | - |
15 | | - |
16 | | -~~~PowerShell |
17 | | - .> { new DateTime } |
18 | | -~~~ |
19 | | - |
20 | | -## New Example 2 |
21 | | - |
22 | | - |
23 | | -~~~PowerShell |
24 | | - .> { new byte 1 } |
25 | | -~~~ |
26 | | - |
27 | | -## New Example 3 |
28 | | - |
29 | | - |
30 | | -~~~PowerShell |
31 | | - .> { new int[] 5 } |
32 | | -~~~ |
33 | | - |
34 | | -## New Example 4 |
35 | | - |
36 | | - |
37 | | -~~~PowerShell |
38 | | - .> { new datetime 12/31/1999 } |
39 | | -~~~ |
40 | | - |
41 | | -## New Example 5 |
42 | | - |
43 | | - |
44 | | -~~~PowerShell |
45 | | - .> { new @{RandomNumber = Get-Random; A ='b'}} |
46 | | -~~~ |
47 | | - |
48 | | -## New Example 6 |
49 | | - |
50 | | - |
51 | | -~~~PowerShell |
52 | | - .> { new Diagnostics.ProcessStartInfo @{FileName='f'} } |
53 | | -~~~ |
54 | | - |
0 commit comments