ryanlaws / pigeons

Message logistics for monome norns
2 stars 2 forks source link

Persist table expressions as pretty plisp sexprs #1

Open ryanlaws opened 3 years ago

ryanlaws commented 3 years ago

Summary

AST expression tables can already be generated from plisp sexprs stored in strings via plisp's expr_to_table function. However, the current implementation of expr-to-sexpr which converting in the other direction (AST to sexpr) lacks any kind of indentation, so while the sexprs it generates should be parseable by plisp, they are not human-readable.

Why?

Persistence - saving and sharing. This will be needed once the UI is ready to start manipulating expressions, in order to save them. It will also be needed in order to share them if and when we integrate e.g. norns.online sharing.

Considerations