]> ocean-lang.org Git - ocean-D/commitdiff
updates
authorNeilBrown <neil@brown.name>
Sat, 18 Dec 2021 03:38:51 +0000 (14:38 +1100)
committerNeilBrown <neil@brown.name>
Sat, 18 Dec 2021 03:38:51 +0000 (14:38 +1100)
00-TODO

diff --git a/00-TODO b/00-TODO
index 4cbee01dd67aa45ee69b19599cad67bfe677f1eb..8c9ad7817c1fe8a4852999b10aef5a53b6f1fa4b 100644 (file)
--- a/00-TODO
+++ b/00-TODO
@@ -4,11 +4,8 @@
 
 ### Current version (Cataract Creek)
 
-- allow passing objects to functions by reference is requested
-- add [] as size-of-array
-- replace [foo::] declaration of array with [] - fix all main() calls
-- ensure all param passing and value return is handled correctly
 - remove all UNTESTED
+- use AddressOf instead of AssignRef
 - revise all commentary
 - blog post
 - release
 . array slices - references to arrays  "foo: []bar"
 - array access to read bytes from strings.  How to get length?  "?string[4]" ??
         array[] gets length??
+- remove all tests on type->functions
+- use a type->function for performing function call
 - revise all commentary
 - blog post
 - release
 
 ### Subsequent version
+- Maybe allow a reference to be passed to function where the by-value is expected
 - 'return' statement similar to 'use', but only valid a function context
 - 'return' can take no value when function has inline/transparent return value
 - simple methods.  Define "func type.name...." and the name will only be visible
@@ -53,6 +53,9 @@
 - 'then' can extend a case section into some other.
 
 ## Needs Design
+- do I need a 'rune' type? What are the elements of a string?
+  Are they small strings?  Can I convert to codepoint by treating as number?
+  How much of this is in the utf8 library?  Can a string literal be a number?
 - exactly where does auto enref/deref happen?
     .foo modifier does auto-deref
     (args) modifier does auto-deref (if that makes sense)