Skip to content

Emma-Glesser/DSL_Team_Pancake

Repository files navigation

DSL_Team_Pancake

Team members

  • Laurie FERNANDEZ
  • Emma GLESSER
  • Arthur SOENS
  • Vincent TUREL

Internal DSL

Our internal DSL was made using Groovy, you can find it in the Internal_DSL folder of the project.

How to build

In the Internal_DSL folder, use the script build.sh to get a Jar of our DSL located in its /target folder.

How to use it

Use the Internal_DSL folder's run.sh script giving as argument the input program. The corresponding .ino file will be generated in the result folder.

External DSL

This is our internal DSL made using MPS.
All our files used to make our external DSL are in the External_DSL directory.

How to build

How to use

Preview generated code

  • Preview the generated text
    img_2.png
  • Copy and paste the generated code into an Arduino IDE

Generate the .ino file

  • Make the solution
    img_3.png
  • Search the file corresponding to the given program name
    • DSL_Team_Pancake\External_DSL\solutions\Scenario1\source_gen\Scenario1\code\scenario1.ino
    • .\solutions\Scenario1\source_gen\Scenario1\code\scenario1.ino (if you are in External_DSL directory)
  • Open the .ino file with an Arduino IDE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •