I have a question regarding the compilation of a Python program using LPython. If a Python program contains any class or a class like the following:
class student:
def __init__(self: InOut['student'], name: str, age: i32):
self.name : str = name
self.age : i32 = age
Does this imply that after compilation, the code can only generate C++ code, and not C code? I would appreciate an explanation of why that might be the case. Thank you!
I have a question regarding the compilation of a Python program using LPython. If a Python program contains any class or a class like the following:
Does this imply that after compilation, the code can only generate C++ code, and not C code? I would appreciate an explanation of why that might be the case. Thank you!