Is PascalScript compatible with Delphi XE5 to create Android/iOS/Windows applications?

空扰寡人 提交于 2019-12-08 03:38:01

问题


I want to create an application that will draw simple forms based on JSON data. I need to have a script to put intelligence on that.

Is Pascal Script from RemObjects a solution for that?

Is is compatible to generate application with the same source code for Android, iOS and Windows?

EDIT: Extending to better understand the need: I have a delphi program that draws a form (pretty much like a dfm file, as a descriptor) and fill it with data from a database. However there is a need for inteligence to validate the data entered. Since the form and data and the validation rules are done by the user there is no way to be a "regular" pascal source code. For that an script language would be perfect, and since I need the same form and same script works in each platform that I could delploy my application it would be also perfect.

This script language should be able to work with exposed objects and deal with database operations (via exposed objects should work also), it is not only a simple IF statement, but there is not need of classes definition. Basically the same concept of what is possible to be done inside a delphi event when attributed by the IDE on OnClick for a TButton for example. It can validate fields, make a calculation of totals, save to a database.

EDIT: I have found that http://www.paxcompiler.com/ PaxCompiler is capable of implement scripting on all target platforms of XE5. I have contacted all the other scripting around this is the only one up to now.


回答1:


If you want to draw shapes based on JSON data, then just interpret the data using Delphi code and have Delphi to draw the shapes or create the controls.

However I think it is a better idea to create some dummy code and ask RemObject support.
See: http://www.remobjects.com/support/

You can write them an email with some source/pseudo code of what you're trying to do and see what they say.



来源:https://stackoverflow.com/questions/19124520/is-pascalscript-compatible-with-delphi-xe5-to-create-android-ios-windows-applica

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!