A DSL project for a domotic environment that create Java runtime code.
- Create a Java code from the DSL
- Used by the SIDO simulator
- Manage and control the house automotion
- Can be easily developed by code neophyte
First step is to download the SIDO simulator from the core folder:
cp sido.jar src/* .
java -jar sido.jar
The second step is to run the lex and cup files:
jflex base_lex2.lex
cup base_cup.cup
And finally run the generated file with the SIDO simulator:
cd generated
java -ri sido.jar CMaisonUser.java HabitatSpecific.java
Use the SIDO simulator to learn how this DSL generated code manage the home automotion.
Create the DSL code with the embedded editor or use the custom cup snippet.