Skip to content

Support for "active elements" #67

Description

@joshsh

One of the major benefits of moving to LambdaGraph as SmSn's underlying data model (#65) is that programs will be valid elements in the graph. That means that queries can be naturally embedded in the graph as further elements. However, these elements will be somewhat more complicated to work with. In particular, we will need:

  1. A way to display programs in a user-friendly format
  2. A way to interpret programs in the context of the graph
  3. A way for users to define their own programs and easily debug them

While (1) and (2) are straightforward (and will be inherited directly from Hydra), (3) could be difficult without IDE integration. It is simply too easy to define invalid programs in a Hydra DSL -- or indeed any strongly-typed language -- without spotting the problem until you attempt to run the program. Perhaps the expectation should not be that developing programs is part of the same user experience as that of jotting down notes in Emacs or another client. Instead, the user makes use of their IDE for developing programs, but includes the source directory (or a generated directory) in their graph.

cc @jmatsushita

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions