Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any other examples of DSL in powershell?

PowerBoots is a very useful example of DSL which exploits script blocks to create GUIs:

Boots {
   StackPanel {
      Button "A bed of clams"
      Button "A coalition of cheetas"
      Button "A gulp of swallows"
   }
}

I know that without specifying a target Domain this question appears very general. So I'm going to make it more specific:

Do you know any other project implementing a kind of DSL in powershell?

like image 482
Emiliano Poggi Avatar asked May 03 '11 18:05

Emiliano Poggi


2 Answers

You should also look at psake: https://github.com/JamesKovacs/psake

Also, I just found Pester, which is the PoSh answer for RSpec: https://github.com/pester/Pester

like image 163
beefarino Avatar answered Sep 23 '22 09:09

beefarino


Another example: Windows PowerShell: A Better XML

like image 21
Doug Finke Avatar answered Sep 23 '22 09:09

Doug Finke