Thread: How are pascal environments implemented into other programs

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    63

    How are pascal environments implemented into other programs

    Hi, ive seen another program, SCAR, which is basically a programmable macro tool which incorporates a pascal IDE to control all the macro functions (such as click(x,y) ect). Id like to use a pascal environment in the same way, but i dont know what to search for on the net. Does anyone know how this is done. Thanks.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I think Borland [or whatever they may be called these days] have a variation of Pascal called "Delphi" that you could use.

    I'm also pretty sure there is a "Gnu Pascal" somewhere.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    63
    hmm, now that u mention it i seem to remember that 2 of the programs i can think of that use this are written in delphi. Are there any similar interfaces that could be used for "scripting" the program and could be implemented into a c program.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Not quite sure what you are asking for... What "interfaces" are you talking about?

    I found GNU pascal here [and several other places]:
    http://directory.fsf.org/project/GNUPascal/

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Jul 2006
    Posts
    63
    it was a program which had a large window which was essentially a pascal editor. when you clicked run, the macro would run according to the functions called by the pascal code.

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Ok, so what do you want to do - implement your own of these?

    A pascal intpreter/compiler isn't entirely trivial, but depending on how much you want to support out of the overall language, you may be able to design something that intperprets/compiles Pascal without TOO much effort.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Random technical post moved to the tech board.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  2. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  3. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM
  4. Compares C++ and Pascal
    By Jaguar in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 07-19-2002, 11:28 AM
  5. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM