Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Any good plugin macro languages?

Any good plugin macro languages?

Scheduled Pinned Locked Moved The Lounge
4 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jason De Arte
    wrote on last edited by
    #1

    I was looking at the windows scripting control as an option for adding an advanced macro language to my VC++ app. But I'm concerned that it'll take a huge performance hit - and of course the corrosponding "lock" into a little documented microsoft technology (which is never good for long term code maintance). Are there any simple/clean/portable/full efficient/ozone friendly methods for supporting a simple macro lanuage (in C++ apps)? Or is the MS Script control the best way to go?

    N P J 3 Replies Last reply
    0
    • J Jason De Arte

      I was looking at the windows scripting control as an option for adding an advanced macro language to my VC++ app. But I'm concerned that it'll take a huge performance hit - and of course the corrosponding "lock" into a little documented microsoft technology (which is never good for long term code maintance). Are there any simple/clean/portable/full efficient/ozone friendly methods for supporting a simple macro lanuage (in C++ apps)? Or is the MS Script control the best way to go?

      N Offline
      N Offline
      nikdo
      wrote on last edited by
      #2

      I'm using the TCL as macro language in my VC++ app. It's free, It's known for some time, source is available, you can use it as dll or link it staticaly and you can use a freeware SWIG software to generate the code needed to integrate the interpreter with your C/C++ code (supports also Perl,Python,...). See: http://www.swig.org/index.htm

      1 Reply Last reply
      0
      • J Jason De Arte

        I was looking at the windows scripting control as an option for adding an advanced macro language to my VC++ app. But I'm concerned that it'll take a huge performance hit - and of course the corrosponding "lock" into a little documented microsoft technology (which is never good for long term code maintance). Are there any simple/clean/portable/full efficient/ozone friendly methods for supporting a simple macro lanuage (in C++ apps)? Or is the MS Script control the best way to go?

        P Offline
        P Offline
        Paul Selormey
        wrote on last edited by
        #3

        Check Python, it is better than even C#, and it is designed for this. ActivePython 2.0 is just released. www.activestate.com. Regards, Paul.

        1 Reply Last reply
        0
        • J Jason De Arte

          I was looking at the windows scripting control as an option for adding an advanced macro language to my VC++ app. But I'm concerned that it'll take a huge performance hit - and of course the corrosponding "lock" into a little documented microsoft technology (which is never good for long term code maintance). Are there any simple/clean/portable/full efficient/ozone friendly methods for supporting a simple macro lanuage (in C++ apps)? Or is the MS Script control the best way to go?

          J Offline
          J Offline
          Jim Wuerch
          wrote on last edited by
          #4

          It kind of depends what sorts of things you require of your scripting language... If you just want to do some minimal things, I'd just add support for active scripting to your app (plenty of info floating about on how to do this for MFC and non-MFC app), and then you can choose whatever language you want, as there are many that support active scripting. (vbs, jscript, python, etc..) If you care about speed, then I'd suggest Lua, as it's very fast, and designed to be embedded into other apps (this is something python is lousy at). Lua Homepage: http://www.tecgraf.puc-rio.br/lua/ There are some C-like script languages too, like EiC. If you would like real VBA-like scripting, then there is a commercial product from www.cypressinc.com that is fast, and easy to integrate. I've used active scripting, cypress enable, and now I'm using Lua on a project. There are lots of script languages out there, so spend some time evaluating them, and looking at their communities

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups