Brett McCoy wrote: > On Sun, May 25, 2008 at 10:14 AM, Dave Housel <[EMAIL PROTECTED]> wrote: >> Yes, this language is imbedded in the operating system of the HMI product. >> The fact that they refer to it as C-Like (not C, not C++) has always caused >> me to wonder what it's really based on. Seems improbable that they would >> create their own language from scratch to serve there needs. > > The usual practice these days is to embed something like Python, Ruby, > Perl, Lua or a similar scripting language (in the case of Microsoft, > usually it's Visual BASIC) into an application to provide a scripting > interface, as well as a high-level API for building application > extensions (plugins), usually in C or C++. Using an established > scripting language allows the user to use the vast library of classes > and modules available for these languages. Although, I guess, a > specialized language might be created to limit what the user can do > inside the application, in case a user decides to try to build a > Python-based web server or something inside the application and then > demand the vendor support their venture. :-) > > -- Brett > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi > > ------------------------------------
InnoSetup uses embedded Pascal for custom scripting...the ONLY reason I even know that language in the first place. I would much prefer to see embedded PHP, but I've never seen that. It apparently is possible but not easy to do. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
