K
K
kamasit2021-12-29 11:22:06
Macros
kamasit, 2021-12-29 11:22:06

How to implement a program with support for plugins and macros?

Hello. It is necessary to implement a program with support for plugins and macros of approximately this kind in any language.

First plugin - mathPlugin
- input - two digits
- body - mathematical operations
- output - result of mathematical operations

second plugin (window with input and output fields) - guiPlugin
- input - two numbers
- output - result

example macro
link mathPlugin
link guiPlugin
mathPlugin.firstNumber = guiPlugin.firstNumber
mathPlugin.secondNumber = guiPlugin.secondNumber
start mathPlugin.summa
guiPlugin.resultNumber = mathPlugin.resultNumber

Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question