Results 1 to 3 of 3

Thread: FastScript and FPC on Linux

  1. #1

    FastScript and FPC on Linux

    Hi, I don't know if there is anyone using FastScript here but I hope some of you do. So here we go:
    Is it possible to use FastScript with pure FPC (64 bit, Linux)? No LCL, just a console application? I ask this because my idea is to make my game engine (based on SDL2) scriptable. (Actually I am most interested in the BASIC-script part of FastScript.)
    And is it possible to use types declared in the main program within FastScript? Since I am using SDL2 most types are based on pointers.
    If not I would appreciate any other recommendation of a BASIC-like scripting language which works with Free Pascal. (Btw, at the moment I am using Lua).
    Best regards,
    Cybermonkey

  2. #2
    Haven't used scripts myself, but just did a quick search. Does it go by the name of PascalScript now? At the bottom of the wiki page
    http://wiki.freepascal.org/Pascal_Script
    is example on how to use it in console mode
    http://wiki.freepascal.org/Pascal_Script_Examples
    Though i wouldn't say it's a well thought out example, because it's including Forms unit in uses. As far as i remember, Application variable isn't needed in console apps either.

  3. #3
    No, they are different. PascalScript is open source, FastScript is a commercial software. That's why I need to know if it works (before I buy it).
    Best regards,
    Cybermonkey

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •