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. scripting / command patterns

scripting / command patterns

Scheduled Pinned Locked Moved The Lounge
question
8 Posts 7 Posters 0 Views 1 Watching
  • 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.
  • N Offline
    N Offline
    Nitron
    wrote on last edited by
    #1

    Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

    ~Nitron.


    ññòòïðïðB A
    start

    R E D A C 5 Replies Last reply
    0
    • N Nitron

      Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

      ~Nitron.


      ññòòïðïðB A
      start

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #2

      Nitron wrote:

      Do any of you integrate scripting capability into your applications?

      Yes I have. My product uses ActiveX Scripting technology to provide extensibility to the application with Scripts. So it can use VBScript, JScript and any other language for which a Active Scripting engine is avaialble (like Perl and Python). Most commonly, however, users use VBScript. Before I worked on the product, it had a custom scripting language. But the problem with the custom scripting language is that it always require training from the part of end users. With using VBScript and JScript, it is probable that some of the users may be familiar with those languages. If I have to extend the application in .NET world, I will use CodeDOM and host the .NET runtime (in the unmanaged application).

      1 Reply Last reply
      0
      • N Nitron

        Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

        ~Nitron.


        ññòòïðïðB A
        start

        E Offline
        E Offline
        Ed Poore
        wrote on last edited by
        #3

        I just use CodeDom with .NET since that's the only language I program in where I need this kind of functionality.


        I have no idea what I just said. But my intentions were sincere.

        1 Reply Last reply
        0
        • N Nitron

          Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

          ~Nitron.


          ññòòïðïðB A
          start

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #4

          Nitron wrote:

          Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

          It all depends on the target audience: if your software is for programmers, you should look into using something "standard"; Lua, MS Script Engine, and even calling external .exes or COM components are something that come into my mind. OTOH, if you are offering this to end users, you'd be better to create your own, simple DSL (Domain Specific Language); using a tool like ANTLR makes it a breeze...

          1 Reply Last reply
          0
          • N Nitron

            Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

            ~Nitron.


            ññòòïðïðB A
            start

            A Offline
            A Offline
            Andy Brummer
            wrote on last edited by
            #5

            Back in the day I integrated the Microsoft scripting engine in a few applications. Now with .net it is really easy to just use the CodeDom and expose your object model. If you haven't written an automation wrapper for your objects, it seems that Lua would be a better option then the Microsoft scripting engine though.

            Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

            1 Reply Last reply
            0
            • N Nitron

              Do any of you integrate scripting capability into your applications? For those who do, do you write your own command patterns and interpreters, or do you integrate real scripting languages like Lua?

              ~Nitron.


              ññòòïðïðB A
              start

              C Offline
              C Offline
              Chris Austin
              wrote on last edited by
              #6

              It the past I've used Boost.Python[^] to integrate Python scripting into a few large scale projects. From what I've heard there is excellent tools for integrating LUA. I just haven't had the need for it as of yet.

              My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

              T 1 Reply Last reply
              0
              • C Chris Austin

                It the past I've used Boost.Python[^] to integrate Python scripting into a few large scale projects. From what I've heard there is excellent tools for integrating LUA. I just haven't had the need for it as of yet.

                My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                T Offline
                T Offline
                Todd Smith
                wrote on last edited by
                #7

                LUA (light weight C style) is used in World of Warcraft and Python (kitchen sink C++ OO style) is used in Civilization IV. I used boost.python in a C++ project at my previous work. I'm probably going to go with a MS solution for the .NET project I'm working on currently.

                Todd Smith

                C 1 Reply Last reply
                0
                • T Todd Smith

                  LUA (light weight C style) is used in World of Warcraft and Python (kitchen sink C++ OO style) is used in Civilization IV. I used boost.python in a C++ project at my previous work. I'm probably going to go with a MS solution for the .NET project I'm working on currently.

                  Todd Smith

                  C Offline
                  C Offline
                  Chris Austin
                  wrote on last edited by
                  #8

                  Todd Smith wrote:

                  LUA (light weight C style) is used in World of Warcraft

                  Only in the client. And from the LUA guys I know, it sounds like the implementation is a bit odd. Don't know any details myself as I have my hands full these days and don't have the energy to investigate.

                  Todd Smith wrote:

                  I'm probably going to go with a MS solution for the .NET project I'm working on currently.

                  In that case I'd suggest using IronPython[^]. We are currently using it on the client side of a project. The integration with the .net library is pretty good and it works as one would expect. This is not necassarly an impartial opinion, since I've been working with Python on and off for eight years now and think it's the cats meow for these type of things. -- modified at 13:42 Monday 15th January, 2007

                  My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                  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

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups