Re: [ANN] MIDLE - Almost an Alternative to EXECUTE [message #89165 is a reply to message #89163] |
Wed, 30 July 2014 04:36   |
SonicKenking
Messages: 51 Registered: October 2010
|
Member |
|
|
On Wednesday, July 30, 2014 4:35:47 PM UTC+10, SonicKenking wrote:
> On Wednesday, July 30, 2014 6:31:10 AM UTC+10, superchromix wrote:
>
>> I'm still trying to understand how and why to use this tool.
>
>>
>
>>
>
>>
>
>> Could MIDLE be used as... an IDL console implemented within an IDL program?
>
>>
>
>>
>
>>
>
>> Otherwise, could you please explain what was your motivation for creating this project?
>
>>
>
>>
>
>>
>
>> thanks!
>
>>
>
>> Mark
>
>
>
> Hi Mark,
>
>
>
> The original motivation of MIDLE came from the desire to use a script containing a list of IDL assignments as a configuration file of an application that runs in IDL VM. As EXECUTE cannot be used in VM, MIDLE is developed to parse the configuration file.
>
>
>
> It is like if you use XML for configuration file, you need a XML parser. Similarly, if you use IDL statements for configuration file, you need an IDL parser and this is where MIDLE comes in.
>
>
>
> Though it was not the intention of MIDLE, I guess it is possible to use it as a mini console (a pare down version of IDL) in a GUI application for some interactive data analysis. It could be useful as it exposes some underlying IDL powers to end-users who do not own IDL licenses.
>
>
>
> Cheers,
>
> Yang
Another potential usage is to provide a scripting language interpreter for a GUI application. Something like how you can script Photoshop with VBScript. In MIDLE's case, the scripting language happens to share the same syntax as the language with which the application itself is written in.
MIDLE as it is now lacks support for program control constructs, e.g. IF/ELSE, FOR, etc, which is pretty much mandatory for a proper scripting language. But it is possible to add them. In fact, this potential now really makes me want to add more features to MIDLE.
|
|
|