Follow

Programming language, possibly fictional paradigm? 

I want a programming language where a program is defined as a graph of
* values
* calculations (= functions, possibly only the pure kind?)
* I/O?

The compiler and/or runtime then figure out how to organize all the calculations and the I/O and how to store/manage the values, so the expected values are calculated when needed.

Does this exist already?
What am I missing to make it work?

(Is this just a lisp with weird syntax?)

Programming language, possibly fictional paradigm? 

@zatnosk I would say this sounds like Haskell.

Programming language, possibly fictional paradigm? 

@jeena Haskell is probably the closest to what I'm imagining, now that you mention it. It's been years since I've used it myself, so it's fallen into the "weird lisp" category (aka most functional languages) in my brain.

I'm not sure it allows for the graph structure I dream of here, though..

That would need some investigation on my part.

Programming language, possibly fictional paradigm? 

@zatnosk and the magic word in Haskell is lazy evaluation: wiki.haskell.org/Lazy_evaluati

Programming language, possibly fictional paradigm? 

@jeena yeah, the lazy part is definitely haskell inspired.

Programming language, possibly fictional paradigm? 

@zatnosk maybe a prolog variant?

Sign in to participate in the conversation
Manowar.social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!