Tag parsing
Create a parser that can read .tag files and turn them into SomeIPConnectionSymbols
Deliverables
EmbeddedMontiArc Project
In .../tagging/middleware/someip:
-
Add a SomeIPConnectionsSymbolCreator similar to RosConnectionSymbolCreator - Goal: Read a .tag file, convert it into SomeIPConnectionSymbols and add them the specified EMAPortSymbol or EMAPortInstanceSymbol. MontiCore/EmbeddedMontiArc automatically reads the file reading and preprocesses the data. Therefore you only need to implement a
TagSymbolCreator
-
There should be no references to Ros in the new SymbolCreator. The main regex can be found in line 50. - Online java regex checker:
http://www.regexplanet.com/advanced/java/index.html
- Goal: Read a .tag file, convert it into SomeIPConnectionSymbols and add them the specified EMAPortSymbol or EMAPortInstanceSymbol. MontiCore/EmbeddedMontiArc automatically reads the file reading and preprocesses the data. Therefore you only need to implement a
-
Add a SomeIPTagSchema similar to RosToEmamTagSchema -
Add a Testcase similar to test/.../middleware/ros/TaggingTest. -
you will need to add your Tag Schema to the tagging resolver here: https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/blob/master/src/test/java/de/monticore/lang/embeddedmontiarc/AbstractTaggingResolverTest.java#L56
-
EMAM2Middleware
-
pom.xml: Update the EmbeddedMontiArc dependency to the Version with your parser -
DestributedTargetGeneratorCLI -
Previous test case -
Adapt: Don't hand add the SomeIPConnectionSymbols, build a .tag file, use your TagHelper(or equivalent) to resolve the SomeIPConnectionSymbols - Example for Ros: https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/blob/master/src/test/java/de/monticore/lang/monticar/generator/middleware/Ros2GenerationTest.java#L60 and line 64
-