Re: Function pointers for DLL functions?




"David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:dqsch.18266$9v5.4234@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"Peter Olcott" <NoSpam@xxxxxxxxxxxxx> wrote in message
news:gjYbh.1273$BD5.84@xxxxxxxxxxxxxxx

I am not encountering a problem, I am examining the feasibility of making an
extensible interpreted scripting language. I want to provide the capability
of extending the language by adding functions written in C++. Although the
functions would be written in C++ they would be callable from the interpreted
language.


Why don't you embed a Python or Lua interpreter into your C++ app? These
script languages are made to be embedded into your app and you can easily
expose C functions callable by the script. I highly recommend this over
ActiveX because you control the whole thing.

-- David


That might be a good idea, I will look into it. What about licensing issues? I
can't do the whole GNU thing, I spent 30,000 hours on this to make money.


.



Relevant Pages

  • Rexx and Security
    ... I surmise from the text that the thought is that simply having an interpretive / scripting language installed in computers is dangerous as someone might develop an evil script / program with that tool. ... I would conclude that the only secure computing model in the opinions of the writers is that of the Linux / Unix environment which has the execute bit in the filesystem, and that the only programs allowed to be installed are statically compiled C/C++ programs. ... Requiring the interpreter to only interpret source files with the execute bit set is an option that comes to my mind... ...
    (comp.lang.rexx)
  • Absolute beginner - Need some pointers
    ... My long term goal is to write a scripting language similar to lua to ... implemented an interpreter what acted as a calculator. ... Write a parser to parse the tree structure into bytecode. ...
    (comp.compilers)
  • Re: Function pointers for DLL functions?
    ... I am not encountering a problem, I am examining the feasibility of ... making an extensible interpreted scripting language. ... Why don't you embed a Python or Lua interpreter into your C++ app? ...
    (microsoft.public.vc.mfc)
  • Re: Function pointers for DLL functions?
    ... extensible interpreted scripting language. ... of extending the language by adding functions written in C++. ... Why don't you embed a Python or Lua interpreter into your C++ app? ... combined ideas drastically reduces my development time, ...
    (microsoft.public.vc.mfc)
  • Re: Function pointers for DLL functions?
    ... an extensible interpreted scripting language. ... capability of extending the language by adding functions written in C++. ... Why don't you embed a Python or Lua interpreter into your C++ app? ...
    (microsoft.public.vc.mfc)