Comments (3)
This is related to the linux compiler. Probably broke something for Arduino. I will look at it.
from thingml.
Ok I have committed a fix which allow compiling the Arduino examples. I do not have a Arduino with me now to test if the code actually runs ok but at least it compiles :-)
There seem to be a problem with the "allContainedRegions" derived property when trying to compile examples with regions such as "samples/_arduino/simple_fan_ctrl.thingml". Needs to be investigated.
from thingml.
It seems the problem comes from
def composedBehaviour: StateMachine
which returns null for the Arduino thing (as it contains no state machine)
Trace:
Thing Arduino has 0 state machines
Error: Code generation for Things with several state machindes not implemented. Ready for a null pointer?
java.lang.NullPointerException
Then null.allContainedRegions has no chance to work...
from thingml.
Related Issues (20)
- Composite states properties are initialised only once HOT 3
- Consider migrating JS compiler towards state lib 8.0.0 HOT 4
- Signature in Messages? HOT 5
- Is there any documentation for protocol keyword for configuration? HOT 1
- Implement a Rust compiler HOT 5
- Have you ever ran eslint on the JavaScript generated code ? HOT 1
- False error : Expected Object[], assigned with Object HOT 3
- How to register annotations ? HOT 4
- Why is SourceBuilder deprecated ? What should it be instead ? HOT 3
- [JavaScript] Messages can't have the same names anymore HOT 15
- [JavaScript] prints may crash on internet explorer HOT 3
- Updating the Xtext Community Website HOT 4
- Variable shadowing and priorities
- Mermaid as an alternative to PlantUML HOT 1
- Workaround comment exists in language/thingml/pom.xml file while the related issues are already fixed.
- http://thingml.org/dist/update2 is not reachable HOT 3
- Function is never called warning on fragment HOT 1
- Memory leak on the TimerJS implementation
- How to get started with a new compiler/extend the existing ones?
- I can't build text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingml.