1.1 [Random Lib]
This new release adds the "random" library
- Added
randommodule support: Integrated lowering forrandom.seed(),random.random(),random.randint(), andrandom.randrange()incodegen.d. - Fixed missing expression semicolons: Ensured top-level method calls like
random.seed(42)correctly append terminating semicolons to generated main statements. - Resolved
printfformat mismatches: UpdatedCallNodeprint handling to dynamically emit%fforfloat/doublevariables instead of defaulting to%d. - Fixed statement lowering error: Corrected
CCodegen.generatemain loop iteration to handle pre-compiled C statement strings directly without callingcompileNode.
Technically, all the .exe needs is to be within the same folder as the input python file and the CEdev folder, so all you need is this file...