boltex / leojs

Leo Literate Editor with Outline in Typescript
https://marketplace.visualstudio.com/items?itemName=boltex.leojs
MIT License
25 stars 1 forks source link

Design of leojs #9

Closed edreamleo closed 7 months ago

edreamleo commented 3 years ago

This issue continues Leo issue #1774. This is the proper place for this discussion.

Félix: leojs...would be most useful to test things on the [vs-code/js] side, without communicating to python / bridge etc., in order to sometimes get some help from vscode's team when trying to have them install and run the extension to test things, and show live-examples of what an (non-literate) outliner can do, without the need for them to also get leo setup. And I would ultimately merge the project into leoInteg. It could also be a starting point for someone who wants to re-do leo in js / rust/webassembly"

EKR: Preliminary design

Hurray! leojs doesn't have to do any of the following.

The kernel of leojs

Later improvements

The following Leonine features could be postponed until after all essential features are in place:

boltex commented 3 years ago

Other elements that are no longer required to be implemented in the making of leojs, but from the leoInteg point of view:

... and more! ;)

edreamleo commented 3 years ago

@boltex Do you mean that the things on the list do have to be done or don't have to be done?

boltex commented 3 years ago

They don't have to be done ;)

Those were needed in leoInteg for the communication with the external leo process, while in leojs, everything is in the same 'process' so none of that is needed to prevent race conditions or de-synchronisation of the internal states.

edreamleo commented 3 years ago

@boltex That's jolly! I'm motivated!