Skip to content

dfinke/PSProse

Repository files navigation

PSProse

PowerShell module for the Microsoft Program Synthesis SDK https://github.com/Microsoft/prose

Microsoft PROSE SDK for .Net is available publicly in binary form for non-commercial use only.

Prose is the example-driven parsing based on the FlashExtract, research work by Microsoft Research.

The ConvertFrom-String cmdlet in Windows PowerShell used it to power example-driven parsing. It was not ported to PowerShell Core.

Prose is written using dotnet core, is cross platform and has new features.

Microsoft Program Synthesis

The Program Synthesis using Examples (PROSE) SDK includes a set of technologies for the automatic generation of programs from input-output examples. This repo includes samples and sample data for the Microsoft PROSE SDK.

Find guides for these sample projects here: https://microsoft.github.io/prose/

Parse By Example

In this example, pass in the the file to be split, and an array of values in the Constraints parameter, which becomes the example used to parse the file and split the text. You can see the results in the bottom pane. Notice the property names. There is a Headers parameter that can be used to customize those.

image

In Action

image

UI In Action

Split Text UI

image

Contributor Covenant Code of Conduct

Full Code of Conduct.

Examples of behavior that contributes to creating a positive environment include:

  • Using welcoming and inclusive language
  • Being respectful of differing viewpoints and experiences
  • Gracefully accepting constructive criticism
  • Focusing on what is best for the community
  • Showing empathy towards other community members

About

PowerShell module for the Microsoft Program Synthesis SDK https://github.com/Microsoft/prose

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published