overture icon indicating copy to clipboard operation
overture copied to clipboard

Design bug: The interpreter depends on the POG

Open joey-coleman opened this issue 12 years ago • 2 comments

The following bug was originally reported on Sourceforge by anderskm, 2013-08-14 11:49:25.791000:

The interpreter implements the commandline tool for Overture where it's possible to invoke the POG, thus it depends on it. The commandline tool implementation should be factored out of the interpreter to make it independent of the POG.

joey-coleman avatar Nov 22 '13 07:11 joey-coleman

Comment by joeycoleman, 2013-10-15 07:21:32.140000:

  • assigned_to: Joey Coleman

joey-coleman avatar Nov 22 '13 07:11 joey-coleman

The current setup also causes problems for a module that wants to implement command-line support and which already has a interpreter dependency. For example, the codegen module needs the interpreter in order to execute VDM specs as part of testing. With the current setup, implementation of command-line support for the code generator would cause a cyclic dependency between the interpreter and the code generator.. and this you cannot do with maven :)

peterwvj avatar Jan 21 '15 12:01 peterwvj