Cesium
Cesium copied to clipboard
C compiler for the CLI platform
Right now, we have a following line in `CTypeSystem.cs`: ```csharp public IType Bool { get; } = new PrimitiveType(PrimitiveTypeKind.Int); ``` I'm not sure about that. In CLI, `Bool`'s size is...
```c void console_read(...); ``` Exception ``` typeof(Cesium.Core.ParseException): expected { while parsing compound_statement expected ; while parsing ; but got OpenParen: ( ```
Look for the number `224` in the code to find clues to implement this feature. I'm not sure what the corresponding `WipException` is about; perhaps we can just delete it?
Currently missing following unary operators - [ ] `*` - [ ] `+` - [x] `!` Look for a number `197` in the code when fixing the issue.
Seemingly, we don't support this: ```c typedef struct { int x; } foo; foo xx = { 1 }; ``` We should support it. Look for the number `225` in...
Currently, we don't seem to support complex pointer types in some cases (something like `const char const *` or maybe `char[]*`, but I'm not sure; investigation is required). We should...
For more information on what is the "ambiguous AST node", [see this discussion](https://github.com/LanguageDev/Yoakke/discussions/139#discussioncomment-2238239). Currently, it only resolves to a declaration but not a variable definition. For example, this seems to...
See `// TODO[#160]` in the code: https://github.com/ForNeVeR/Cesium/blob/116782c46eea5b8b5a0df57fb0e1b61527865f76/Cesium.CodeGen/Ir/Expressions/BinaryOperators/ComparisonBinaryOperatorExpression.cs#L44
`` has certain number macros, such as `EOF`. We should keep them in the header file, but also extract to some common place in .NET core for convenient usage from...
Certain stdlib functions are documented to return various error codes. For example, `putc` should return `EOF` in case an error occurs. But how could it signal the exact exception kind,...