From 6bf27e5fd35feec3c55c3776c553b81c7d025c70 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sun, 12 May 2019 15:04:30 +1000 Subject: [PATCH] updates --- 00-TODO | 16 ++++++++++++---- Ocean-operators | 3 +++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/00-TODO b/00-TODO index 7aa2fd3..58dae9c 100644 --- a/00-TODO +++ b/00-TODO @@ -1,7 +1,6 @@ This is a living document - delete things when done. Avoid discussion. Current version (Jamison Creek) -- more operators: and then, or else, if else - global consts - structs - const or variable fields @@ -12,15 +11,21 @@ Current version (Jamison Creek) Next version ?? +- change 'labels' to only be created for 'use' +- handle syntax errors better - recover quickly. - manifest values for arrays and structs [a,b,c] - yet more operators + << >> # + bit-ops & | ~ &~ + op= - split values so I can have an array of just the value (1 byte for u8) - integers, unsigned, bitfield, float - pointers - owned or borrowed - overloaded or pure - array slice -- char, string search +- array buffer - can be added to and grows. +- char, string search, regexp search Much later @@ -29,5 +34,8 @@ Much later - records - enum - classes -- imports and exports -- closuers, threads, co-routines +- operators as interface methods +- interfaces, inheritance +- modules, imports and exports +- closures, threads, co-routines +- introspection? diff --git a/Ocean-operators b/Ocean-operators index 8a5fa36..12b60e2 100644 --- a/Ocean-operators +++ b/Ocean-operators @@ -67,6 +67,9 @@ What types do operators act one? string ++ < > == etc, regexp? strlen? append? character? add to string? Convert to string? + are << and >> operators on numbers or bitsets? + can I just use "*# or /#" ?? + What about error encoding? e.g. a pointer can have nil or other error encoded A range-limited number could have extra codes outside that range. -- 2.43.0