An esoteric visual language that takes image files as input based on a multi-tape turing machine, designed for compatibility with C. You may need to s

TartanLlama / vizh

submited by
Style Pass
2021-06-07 18:30:07

An esoteric visual language that takes image files as input based on a multi-tape turing machine, designed for compatibility with C.

You may need to set the TESSDATA_PREFIX environment variable to the folder containing Tesseract data. If you're on Linux this is likely /usr/share/tesseract-ocr/<version>/tessdata.

A vizh program consists of a number of functions, each in its own image file. (What image types are allowed? Ideally at least png and jpg)

The entry point to a vizh program is a function called main. (Note that the main function gets mangled as vizh_main. For all other functions the symbol name is the same as the vizh name).

The tapes available to a vizh function consist of its tape arguments. On entry to the function the r/w head is initialised to the start of the first tape argument, if any.

For example, given the following state of the abstract machine where ^ is the last position of the r/w head on that tape and $ is the active tape:

Leave a Comment
Related Posts