@@ 5,8 5,22 @@ Yet another experimental lang about piping data around
Pipes includes as a foundational construct, pattern matching
and rewriting.
+Check out the playground here:
https://kyleperik.com/pipes/
+Warning, this language is a prototype and does not help you much with syntactic or runtime errors.
+Check the js console for some error information if something isn't working.
+
+## Examples
+
+These links point point to urls which encode the full text of the program, so they can get pretty long.
+
+[Fibonacci](https://kyleperik.com/pipes/#CmRlZiBpbnB1dAogIFsnaW5wdXQnLCB2YWx1ZSwgc106IHZhbHVlOwoKZGVmIGxvZwogIHZhbHVlOiBbJ2xvZycsIHZhbHVlXTsKCmRlZiBmaWIgKAogIFthLCBiLCAwXSA6IGE7CgogIFthLCBiLCBuXSA/IChbbiwgMF0gfCBndCk6CiAgWwogICAgKFthLCBiXSB8IGFkZCksCiAgICBhLAogICAgKFtuLCAxXSB8IHN1YikKICBdIHwgZmliOwopOwoKCmlucHV0CnwgbiA6IFsxLCAxLCBuXSB8IGZpYiB8IGxvZzsK)
+
+[Velocity](https://kyleperik.com/pipes/#ZGVmIGlucHV0IFsnaW5wdXQnLCB4LCBzXSA6IHg7CmRlZiBtb3VzZW1vdmUKICBbJ3RpY2snLCB4LCBzXSA6IHg7CgpkZWYgbG9nIHggOiBbJ2xvZycsIHhdOwpkZWYgZHJhdyB4IDogWydkcmF3JywgeF07CmRlZiBjbGVhcgogIHggOiB7dHlwZTogJ2NsZWFyJ30gfCBkcmF3OwoKZGVmIHRpY2sKICBbJ21vdXNlbW92ZScsIG51bGwsIHN0YXRlXSA6IHN0YXRlOwoKZGVmIGNpcmNsZQogIHBvcyA6IHsKICAgIHR5cGU6ICdjaXJjbGUnLAogICAgcmFkaXVzOiA1LAogICAgcG9zCiAgfSB8IGRyYXc7CgpkZWYgc2V0c3RhdGUKICB2YWx1ZSA6IFsnc2V0X3N0YXRlJywgdmFsdWVdOwoKZGVmIHZlY211bAogIFt7eCwgeX0sIHNdIDogewogICAgeDogKFt4LCBzXSB8IG11bCksCiAgICB5OiAoW3ksIHNdIHwgbXVsKSwKIC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ZXRfc3RhdGUnLCB2YWx1ZV07CgpbJ21vdXNlZG93bicsIHgsIHNdIDogewogIG1vdXNlZG93bjogJ3RydWUnCn0gfCBzZXRzdGF0ZTsKClsnbW91c2V1cCcsIHgsIHNdIDogewogIG1vdXNlZG93bjogJ2ZhbHNlJwp9IHwgc2V0c3RhdGU7CgpkZWYgc2VnbWVudAogIFsKICAgICdtb3VzZW1vdmUnLAogICAgZW5kLAogICAgewogICAgICBsYXN0UG9zOiBzdGFydCwKICAgICAgbW91c2Vkb3duCiAgICB9CiAgXSA6IHsKICAgIHN0YXJ0LCBlbmQsIG1vdXNlZG93bgogIH07CgpzZWdtZW50CiAgfCB7CiAgICBtb3VzZWRvd246ICd0cnVlJywKICAgIHN0YXJ0LCBlbmQKICB9CiAgOiB7IHR5cGU6ICdsaW5lJywgc3RhcnQsIGVuZCB9CiAgfCBkcmF3OwoKc2VnbWVudAogIHwgeyBlbmQgfSA6IHsgbGFzdFBvczogZW5kIH0KICB8IHNldHN0YXRlOw==)
+
## Overview
Pipes statements define what it should select, and what to generate with it.