nkh / Asciio-2.0

1 stars 0 forks source link

Object renderer #14

Closed nkh closed 1 year ago

nkh commented 7 years ago

Objects can be rendered by code external to asciio. The code can be in any language.

A good example is table rendering, when the table data source is in a binary format, extracting the data, transforming it in asciio's internal format, is a pain. This would also add a table object and int UI to asciio.

Asciio stores information about where the original data is, and what command is run to render it in ASCII. It also caches the rendering in case the source is deleted. if the source is modified, asciio can refresh the cached rendering.

here is an example of generator https://github.com/ozh/ascii-tables

nkh commented 7 years ago

it is possible to run multiple commands by putting them together in a shell script