• tmcgh@lemmy.zip
    link
    fedilink
    arrow-up
    5
    ·
    15 hours ago

    And then they will get mad at you for not thanking them for ripping off your code.

    However, I am curious, what are/were you working on? I always like to hear what people are cooking up.

    • thevoidzero@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      Wait is this AI asking me to steal the codebase? /j

      I’m basically making a domain specific language for network analysis (graphs). I’ve realized that a lot of things are/can be represented as graphs, and we have support for them in many languages,but why not have it’s own language that comes with graph as the context.

      It has been 2 years, I started with tree graph, so I’m still a bit far from being able to support any kind of graphs, but it’s close to supporting any directed graph for now. And recently I was able to make a version that works in a browser so people can run it without installing anything as well. Here is a basic playground.

      https://nadi-system.github.io/latest/playground.html

      Try running this code in the playground, you might have to search around the documentation if you want to know the syntax a bit more. This example loads a network and you can access inputs of all the nodes in a map.

      # load network
      net.load_str("
      a -> {b, c, d}
      {c,d} -> e
      e -> {f,g}
      ")
      
      nodesmap inputs.NAME
      

      I’m working on a text editor with visualization of network and completion support. I can update you in a week or two if you’re still interested to try it. I used to post when I made stuffs in Reddit, but since I migrated to lemmy I don’t feel like there’s much platform or interactions while posting it here