So, that's my next big mod idea; lispblocks.

Here are the nodes:

  • Lisp interpreter
  • Lisp-lua translator

They are connected by digilines.

The lisp-lua translator has this kind of structure:

1
2
3
4
5
{
    add = function (x, y)
        return x+y
    end,
}

The lisp interpreter can then do this, once connected to digilines and given the same channel:

(add 2 2)

Intresting.

I can see this being useful for heavily customised and readable workflows.

Have a look at this factory automation:

1
2
3
4
5
6
(if (less-than (query-machine-demand)  (query-supply))
    ; Yes then this
        (destroy-generation)
    ; Else then this
        (create-generation)
)

All the complex, boring, and factory-specific procedures can then be moved to their lua implementations and the public can understand what happens. Nobody loses here.

Edit
Pub: 18 Aug 2023 21:45 UTC
Views: 35