Blackboard

From Esolang
Jump to navigation Jump to search

Blackboard is a esolang crated by User:Yayimhere based on RECT4n=GLE, ///, Thue, and Lambda calculus

semantics

the program is set up in two sections(separated by % on a single line). one the left side there are replacements set up like this:

x | y:z | d: ect...

in this we replace x with y, and the same with z and d. what we replace in is in the second section which is a string that can only hold 256 chars. we apply the rules left to right and only once. now we make the rectangle. we generate it like this:

  • apply replacements
  • every char that was deleted is added to the rectangle where its width is fixed(its equal to 9) starting with the one deleted the nearest to index 0
  • apply the rectangle interpreter to that rectangle

the rectangle interpreter

find every tiling like in RECT4n=GLE and then sort them then deletes the second section and replaces it like this:

  • take the top line of the sorted rectangle
  • then add the second one
  • do this until the length of the second section is equal to 256

thats the rectangle interpreter. the program halts if the rectangle is empty. else it will be interpreted as a Blackboard program