Skip to content

Relate NEPO blocks to target code

Reinhard Budde edited this page Aug 3, 2023 · 2 revisions

preconditions: Javascript/Typescript and some experience with Java

This project is not very complex and not high on our wish list.

context: The Open Roberta® Lab using the graphical programming language NEPO provides an easy access in the world of programming robot system without any prior programming experience. By clicking the source-code button one can see the target code (e.g. Java, C++, Python) generated for the selected robot system from the NEPO source.

goal We would like to link the graphical blocks to the generated code. Clicking a NEPO source block should show the matching target code.

On the technical side, the project involves:

  • extending the code generators (written in Java) to link block ids to character ranges in the generated code
  • adding UI support for highlighting and jumping to code when a block is clicked
  • the items above relate to statements. Optionally, the block parameters could be linked to the parameters in the generated code
  • optionally, improving the readability of generated code

contact: Beate Jost <beate.jost AT iais.fraunhofer.de> @bjost2s, Reinhard Budde <reinhard.budde AT iais.fraunhofer.de> @rbudde

Clone this wiki locally