Commit graph

11 commits

Author SHA1 Message Date
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
7762fa4b12
simplify posint example
remove setup_hex_master() / setup_dec_master() functions and instead directly call apply_morphism()
2024-08-09 02:33:48 +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
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