On Sat, 7 Sep 1996, Peter Gerwinski wrote:
Hello folks,
(* This mail is somehow long. In short: I want to take the directives `Extern', `C', and `AsmName' *out* of GPC and extend the syntax of `External' instead. Okay? :*) I would suggest to define as few directives as possible and to drop everything but `External' but extend its syntax to meet our requirements. A first approach could be
Good idea. Having 3 directives which basically do the same thing is pretty stupid.
My current idea now would be to define
Procedure foo; external; (* yields "Foo" *) Var x: Integer; external; (* yields "X" *)
plus
Procedure foo; external name 'foO'; Var x: Integer; external name 'my_x';
to replace "AsmName 'foO'". Later we can extend this to allow a name of a shared library between `external' and `name'.
No objections to this idea from me. Anybody else?
Hey ... did y'all know that a Linux version of FPKPascal (or is it just FPPascal??) is now out (currently only a.out but and ELF version is expected soon). One thing I like about FPKPascal is that it has function overloading. Any plans of adding this to GPC? This would be a nice thing to throw in, IMHO.
=============================================================================== Arcadio Alivio Sincero, Jr. Sophomore, Computer Science Major at the University of Maryland at College Park Amateur competitive bodybuilder Email: lotu@wam.umd.edu, WWW: <coming soon to a web site near you!>
"D.A.R.E. .... to keep cops off donuts."