Jump to content


Photo

TMS Scripter


  • Please log in to reply
3 replies to this topic

#1 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 281 posts
  • LocationCuiabá-Brasil

Posted 13 September 2017 - 07:08 PM

Is anyone successfully using TMS Scripter with Unigui?
I have approximately 80% of codes working properly, and some things still have problems.
 
Conform a previous post, it would be very interesting if we got a satisfactory interaction with TMS Scripter or some other pascal code interpreter, so we could have a more dynamic application possible.
 
Good the problems that I face:
a) In form creation, if it contains the property freeonclose as true, I get exception when closing the form: "There is no Default JavaScript Object "
B) In the clientEvents assignment: the added codes are not executed
 
 
Someone would know or could tell me some solution to these cases, or know some pascal code interpreter that works perfectly with unigui.

Attached Files


  • 0

#2 SBokhari

SBokhari

    Member

  • Members
  • PipPip
  • 14 posts

Posted 13 September 2017 - 10:55 PM

Hello Herculanojs,

 

Take a look at http://paxcompiler.com/. It is actively in development. I think it is free but I haven't read their licensing module.

If it's licensing model fits and works with UniGUI, then it should be in UniGUI by default like UniSynaxEditor. 

 

One of my friends has used it in his project and praised it.

 

 

According to their website:

 

About paxCompiler

paxCompiler is an embeddable cross-platform compiler of the Object Pascal, Basic and JavaScript programming languages. The key features of the paxCompiler are:

  • The compiler generates machine code for Intel compatible processors (IA-32/64 architecture) for platforms: Win32/Win64, Mac OS, iOS Simulator.
  • The second script runner is a cross-platform interpreter based on intermediate code. Supported platforms are Win32/Win64, Linux, Android, Mac OS, iOS Simulator, iOS Device.
  • The compiler is written in Delphi and it is compatible with Free Pascal/Lazarus 32/64 bit.
  • It is possible to use the compiler as a scripting engine, so you can customize and extend the application without having to recompile it.
  • The compiler supports Object Pascal language based on the Delphi 7 standard and extends it with generic types, operator overloading, anonymous functions and closures, lambda-expressions. Syntax of Basic language is similar to VB.NET. JavaScript implementation is based on ECMA-262 standard.
  • Cross-language programming support. You can use Pascal units in Basic and JavaScript programs and vice versa.
  • COM support.
  • paxCompiler components allow you to implement debugger and code explorer.
  • Script-defined types support run-time information (RTTI).
  • You can bind instances of script-defined classes with dfm files.
  • You can import host-defined types with paxCompiler importer. Automatic import of host-defined types is available for Delphi XE2-XE7.
  • You can create stand alone executable files and dlls.
  • Support of compiled units and run-time packages.
  • paxCompiler engine is thread safe.
  • The nearest milestones on road map of the compiler development include: C/C++ compiler and native code generator for ARM processors

 

Regards


  • 0

#3 wxb_km

wxb_km

    Active Member

  • Members
  • PipPipPip
  • 99 posts

Posted 14 September 2017 - 01:02 AM

hi,intersting!

you can try FastScript in Unigui. FastScript has small footprints and is simple to use,by using it you can create unicomponents(like uniform,...) in script.


  • 0

#4 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 281 posts
  • LocationCuiabá-Brasil

Posted 14 September 2017 - 02:19 AM

I'll take a look at these engines.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users