Ryven is missing key datatypes #109
Replies: 2 comments 1 reply
-
I'm not sure what you mean exactly? Ryven does not care about datatypes, you can use any datatype you want... Maybe the Or are you asking about nodes for stuff like built-in functions? This is intentionally not included, as you then are usually operating at a way too high level of detail already. I think this paradigm only makes sense if it provides suitable abstraction, but not for capitalizing strings using a node (of course, there can be use cases where this is very useful, but not in general). |
Beta Was this translation helpful? Give feedback.
-
But how do I send a dict to another node tho |
Beta Was this translation helpful? Give feedback.
-
Ryven is missing some key data types that should be provided out-of-the-box.
bool,bytearray,bytes,classmethod,dict,enumerate,function,filter,list,map,object,range,str,set,staticmethod,slice,super,tuple,type, and zip are not supported.
Obviously, for some of them, it makes sense, like function, object, classmethod, object, and staticmethod, but Ryven desperately needs implementation of at least str, bool, dict, list, and type. Bytearray would be a plus.
I know some of these are partially implemented, like str, but what really hinders it is things like str.capitalize. The builtins module needs to be built upon so that Ryven can do more than just add/compare numbers out-of-the-box.
Beta Was this translation helpful? Give feedback.
All reactions