r/ProgrammingLanguages • • Jan 10 '26

Discussion Demo of visual programming language "Pipe"

Pipe is a visual programming language designed to match the power and sophistication of text-based languages like C++, C#, and Java, enabling Pipe to replace or co-exist with textual languages for real-world applications. Full details are at pipelang.com.

We've had many requests for demos of the language in action, so we created this video with a detailed trace of a real-world example calculating account interest.

For a condensed summary of the language, see this article.

For complete language details, the book is available on Amazon, Apple Books, Google Play Books.

The book is FREE worldwide on Apple Books and Google Play Books, and for most countries (including US and UK) on Amazon.

0 Upvotes

18 comments sorted by

View all comments

Show parent comment

1

u/PurpleDragon99 Jan 13 '26 edited Jan 13 '26

Great question. One of the core ideas of Pipe is that it COMPLEMENTS, not REPLACES text-based languages. There are some cases when text languages are still better, but it does not mean everything should be coded in text. I can even provide a simple proof of this point. If we look at ANY visual language, it has text code undernearth (that was used to program visual language) all the way down to the core of OS. It means that VPL is just a new layer on top of text-coded layers under it. So, VPL must simplify interfacing with text languages, not exclude them - that's what Pipe does. Pipe is a "thick" layer because it tries hard to replicate as much features from traditional languages as possible (with constraints of trying to map functional and object-oriented to flow-based paradigm). It means Pipe allows to do many things visually while keeping the door open to integrate with text languages easily whenever it is needed via well defined API (which is part of Pipe specification). Demo illustrates it perfectly - there are several blocks with comments containing Python code extracts from corresponding blocks. That's how it looks visually. Please note that block code extracts in comments are optional, or they may contain only fragments of code, not full code inside of blocks. It means users have a huge leeway to optimize diagram space, extracting only what is important, not everything. An alternative to code extract is a text comment explaning what block does. Users can choose which one is better, or they even can attach both comment types. Also, text comment can be extracted as part of the code.