sim-c icon indicating copy to clipboard operation
sim-c copied to clipboard

A dynamically typed high-level front end for C

Results 14 sim-c issues
Sort by recently updated
recently updated
newest added

**Describe the bug** When an array initializer list has both function call and constant value of the same type as the return type of function the function throws an error...

bug
easy

Closes #{Issue Number} **Implementation details** **Test Case 1** **simC Code** **C Code (If generated)** **Error message (If any)** NOTE:- You can add more test cases if you want Number of...

``` //If a metal cube of side 3m is melted to make small balls, find the number of balls formed if each ball has a radius of 1.5cm MAIN var...

bug
easy

**Describe the bug** When a function is redefined, then instead of throwing error, it compiles successfully. But the type of parameters of first remains not_known, while the redefinition gets the...

bug
easy

**Describe the bug** In the current implementation if a function is called with parameters of different types then the compiled C version of the function has the type from the...

bug
moderate

Pointer to a pointer implementation is incorrect: MAIN var a = 15 var *ptr = &a var **ptr2 = &ptr END_MAIN The above simc code should be valid, but it...

bug
moderate

**Describe the feature** This would be extension of #346, #354 and #344. Arrays are treat as variables and therefore, can be freely used as one. **To Reproduce** We are not...

bug
moderate

**Describe the solution you'd like** The current implementation of var_statement function which is responsible for parsing variable and array declaration with or without assignment is too long and can be...

enhancement
easy

**Describe the solution you'd like** Two dictionaries called prec_to_type and type_to_prec have been created multiple times in the parser, these map an integer precedence to typename and typename to precedence...

enhancement
easy

**Is your feature request related to a problem? Please describe.** Extension of #27, the goal is implement if cascade statement when the command use no braces, as follows: **Should be...

enhancement
moderate