Hello!
According to Andreas Prucha [helicon]:
[...] I know, OP is not based on a standard like Extended Pascal, /but/ I think OP /is/ the standard, because I can't imagine that any other Pascal-dialect is that widely used.
Correct.
There is a draft for an ANSI Object Pascal standard; see http://pascal-central.com/OOE-stds.html .
- Compatibility with OP (Delphi) as far as possible w/o leaving the portabil
ity-track. (Beside some features like message-handler-methods, there should not be much)
- Exception handling
- OP-style object-model
Planned. But first the current state of the art (IMHO we have ~85% of Extended Pascal and ~95% of the Borland Pascal 7.0 language (not BP's standard units)) must become stable.
See ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/ for our current WIP.
- OP-style strings (reference-counted or not)
We already have plenty of (implemented or planned) string models in GPC: Extended Pascal requires a schema type, BP's (short) strings are planned for the future, GPC supports C-style strings as parameters etc. The implementation of yet another string type must be thought through carefully in order not to maximize confusion.
However, IMO it is great, that Pascal is going to be supported in the UNIX-world. It is a under-estimated langugage (esp. OP), IMO.
I agree. That's why I am working on GPC.
Greetings,
Peter