← Winnitude! Search  ·  Reader Mode (965 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 92 LINKS

GitHub - StartAutomating/PipeScript: A Metaprogramming Language for PowerShell (and anything else)

Repository navigation

PipeScript
Public

About

A Metaprogramming Language for PowerShell (and anything else)

pipescript.start-automating.com/

Topics

compiler github-actions interpreter language metaprogramming powershell powershell-module transpiler

Resources

Readme MIT license Activity

Stars

110 stars

Watchers

7 watching

Forks

7 forks Report repository Use this GitHub action with your project Add this Action to an existing workflow or create a new one
View on Marketplace

Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


6,246 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
Assets Assets    
Build Build    
Commands Commands    
Demos Demos    
Languages Languages    
Tests Tests    
Transpilers Transpilers    
Types Types    
docs docs    
en-us en-us    
CHANGELOG.md CHANGELOG.md    
Dockerfile Dockerfile    
Http.Server.Start.ps1 Http.Server.Start.ps1    
LICENSE LICENSE    
PipeScript.format.ps1xml PipeScript.format.ps1xml    
PipeScript.ps.dockerfile PipeScript.ps.dockerfile    
PipeScript.ps.psd1 PipeScript.ps.psd1    
PipeScript.ps1.psm1 PipeScript.ps1.psm1    
PipeScript.psd1 PipeScript.psd1    
PipeScript.psm1 PipeScript.psm1    
PipeScript.types.ps1xml PipeScript.types.ps1xml    
README.md README.md    
README.ps1.md README.ps1.md    
action.yml action.yml    

Repository files navigation

What Is PipeScript?

PipeScript is a metaprogramming language built in PowerShell.

It lets you compile PowerShell and easily work with 64 other languages (and counting).

It is designed to make programming more scriptable and scripting more programmable.

PipeScript can be run interactively, or used to build more with less code.

PipeScript can be used to template 64 languages, and implicitly interpert 16 languages.

Implicit Interpretation

Any Language can define an .Interpeter, and PipeScript can use this information to implicitly interpret other languages.

For example, if you have PipeScript and NodeJS installed, you can:

.\RunAJavaScriptFile.js "With Arguments!"

Making Scripting more Programmable

Interpreted languages often lack a key component required for reliability: a compiler.

PipeScript allows you to build PowerShell scripts, and provides you with an engine to change any part of your code dynamically.

This allows us to fine-tune the way we build PowerShell and lets us extend the language to make complex scenarios simple.

See the List of Transpilers you can use to transform your scripts.

Making Programming more Scriptable

Programming is tedious, not hard.

Often, programming involves implementing small functional changes within a specific templatable scenario.

For example, if implementing an interface or subclass, the only things that will change are the class name and method details.

PipeScript can work with 64 languages.

Embedding PipeScript within any of these languages allows you to generate any of these languages with parameterized scripts, thus removing some of the tedium of programming.

See the Supported Languages you can use to transform your scripts.

Like It? Star It!

If you like PipeScript, why not use it to star this repository?:

# Install PipeScript
Install-Module PipeScript -Scope CurrentUser
# Import PipeScript
Import-Module  PipeScript -Force

# Then use Invoke-PipeScript to run
Invoke-PipeScript -ScriptBlock {
    param([Parameter(Mandatory)]$gitHubPat)
    # Using PipeScript, you can use URLs as commands, so we just need to call the REST api
    put https://api.github.com/user/starred/StartAutomating/PipeScript -Headers @{
        Authorization="token $gitHubPat"
    }
} -Parameter @{GitHubPat = $YourGitHubPat}

About

A Metaprogramming Language for PowerShell (and anything else)

pipescript.start-automating.com/

Topics

compiler github-actions interpreter language metaprogramming powershell powershell-module transpiler

Resources

Readme MIT license Activity

Stars

110 stars

Watchers

7 watching

Forks

7 forks Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages