Commit graph

32 commits

Author SHA1 Message Date
8d637a6f32
add ReprTree::from_str() to simplify creation of initial representation nodes 2024-08-06 16:29:28 +02:00
6e2b82585e
in context.apply_morphism() now use find_morphism_path() to automatically find chained morphisms to create projections in ReprTree 2024-08-06 16:20:02 +02:00
4c0e9da2d3
fixup examples
also fix behaviour of insert_leaf() & attach_leaf_to() when type of current repr-node occurs inside the type of the leaf
2024-08-03 15:44:04 +02:00
830ce613ea
example: two editors with different radices 2024-08-02 22:43:00 +02:00
a3c701ce88
automatically generate list-map morphisms in find_morphism()
this allows us to now to create <List EditTree> from <List Char>
with apply_morphism()
2024-08-02 21:58:14 +02:00
6e8bb0aeb5
apply_list_map_morphism 2024-08-01 18:35:57 +02:00
e86070da50
fixes to make dual-editor with big/little endian projection work 2024-07-21 18:16:43 +02:00
cdf03c9aae
improve morphisms for integer example 2024-06-03 17:10:52 +02:00
fdecc29e80
clean up posint example & use u64 instead of usize in PositionalUInt trait 2024-05-30 23:11:50 +02:00
40a5da4512
int example & testing out more int projections 2024-05-25 00:39:47 +02:00
edf088b853
add vec-access to ReprTree and morphism to collect <List Char> to <Vec Char> 2024-03-23 20:57:07 +01:00
473dd5f4dc
add short READMEs for examples 2024-03-21 18:17:04 +01:00
33e97ed5e3
cleanup examples
- move initialization of edittree-hook into lib-nested-tty
- split examples into separate digit/string examples
2024-03-21 13:27:09 +01:00
658f5c1000
refactor ReprTree
- ReprLeaf with In- & Out-Ports
- Optional Buffers
2024-03-15 18:54:45 +01:00
d7d0a46c7b
move digit into separate module 2024-03-10 16:17:24 +01:00
77d9e64531
add notes, formatting, shallow simplifications 2024-03-10 14:04:08 +01:00
e46c143dec
test different style for <List Char>, add meta-chars to ctx globally to avoid deadlock 2024-01-18 19:44:14 +01:00
0ac4a34743
example wip: create display for edit tree 2024-01-18 19:44:11 +01:00
863fe95848
example wip 2024-01-18 19:44:08 +01:00
8471c7a90f
move morphism to editors/char mod 2024-01-18 19:44:02 +01:00
caa0c9a5c0
define char-editor constructor as morphism 2024-01-18 19:43:59 +01:00
668b0b8b96
rename NestedNode to EditTree 2024-01-18 19:43:57 +01:00
47a35f22b7
some work on repr tree example 2024-01-18 19:43:54 +01:00
97a5b580df
wip: deactivate code to make it compileable 2024-01-18 19:43:45 +01:00
193b8c8cac
implement MorphismBase, remove data from NestedNode 2024-01-18 19:32:49 +01:00
be3eefc3a5
edit tree: split node struct into sub structs 2023-11-29 18:12:04 +01:00
d15077aca0
add TreeNavCmd and keymap functions 2023-11-29 02:22:44 +01:00
25d8acdb72
first steps in reactivating pty-list editor 2023-11-29 01:23:41 +01:00
85b614a9bb
further restructuring 2023-11-28 20:52:25 +01:00
f151f9c5d2
add second example with TTYApplication & Char-View 2023-11-28 17:31:37 +01:00
f3ad5c78d7
rename submodules to reprTree & editTree 2023-11-27 04:18:46 +01:00
ea38b0f9b0
add hello world example 2023-11-26 22:09:03 +01:00