Re: Writing Externals in Pascal?

2010-07-08 Thread Peter W A Wood
Mark I suspect that writing a dynamic link library for use with Rebol is likely to be easier than writing an external for Revolution. The Rebol language is evaluated not compiled. I found writing a dynamic link library with FPC quite straightforward though I encountered two problems which I

Re: Writing Externals in Pascal?

2010-07-08 Thread Peter Alcibiades
You see, Richmond, what you needed was regular expressions. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Writing-Externals-in-Pascal-tp2278157p2282719.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: Writing Externals in Pascal?

2010-07-08 Thread Richmond
On 07/08/2010 10:06 PM, Peter Alcibiades wrote: You see, Richmond, what you needed was regular expressions. What I need is a da*n good holiday! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: Writing Externals in Pascal?

2010-07-07 Thread Mark Wieder
Peter- Monday, July 5, 2010, 4:59:11 PM, you wrote: Free Pascal. At the moment, I am testing calling a dynamic load library written in Free Pascal from Rebol (a language written in C) using C calling conventions. Keep us posted on your progress - that's a promising start. -- -Mark Wieder

Re: Writing Externals in Pascal?

2010-07-07 Thread Bob Sneidar
Whoa! Pascal still lives?? Maybe I am not so old after all. Bob On Jul 7, 2010, at 9:26 AM, Mark Wieder wrote: Peter- Monday, July 5, 2010, 4:59:11 PM, you wrote: Free Pascal. At the moment, I am testing calling a dynamic load library written in Free Pascal from Rebol (a language

Re: Writing Externals in Pascal?

2010-07-07 Thread Neal Campbell
The 2010 version of Delphi is a killer development environment and the 2011 version will have cross-compile for OS X. You can tell its what I do a lot of work in! Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER On Wed, Jul 7, 2010 at 1:56 PM,

Re: Writing Externals in Pascal?

2010-07-07 Thread Richmond
On 07/07/2010 08:56 PM, Bob Sneidar wrote: Whoa! Pascal still lives?? Maybe I am not so old after all. Bob Sorry to dash your illusions; I studied PASCAL 5 in 1985; Thee and Me are alive, and so is PASCAL; neither Thee, not Me, nor PASCAL are as young as we were in 1985. Hey; anybody

Re: Writing Externals in Pascal?

2010-07-06 Thread RunRevPlanet
Peter, Thanks for your tips from using Free Pascal with Rebol. You have confirmed what I though from the Free Pascal Compiler (FPC) documentation, that it should be able to make libraries that are indistinguishable from those made from a C compiler. Now it is more a question of time, as I

Writing Externals in Pascal?

2010-07-05 Thread RunRevPlanet
Hi All, Trying to gauge the potential interest in a Revolution Externals SDK that could allow you to develop externals in Lazarus/Free Pascal. Instead of requiring some form of C/C++ wrapper, which is the only language that is currently supported by the official Externals SDK. To be able to

Re: Writing Externals in Pascal?

2010-07-05 Thread planix
Alistair -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Writing-Externals-in-Pascal-tp2278157p2278201.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution

Re: Writing Externals in Pascal?

2010-07-05 Thread -= JB =-
I would be interested in programming externals in Pascal but I am not familiar with the pascal you mentioned so I can't comment on the choice of pascal. -=JB=- On Jul 5, 2010, at 1:49 AM, RunRevPlanet wrote: Hi All, Trying to gauge the potential interest in a Revolution Externals SDK that

Re: Writing Externals in Pascal?

2010-07-05 Thread Andre Garzia
Scott, Been there as well. I remember many many many years ago talking about this exact topic with members of the community and with if I recall, there were some troubles in the way FPC generated the libraries, some linker stuff which might not be a problem these days. It would be a wonderful

Re: Writing Externals in Pascal?

2010-07-05 Thread RunRevPlanet
Alistair, Thank you for the offer. Nice to hear from another Delphi familiar. If I start the project I will certainly let you know, if I need assistance. -=JB=-, Free Pascal is a cross platform Pascal compiler that does standard Object Pascal plus more. It is also largely compatible with

Re: Writing Externals in Pascal?

2010-07-05 Thread -= JB =-
Thanks for the info. I hope the problems can be resolved. -=JB=- On Jul 5, 2010, at 6:05 AM, RunRevPlanet wrote: Alistair, Thank you for the offer. Nice to hear from another Delphi familiar. If I start the project I will certainly let you know, if I need assistance. -=JB=-, Free

Re: Writing Externals in Pascal?

2010-07-05 Thread Mark Wieder
Scott- Things may have changed with Delphi, but I fear you may run into the problem I had back in 2004 when I attempted this. See bug #1526. The issue was the inability to coax Borland compilers into the proper combination of compiler options to export symbols that the runrev engine would

Re: Writing Externals in Pascal?

2010-07-05 Thread Andre Garzia
Argh! I remember that bug in 2005... just commented and voted on it again. argh! On Mon, Jul 5, 2010 at 12:28 PM, Mark Wieder mwie...@ahsoftware.net wrote: Scott- Things may have changed with Delphi, but I fear you may run into the problem I had back in 2004 when I attempted this. See bug

Re: Writing Externals in Pascal?

2010-07-05 Thread Alejandro Tejada
-parties to develop add-ons. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Writing-Externals-in-Pascal-tp2278157p2278631.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: Writing Externals in Pascal?

2010-07-05 Thread Mark Wieder
Andre- Monday, July 5, 2010, 8:35:01 AM, you wrote: Argh! I remember that bug in 2005... just commented and voted on it again. argh! I wouldn't bother wasting votes on this. I finally pulled my votes away and put them to better use on other bug reports. It's A) filed as an enhancement, so

Re: Writing Externals in Pascal?

2010-07-05 Thread RunRevPlanet
Thanks for the extra tips. At this stage I have only done a quick read of the documentation of the Free Pascal Compiler, but from what I have read it appears more flexible than the Borland compilers in terms of the libraries it can produce. But I won't really know what it is capable of until

Re: Writing Externals in Pascal?

2010-07-05 Thread Peter W A Wood
Hi Scott I am also be interested in being able to develop externals in Free Pascal. At the moment, I am testing calling a dynamic load library written in Free Pascal from Rebol (a language written in C) using C calling conventions. It is impossible to get the level of granularity of compiler