invoke - LeFreq/Singularity GitHub Wiki

In theory, the Soup code snippets could be ''invoked'' and RUN to see if they do anything interesting.

Consider a snippet of machine code. It might output something that a user recognized as useful, consistently. That is: '''order'''. However, in a p2p system, this should be more stable, named, controlled -- not so ad hoc.

Consider assembly code like this:

  • CLONENAME (replicate) object1. Deconstructable to individual units (letters of a string, or bits of a nu. *COPYVAR (formerly MOV) [address], Object1. This could get that data at address specified (perhaps an objects state) and move it as an input to object1.
    *JMPIFVAR to Objects_trust_list[1] which invokes the code... *EQUAL object1, object2 >> 1 (TRUE) if objects are same in some (generalizable?) measure.
  • 1 << << <<, shift in a 1 and create a NUMBER.
  • SHIFTALL will do a multiply or divide by two.

What minimal Functions are needed in the OS, like above?:

  • SET: output input. >> (heart)
  • receive data. << (hands)
  • copy data. % (CLONE) (head)
  • compare if equal. == (health)

This, alone, isn't quite enough to do general-purpose computing, so what fucntions ''augment'' these functions?

  • group (save a bunch of functionality) (hands) -> (heart)
  • name (label a group of functionality) (head) -> ("heart")
  • kwery (check something in a group) health(heart) -> light
  • EDIT: transform (set fucntions, binary functions?) (heart(light)=love)

These eight functions should(?) be able to do everything.