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.
This commit is contained in:
parent
31eef48ee4
commit
3f9f941c7a
1 changed files with 23 additions and 0 deletions
23
src/deuthon/base/typen.deu
Normal file
23
src/deuthon/base/typen.deu
Normal file
|
@ -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
|
Loading…
Reference in a new issue