Hello,
I've started looking into Delphi 2010 RTTI scheme. For example,
superobject uses it. Delphi 2010 declares a whole new API for RTTI.
Would it be possible to reproduce the interface of this API and
implement it using the existing RTTI system in FPC? Would it be legal?
I'm investigating
On 11/12/2010 11:53, Michael Van Canneyt wrote:
...
If you want to look into it, I think Paul can help on the compiler
end, and I'm willing to help with the extra RTL functionality.
How can I help?
I know a lot how the Delphi RTTI works, but I don't have a Delphi 2010
version (too expensive)!
Hello,
Delphi 2010 has changed the RTTI mechanism, and it is said to be much
more usable than the previous one.
(see here for example: http://www.malcolmgroves.com/blog/?p=476)
Some interesting tools are using this new approach, like DelphiOnRails:
http://code.google.com/p/delphionrails/
Dear all,
I understand Delphi 2010 has changed its RTTI mechanism, and it is said
to be much more usable than the previous one.
(see here for example: http://www.malcolmgroves.com/blog/?p=476)
What are the FPC team's plans about improving the RTTI? Any similar or
as easy to use/powerful?
For
On 08/11/2010 13:07, Rainer Stratmann wrote:
...
http://demo.klimaregelung.de
For showing measuring values I need png support.
___
Interesting demo. Do you have it in English? Do you intend to have
multi-language support?
Brian,
thanks for the diff, I'll take it into account and publish an update.
On 28/10/2010 18:50, Brian Winfrey wrote:
...
The changes I made in this diff were simply to get it to compile.
Subsequently I renamed all files and folders to lowercase, converted
spaces to underscores and added a
I second that.
...
I recommend http://www-old.oberon.ethz.ch/WirthPubl/CBEAll.pdf
...
also Wirth's book on Project Oberon, where the compiler design is
explained, and its purpose in the whole project:
http://www.oberon.ethz.ch/WirthPubl/ProjectOberon.pdf
in the physical world: ISBN
Hello Brian,
Yes, please send the diff file, so I can look at it. Which platform
(Windows, Linux, FPC) are you using?
Another approach would be to look at (and reverse engineer) the byte
code. If it's not obfuscated, it might even be easier to parse and port
than the native Java.
On
Hello Brian,
there is a port to Lazarus here:
http://www.tcoq.org/
with some examples. I can help you if needed. The documentation is quite
complete.
Translating the whole Java language would be very difficult, but
translating only the structure could be done. You would need to write a
Hello,
On 02/08/2010 22:10, Jorge Aldo G. de F. Junior wrote:
and what about property tags and dynamic dispatch ?
this would solve a lot of problems of my project...
(i'm reading about multiple inheritance and looks like it creates more
problems than it solves...)
...
Multiple
On 18/07/2010 20:56, Mark Morgan Lloyd wrote:
...
Yes, I was thinking that. However if the basic class was say a
round-robin scheduler with phases rrQuiescent and rrInitialised and
the descendant was say an HP comms protocol handler with additional
phases hpReceivingPadding, hpReceivedSync and
Dear Dennis,
See my comment below:
spir ☣ wrote:
Hello,
...
Second, theses texts seem to imply that classes only have drawbacks, compared to object types ;-) The reference does not compare the two models further, I guess; so why bother with a heavier system? Why did Delphi creators design
Denis,
you need to get up to speed on types, since this is one of the
fundamental (and better) differences of pascal. You'll find the typing
system actually helps you a lot.
FYI, class is one of the possible types. Basically in Pascal, some
types are basic: integer, real, some types are
try prefixing by the unit name:
procedure tcls.method(x,y: tt);
begin
if a.equals(x,y) then
...
end;
Thierry
leledumbo wrote:
consider the following code snippet:
code
unit a;
interface
type
tt = ...
tcls = class
procedure method(x,y: tt);
end;
function equals(x,y: tt):
...
In addition, when starting to use Pascal, don't use pointers, and don't
invent linked lists, it's been done so many times.
Go look up the source code in contnrs.pp to understand lists and
containers already available in FPC.
Most programming can be done without untyped pointers.
Best
Joseph, Vincent,
+1
Add me to the list here.
I also offer to help, especially for writing UML diagrams to help people
visualize, including use cases, class diagrams and scenarios. Every
component I publish has unit testing and UML diagrams, if only a few.
Thierry
Marco,
Happy New Year too, and thanks to all the team for this great work! The
betas were exciting and this version will be undoubtedly great too!
Thierry
Marco van de Voort wrote:
Happy New Year!
As a special present, We have placed a new major release of the Free Pascal
Compiler, version
Hello,
I'm trying to use inline to remove unnecessary debugging code, such as
the following code, with FPC 2.3.1 on Windows, when compiling for
production.
However when I compile the code, at O1 optimisation level (my default),
the call to DebugInfo is still present in the generated
Jonas Maebe wrote:
On 22 Nov 2009, at 10:10, Thierry Coq wrote:
I'm trying to use inline to remove unnecessary debugging code, such as the
following code, with FPC 2.3.1 on Windows, when compiling for production.
However when I compile the code, at O1 optimisation level (my default
regards,
Thierry
Thierry Coq wrote:
Jonas Maebe wrote:
On 22 Nov 2009, at 10:10, Thierry Coq wrote:
I'm trying to use inline to remove unnecessary debugging code, such
as the following code, with FPC 2.3.1 on Windows, when compiling for
production.
However when I compile the code, at O1
20 matches
Mail list logo