mita icon indicating copy to clipboard operation
mita copied to clipboard

mita

Results 70 mita issues
Sort by recently updated
recently updated
newest added

A platform component that isn't setup explicitly won't validate. Some components don't need a setup, but might still want to issue warnings to the user - for example a sensor...

enhancement
Platform: XDK110

`OptionalsTest.mita.xt` doesn't test: - some - none with explicit typing - some with explicit typing Further, it isn't validated that none has a valid type (only a warning).

Bug

@andreasmuelder: for implementing a statemachine in the program DSL it is much more readable to have a switch case instead of if else if blocks. We should add a switch...

RFC

# Introduction Events are at the very heart of Mita. They map well to the IoT world where devices often have to lay dormant until some event arises. Events are...

RFC

If users modify the generated C code they can no longer use Mita as that would overwrite their changes. Our goal however, is to provide a jump-start for C development...

Prio.Low

This: ``` var foo = new array(size = 10); struct s { var a: array; } var bar = s(foo); ``` generates this: ```c int32_t data_foo_0[10]; array_int32_t foo = {...

Bug

You can't write this: message: "mismatched input '>>' expecting '>'" ``` var y: array; ``` This is not an issue currently, since optionals will forbid nested generated types anyway. Not...

Bug
Prio.Low

A function like ``` fn inc(x: int32): int32 { return x + 1; } ``` doesn't need to be checked for exceptions in the callee, and doesn't need to return...

Optimization

# Introduction Yesterday I read an interesting [blog post on how Midori-C# handles errors](http://joeduffyblog.com/2016/02/07/the-error-model/). It boils down to the fact that there are two kinds of errors: - Exceptions, like...

RFC