Intentional Programming demo (Part 1) - Editor

Channel:dftube · Length:9:59 · Published:2006-08-25 · Views:14454

Watch on YouTube

Summary

A roughly ten-minute demo of Microsoft's Intentional Programming research system, showing its editor and an unusual way of working with code. It is the first of two clips cut from a longer video.

Why HN recommends it

Commenters cite it as an early example of projectional or intent-based programming tools when discussing alternatives to text-based code.

Here are a couple of demo vids from well over 10 years ago — HN, 2016

Programming language design · Testing, debugging & developer tools · History of computing

Subtitles (excerpt)

Computer programs have been traditionally represented as a stream of characters. Intentional programs are represented not as text but as a database. Not a database about the program but a database that is the program itself. The key to the new representation is the concept of identity. In textbased systems, identity is a complex idea implemented by the use of names and scopes. It is easy to use a search command to find all occurrences of any given name. But which of these are definitions and which are uses? More importantly, which definition corresponds to any given use? These questions can be answered only by manual analysis which is both painstaking and errorprone. In the IP database, all definitions have unique identities and all references are resolved using this unique identity. Names can still appear but they serve only to display the underlying unique relationship. This is the IP system displaying a program that is represented as a database. The advantages of having a unique identity for each reference are immediately apparent. When we select any reference, we can always find its definition by a simple command. For example, this K is a reference to this definition of a global variable. Surfing back to the reference, we check out another K, which

On Hacker News

There are some interesting ideas that could help with reading and writing programs: from Bret Victor: [LINK] and intentional programming from Charles Simonyi: [LINK] [VIDEO] — spyder, 2014-09
Intentional Software was working on a system like this many years ago: [VIDEO] Part 2: [LINK] You can project your programs into different views and add lots of metadata about the program and use that data in various contexts. Also extends to source control and other use cases. It looked really neat. I'm not sure what happened to it. — sweetsocks21, 2024-02
Charles Simonyi's Intentional Software was doing that back in the days of Windows NT [VIDEO] But, they stayed insular and enterprise right up until Microsoft bought them back. We mortals barely got to see or hear anything about it. I heard one podcast interview of a developer there who said they basically represent the code as an s-expression tree with a bunch of metadata on each node. — corysama, 2023-08
This idea has been around for ages. Check out this old video on intentional programming by Microsoft: [VIDEO] — calebh, 2018-01
For the curious: it's difficult to find that particular demo on the web now, but the system didn't look too much different from its earlier incarnation at Microsoft in the '90s: [VIDEO] — DalekBaldwin, 2017-05

Related videos