Commit graph

222 commits

Author SHA1 Message Date
Michael Sippel 9af00d7294
move more event handling from PTYListController into being handled by ListEditor with ListCmd 2023-08-18 03:06:25 +02:00
Michael Sippel 81a22aa831
move ctx init for integer types into integer module 2023-08-18 00:16:16 +02:00
Michael Sippel 408f79be8e
create TypeTermEditor from TypeTerm 2023-08-17 23:40:52 +02:00
Michael Sippel 5e815885ed
node: spill buffer todo 2023-08-17 22:54:43 +02:00
Michael Sippel 7a55d917cc
context: add add_varname & minor debug stuff 2023-08-17 22:48:09 +02:00
Michael Sippel 4cdedca62f
integer editor: add set_value & from_u64 2023-08-17 22:45:34 +02:00
Michael Sippel dc1dc3fe24
node: adapt new() to always initialize ctx and data; fix get_morphism bug 2023-08-15 23:18:51 +02:00
Michael Sippel fa8b80678e
char editor: improve readablility, add comment & use IndexBuffer::from_iter 2023-08-14 01:49:14 +02:00
Michael Sippel 1388dcafe2
TypeTerm: first implementation of curry/decurry, normalize etc. 2023-08-14 01:46:27 +02:00
Michael Sippel 2d46ac95bd
restructure TypeTerm 2023-08-12 19:03:14 +02:00
Michael Sippel 64dc82dfbb
rust toolchain: remove note 2023-08-11 19:32:21 +02:00
Michael Sippel 6532065928
ListCmd 2023-08-11 19:23:00 +02:00
Michael Sippel b97ba8dedb
list editor: create node with full type already instaed of calling morph after inserting the tail elements 2023-08-11 18:25:46 +02:00
Michael Sippel efb4cd39da
char editor: use null char to avoid option 2023-08-11 01:51:41 +02:00
Michael Sippel 8e03a1711d
char editor: add editor field in node
hack type term editor to support splits
2023-08-08 17:37:27 +02:00
Michael Sippel 0062e5ca07
list editor : remove debug prints 2023-08-08 17:35:54 +02:00
Michael Sippel fc9ac6cac7
list nav: fix deadlock in goby() horizontal case 2023-08-07 21:46:50 +02:00
Michael Sippel b220d264e4
list editor: fix deadlock 2023-08-07 07:40:49 +02:00
Michael Sippel 3968baffe1
wip 2023-07-08 08:21:10 +02:00
Michael Sippel 66c6478124
context: add meta_chars collection 2023-05-19 11:26:05 +02:00
Michael Sippel 52efcfc6c6
type term: change display parenthesis to <>, allow \n to as newline character literal 2023-05-19 11:21:29 +02:00
Michael Sippel b0f30e9198
wip: TypeTermEditor 2023-04-03 14:39:02 +02:00
Michael Sippel bdc19c33de remove deprecated Commander traits 2023-03-25 09:01:05 +01:00
Michael Sippel b6bd888d3d
node: ViewPort for editor, cleanup PTYListEditor
- move split/join functions into ListEditor
- separate PTYListStyle and PTYListController
2023-03-25 09:00:54 +01:00
Michael Sippel 1575fa756e
ReprTree: add from_char() 2023-03-25 08:49:19 +01:00
Michael Sippel 17b58e6bca
TypeTerm: type-ladder arguments, variables & char-literals 2023-03-25 08:46:42 +01:00
Michael Sippel f1eedad3fe
pty editor: more resilient handling of results in join functions 2023-03-02 02:42:30 +01:00
Michael Sippel fb20fb94e7
fix flickering in some terminals 2023-03-02 02:41:22 +01:00
Michael Sippel 4b6cc1ee55
implement first typelader-compatibility algorithm 2023-02-27 21:31:19 +01:00
Michael Sippel 57682826f8
diagnostics: add make_info 2023-02-26 19:40:35 +01:00
Michael Sippel 2bef092859
ansi parser: stop on zero byte 2023-02-24 22:51:53 +01:00
Michael Sippel 4acce3921d
ObjCommander: return TreeNavResult 2023-02-24 19:26:46 +01:00
Michael Sippel 73499e0ab3
style 2023-02-24 18:44:47 +01:00
Michael Sippel b6929f9463
node: get_data_port/get_data_view 2023-02-24 18:44:01 +01:00
Michael Sippel aafc9235ab
list editor: avoid empty lists when splitting at multiple levels
adds compatibility to load shell pipeline from file
2023-02-21 15:17:39 +01:00
Michael Sippel c2a9d8e3bd
impl ObjCommander, simplify type creation & data retrieval from node" 2023-02-20 03:45:53 +01:00
Michael Sippel cf313727a6
further refactor pty-list, node morphisms, commander 2023-02-18 04:15:47 +01:00
Michael Sippel 2bdea3e2a3
upgrade node with morphisms 2023-02-17 00:59:07 +01:00
Michael Sippel 6f942c8940
factor out r3vi and shell crates 2023-02-16 15:11:22 +01:00
Michael Sippel d43d99c6d3
PTYListEditor: move style into node constructor 2023-02-11 12:03:37 +01:00
Michael Sippel 4afdb61b87
type dict: add get_typename 2023-02-11 11:54:30 +01:00
Michael Sippel 6867297eea
singleton2sequence: value only at first element
fixes chain with singleton tosequence filter
2023-01-07 13:13:27 +01:00
Michael Sippel 47b8900adc
implement tree cursor widget as projection pipeline 2023-01-07 05:14:46 +01:00
Michael Sippel a9550600f4
singleton: add flatten() & to_sequence() 2023-01-07 04:30:58 +01:00
Michael Sippel 0edbd748a5
further file renaming 2023-01-02 18:49:32 +01:00
Michael Sippel 280796ab17
move type-system & context into separate module 2023-01-02 13:18:55 +01:00
Michael Sippel 97000cab7a
move toy widgets from shell into lib 2023-01-01 16:12:20 +01:00
Michael Sippel 883cd01f99
wip 2022-12-21 01:55:42 +01:00
Michael Sippel 7a24111f08
fix warnings 2022-12-18 01:39:01 +01:00
Michael Sippel 35498a2fa7
begin refactor to node-struct and obj-commmander 2022-12-18 01:20:17 +01:00