Last week I published my structured editor and the textended file format. Since then I have been improving it:
- You can label the structures double tapping left alt key. It opens a smaller editor that modifies the label of the structure. The switch into this 'sub editor' isn't entirely clear, but it's there.
- The layout is no longer as fixed as it used to be. Different editor frames can take in different layouters. The layout function appears in separate file and can interpret part of the structure to specialize it's layout.
- There's some primitive functionality for translating from .t+ format into python ast. It only supports 'print' -construct. You can trigger it using f5 -key. This key binding may change though.
- The editor annotates nodes with an identifier, unless they're already identified. Not used for layering documents yet, but soon.
Next week I plan to have a complete python <-> t+ translation. Fortunately python provides customized importers and access to language's abstract syntax trees. Once I'll have the translation layer, I can try out how this editor works for programming.
I might have to rethink the file format a bit. Discovered it may be challenging to stream via an unix pipe.