I think there are two or three threads in the last couple of months alone where people say they use Delphi for it. Not healthy.
In the last months I dropped the D word in a com/activex context a few times
Leaves us with how many others? My AcitveX & Evensink demo has also inspired a few to make the jump.
A few. I track activex related topics already for 6 years :-) Classic scenario is fast MS Office output, when generating large and many documents, the late binding overhead is noticable.
Though Sergei has done most of the work in the last two years.
1) I'm not sure how usable the IDL is. They seem to have language specific emits everwhere.
On the other hand, IDL is cross-platform. XPCOM, CORBA, etc, all use a flavor of IDL+extensions. The RIDL approach, support a subset of IDL, seems to be a good one. What, at first sight, seems to be downside of RIDL is that a basic MIDL has to be transformed to RIDL before being interpretable.
I expected that reaction. A general principle doesn't mean that they are common enough to be handled together. And if they aren't they might as well be different technologies for all intents and purposes.
And I'm not that interested in XPCOM and CORBA to begin with. The uses are limited, except for Corba, but then you are probably doing Java, not FPC. Like I did when I did Corba ;-)
2) The structure the IDL will be transformed too, will be pretty close to TLB, so the TLB->source is a good first step to get the feet wet.
That is the internal representation after the parsing you mean, not the output.
Yes.
4) I can be mistaken, but the IDL stuff is mostly developer side, with TLB being the format actually being shipped.
IOW TLB is afaik only deprecated as source format, not as the shipped format.
TLB is very "vendor" specific.
True. So are VB and Office, but that doesn't prevent it from being used much, and the TLBs are the main way to access components from one and expose them to the other.
XPCOM has .xpt files, etc. And yes, only Delphi is dropping support for TLB, not MS.
I've no usecases for XPCOM, OpenOffice would be a better reason though.
And to be frank, LALR parsers scare the hell out of me atm. I'm planning to first tackle some of the h2pas bugs before I would attempt creating such beast from scratch
"From scratch" is the right word. I'm going to take a close look at the idl2pas implementation of the MT-DORB project. It is using yacc and lex. Currently it is "fed" with the CORBA IDL syntax, but if it works all right, it would be worth to give it a stab at "feeding" it with the MIDL syntax.
I repeat: I'm not sure I can actually do anything with IDL, even if I had a working parser. Most activeX components are shipped with TLBs, not with the (M/R)IDL source from which the TLBs are generated. IDL is only needed for a different (next) step, generating own activeX components. And afaik Embarcadero only abandonned TLB as the authoritive source in such case, not all together (as distributable container format, since again the RIDL compiler generates afaik TLBs)
Probably this is since VB6, Delphi and other activex consumers all eat TLBs.
Still thanks for the dorb mentioning. I had a look at it long ago, but maybe I should look at it with fresh eyes. But I stick to my original Christmas holiday planning, TLB first, then H2pas fixes, and then who knows :-)