News for hackers. Stuff that matters.
Re:Show HN: iNet – a new programming language for interactio... by archibaldJ on Friday September 08, 2023 @04:28AM (#37431034)
I think it should be quite nice to write an interpreter in Haskell (and then introduce meta-circular to it?)

e.g. we can have Graph be a monad made up of `Node[]` with `runGraph` defined by somehow composing Rules

```

data PortType = ... deriving (Show, Read)

data Port = Port { portType :: PortType, portName :: String } deriving (Show, Read)

data Node = Node { inputPorts :: [Port], outputPorts :: [Port], principal :: Port } deriving (Show, Read)

```

Will need some creativity for the Rules to be defined more naturally, or it would end up just a function:

```

zeroAddRule :: Port -> [Port] -> Maybe [Port]

zeroAddRule target [addend]

    | target == outputPorts zero !! 0 = Just [addend]

    | otherwise = Nothing

```
Re:Show HN: iNet – a new programming language for interactio... by xyheme on Friday September 08, 2023 @12:34PM (#37435864)
I plan to do multiple implementations of iNet too.

If you made an implementation, I will make a list of implementations in the homepage ( https://inet.run ), and add your implementation to the list :)

------

I do not know much about LLM yet, but I like hypergraphs too :)

(I learned about it from Wolfram Physics's docs.)

Re:Show HN: iNet – a new programming language for interactio... by archibaldJ on Sunday September 10, 2023 @03:42PM (#37459232)
Nice! I will keep you updated on my progress :)
Re:Show HN: iNet – a new programming language for interactio... by xyheme on Sunday September 10, 2023 @04:35PM (#37459804)
At that time, feel free to open issue at: https://github.com/cicada-lang/inet/issues

I will not miss an issue there :)

Re:Show HN: iNet – a new programming language for interactio... by xyheme on Friday September 08, 2023 @01:16PM (#37436445)
If you use telegram, welcome to join https://t.me/CicadaLanguage
Re:Show HN: iNet – a new programming language for interactio... by archibaldJ on Sunday September 10, 2023 @03:42PM (#37459239)
thanks! CicadaLang looks very interesting