From 3f9f941c7a7bd4a801fd4c23b69082edc7cdad2e Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 23 May 2024 12:52:36 +0200 Subject: [PATCH] feat: introduce basic Deuthon type classes Added a new module defining wrapper classes around Python's fundamental data types in the Deuthon programming language style. This setup paves the way for extending standard types with additional Deuthon-specific functionalities and characteristics in the future. It marks a foundational step in making Deuthon a more feature-rich, Python-compatible language. --- src/deuthon/base/typen.deu | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/deuthon/base/typen.deu diff --git a/src/deuthon/base/typen.deu b/src/deuthon/base/typen.deu new file mode 100644 index 0000000..d00743a --- /dev/null +++ b/src/deuthon/base/typen.deu @@ -0,0 +1,23 @@ +klasse ganzzahl(int): + passe + +klasse zeichenkette(str): + passe + +klasse fließkommazahl(float): + passe + +klasse liste(list): + passe + +klasse tupel(tuple): + passe + +klasse wörterbuch(dict): + passe + +klasse menge(set): + passe + +klasse gefrorenemenge(frozenset): + passe