Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-08

Pascal Script and Lazarus/Free Pascal

15 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

Hello friends,

I'm trying to use Pascal Script in a project, but I found two versions, that is:

1 - https://github.com/remobjects/pascalscript;
2 - https://github.com/graemeg/lazarus/tree/upstream/components/PascalScript
;

So, what version is the best for use with Free Pascal, the original project (link 1, it is compatible with Free Pascal too) or ported project (link 2, available in Lazarus components)?

Thank you very much!

ps. I think that version available on Lazarus components could be distributed with Free Pacal, because it is easily compiled using only FCL. I testd it in a small sample and it worked fine.

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130805/710f2000/attachment.html>

Reply by email

martin
to silvioprog: I'm trying to use Pascal Script in a project, but I found two versions, that is: 1 -…
silvioprog wrote 19 lines
Hello friends, I'm trying to use Pascal Script in a project, but I found two versions, that is: 1 - https://github.com/remobjects/pascalscript; 2 - https://github.com/graemeg/lazarus/tree/upstream/components/PascalScript; So, what version is the best for use with Free Pascal, the original project (link 1, it is compatible with Free Pascal too) or ported project (link 2, available in Lazarus components)? Thank you very much! ps. I think that version available on Lazarus components could be distributed with Free Pacal, because it is easily compiled using only FCL. I testd it in a small sample and it worked fine.

they are almost the same

the laz version has some of the example or delphi-only files stripped off. And it may be a bit behind sometimes (it was recently updated / there a few commits on the original anyway...)

fixes made to the lazarus version are usually backported.

Reply by email

silvioprog
to martin

2013/8/5 martin

Show quoted text 29 lines
On 05/08/13 04:08, silvioprog wrote: > Hello friends, > > I'm trying to use Pascal Script in a project, but I found two versions, > that is: > > 1 - https://github.com/remobjects/**pascalscript<https://github.com/remobjects/pascalscript> > ; > 2 - https://github.com/graemeg/**lazarus/tree/upstream/** > components/PascalScript<https://github.com/graemeg/lazarus/tree/upstream/components/PascalScript> > ; > > So, what version is the best for use with Free Pascal, the original > project (link 1, it is compatible with Free Pascal too) or ported project > (link 2, available in Lazarus components)? > > Thank you very much! > > ps. I think that version available on Lazarus components could be > distributed with Free Pacal, because it is easily compiled using only FCL. > I testd it in a small sample and it worked fine. > > they are almost the same the laz version has some of the example or delphi-only files stripped off. And it may be a bit behind sometimes (it was recently updated / there a few commits on the original anyway...)

Nice.

It could be ported to the FPC sources (at least the core units).

After, I can contribute with it, sending some new units (support for SQLdb, FPJSON etc. etc. etc.).

fixes made to the lazarus version are usually backported.

Ported from Lazarus trunk to the original PS repo?

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130808/30a57495/attachment-0001.html>

Reply by email

silvioprog
to leledumbo: Both code should be fairly in sync, but use the graeme version instead, it may contain…

2013/8/5 leledumbo

Both code should be fairly in sync, but use the graeme version instead, it may contain Lazarus specific fixes.

Thank you friend! (y)

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130808/f93be9de/attachment.html>

Reply by email

Carlo Kok
to silvioprog: 2013/8/5 martin Nice. It could be ported to the FPC sources (at least the core units).…
silvioprog wrote 44 lines
2013/8/5 martin < <mailto:>> On 05/08/13 04:08, silvioprog wrote: Hello friends, I'm trying to use Pascal Script in a project, but I found two versions, that is: 1 - https://github.com/remobjects/__pascalscript <https://github.com/remobjects/pascalscript>; 2 - https://github.com/graemeg/__lazarus/tree/upstream/__components/PascalScript <https://github.com/graemeg/lazarus/tree/upstream/components/PascalScript>; So, what version is the best for use with Free Pascal, the original project (link 1, it is compatible with Free Pascal too) or ported project (link 2, available in Lazarus components)? Thank you very much! ps. I think that version available on Lazarus components could be distributed with Free Pacal, because it is easily compiled using only FCL. I testd it in a small sample and it worked fine. they are almost the same the laz version has some of the example or delphi-only files stripped off. And it may be a bit behind sometimes (it was recently updated / there a few commits on the original anyway...) Nice. It could be ported to the FPC sources (at least the core units). After, I can contribute with it, sending some new units (support for SQLdb, FPJSON etc. etc. etc.). fixes made to the lazarus version are usually backported. Ported from Lazarus trunk to the original PS repo?

I'd rather get some pull requests for the original ones so I can get this integrated in the main repository.

Carlo Kok RemObjects Software

Reply by email

martin
to silvioprog: 2013/8/5 martin Nice. It could be ported to the FPC sources (at least the core units).…
silvioprog wrote 43 lines
2013/8/5 martin < <mailto:>> On 05/08/13 04:08, silvioprog wrote: Hello friends, I'm trying to use Pascal Script in a project, but I found two versions, that is: 1 - https://github.com/remobjects/pascalscript; 2 - https://github.com/graemeg/lazarus/tree/upstream/components/PascalScript; So, what version is the best for use with Free Pascal, the original project (link 1, it is compatible with Free Pascal too) or ported project (link 2, available in Lazarus components)? Thank you very much! ps. I think that version available on Lazarus components could be distributed with Free Pacal, because it is easily compiled using only FCL. I testd it in a small sample and it worked fine. they are almost the same the laz version has some of the example or delphi-only files stripped off. And it may be a bit behind sometimes (it was recently updated / there a few commits on the original anyway...) Nice. It could be ported to the FPC sources (at least the core units). After, I can contribute with it, sending some new units (support for SQLdb, FPJSON etc. etc. etc.). fixes made to the lazarus version are usually backported. Ported from Lazarus trunk to the original PS repo?

I did sent them a few bug fixes and they took them, so yes.

there will be a few changes (defines / $fatal vs raise) for bigide, those may not be ported back. but then they will not be bugfixes -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130808/46ba6900/attachment.html>

Reply by email

silvioprog
to Carlo Kok: I'd rather get some pull requests for the original ones so I can get this integrated in…

2013/8/8 Carlo Kok
[...]

Show quoted text 6 lines
I'd rather get some pull requests for the original ones so I can get this integrated in the main repository. -- Carlo Kok RemObjects Software

Very nice.

I think that it could've two packages, a runtime and a designetime, being the first fully independent of LCL. If you prefer I can create such packages.

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130809/60be0c25/attachment.html>

Reply by email

silvioprog
to silvioprog

2013/8/9 silvioprog

Show quoted text 16 lines
2013/8/8 Carlo Kok [...] > I'd rather get some pull requests for the original ones so I can get this > integrated in the main repository. > -- > Carlo Kok > RemObjects Software > Very nice. I think that it could've two packages, a runtime and a designetime, being the first fully independent of LCL. If you prefer I can create such packages.

Done:

http://bugs.freepascal.org/view.php?id=24855

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130811/fc3417c1/attachment.html>

Reply by email

martin
to silvioprog
silvioprog wrote 22 lines
2013/8/9 silvioprog < <mailto:>> 2013/8/8 Carlo Kok < <mailto:>> [...] I'd rather get some pull requests for the original ones so I can get this integrated in the main repository. -- Carlo Kok RemObjects Software Very nice. I think that it could've two packages, a runtime and a designetime, being the first fully independent of LCL. If you prefer I can create such packages. Done: http://bugs.freepascal.org/view.php?id=24855

please report them at https://github.com/remobjects/pascalscript/issues

There are no plans to make big modifications to the lazarus version, since the original is still maintained.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130812/5f4e1bc2/attachment.html>

Reply by email

silvioprog
to martin

2013/8/12 martin

Show quoted text 27 lines
On 11/08/13 18:12, silvioprog wrote: 2013/8/9 silvioprog > 2013/8/8 Carlo Kok > [...] > >> I'd rather get some pull requests for the original ones so I can get >> this integrated in the main repository. >> -- >> Carlo Kok >> RemObjects Software >> > > Very nice. > > I think that it could've two packages, a runtime and a designetime, > being the first fully independent of LCL. If you prefer I can create such > packages. > Done: http://bugs.freepascal.org/view.php?id=24855 please report them at https://github.com/remobjects/pascalscript/issues

Done:

https://github.com/remobjects/pascalscript/issues/52

There are no plans to make big modifications to the lazarus version, since the original is still maintained.

Hm... then maybe it would be interesting to delete PS of Lazarus components, or keeping only a link indicating where to download the package, and renaming the foldes from "PascalScript" to "pascalscript".

What do you think? :/

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130814/3413d3b5/attachment.html>

Reply by email

martin
to silvioprog
silvioprog wrote 12 lines
2013/8/12 martin < <mailto:>> There are no plans to make big modifications to the lazarus version, since the original is still maintained. Hm... then maybe it would be interesting to delete PS of Lazarus components, or keeping only a link indicating where to download the package, and renaming the foldes from "PascalScript" to "pascalscript". What do you think? :/

it is included because it is now part of bigide.

see editor macros.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130814/faf6e867/attachment.html>

Reply by email

silvioprog
to martin

2013/8/14 martin

Show quoted text 5 lines
[...] it is included because it is now part of bigide. see editor macros.

Very nice.

So, I sent all changes to the official repository ( https://github.com/remobjects/pascalscript), but I don't know if they saw my issues. :/

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130815/ca29724e/attachment.html>

Reply by email

martin
to silvioprog
silvioprog wrote 14 lines
2013/8/14 martin < <mailto:>> [...] it is included because it is now part of bigide. see editor macros. Very nice. So, I sent all changes to the official repository (https://github.com/remobjects/pascalscript), but I don't know if they saw my issues. :/

I saw that Carlo replied to the thread earlier, so he should be aware. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130815/deeb8bb7/attachment.html>

Reply by email

Carlo Kok
to martin
martin wrote 19 lines
On 15/08/13 17:28, silvioprog wrote: > 2013/8/14 martin < <mailto:>> > > [...] > it is included because it is now part of bigide. > > see editor macros. > > > Very nice. > > So, I sent all changes to the official repository > (https://github.com/remobjects/pascalscript), but I don't know if they > saw my issues. :/ > I saw that Carlo replied to the thread earlier, so he should be aware.

I saw it. I'll look at it as soon as I can.

Reply by email