Commit graph

45 commits

Author SHA1 Message Date
fb796cda04
add static TypeIDs to create basic types without context 2024-08-23 13:56:27 +02:00
e7331b36ae
radix convert: accept radix=0 for native digit radix (2^64) 2024-08-22 17:39:02 +02:00
0bcfd7a65a
call edittree_hook in morphisms already, add edittree() getter in ReprTreeExt to further simplify application code 2024-08-09 23:00:31 +02:00
786866746c
integer radix convert: insert one zero digit in case value is zero 2024-08-09 02:31:26 +02:00
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
ffeb4b8e73
repr tree: create new VecBuffer in case attach_to() is called on Vec<EditTree> 2024-08-06 15:40:05 +02:00
508e716a6a
repr tree: split leaf & node into separate files 2024-08-04 19:27:36 +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
bb846afc7c
ReprTree: add detach functions & attach_to helpers for Arc<ReprTree> 2024-06-06 15:21:52 +02:00
cdf03c9aae
improve morphisms for integer example 2024-06-03 17:10:52 +02:00
d02f33ee17
ReprTree: add halo type 2024-05-31 00:07:25 +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
91e56d876d
digit editor: create char repr if not available 2024-03-23 21:32:12 +01:00
edf088b853
add vec-access to ReprTree and morphism to collect <List Char> to <Vec Char> 2024-03-23 20:57:07 +01:00
ecaa74ccfd
add morphism to extract value-list from ListEditor 2024-03-21 10:37:24 +01:00
658f5c1000
refactor ReprTree
- ReprLeaf with In- & Out-Ports
- Optional Buffers
2024-03-15 18:54:45 +01:00
03dc9f1133
add ReprTreeExt trait for Arc<Rwlock<>> 2024-03-10 19:27:51 +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
647a5d77b6
list: reactivate item creation on split 2024-01-23 22:00:38 +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
fdf2d60b35
MorphismBase: fix deadlock 2024-01-18 19:44:04 +01:00
8471c7a90f
move morphism to editors/char mod 2024-01-18 19:44:02 +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
39fbae7740
remove debug prints 2023-11-29 17:37:47 +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
57cb1ee3ff
add TTYApplication 2023-11-28 17:16:51 +01:00
f3ad5c78d7
rename submodules to reprTree & editTree 2023-11-27 04:18:46 +01:00
b1c17da75f
remove bimap (no longer needed since it is in lib-laddertypes now) 2023-11-26 22:16:54 +01:00
f8e872acda
Cargo.toml remove unneccesary dependencies 2023-11-26 22:08:43 +01:00
4bf03c356d
wip refactor crates 2023-11-26 03:26:00 +01:00