Michael Van Canneyt
michael at freepascal.org
Thu Apr 2 13:49:20 CEST 2015
On Thu, 2 Apr 2015, Carlo Kok wrote:
>>> I see PascalScript is part of the Lazarus project now. I have not
>>> been able to get nested classes to work there either. If I am to get
>>> my code accessible, I will need someone with knowledge in extending
>>> BESEN or PascalScript or both. I would be ideal to offer developers a
>>> choice of which scripting language they want to write back-end code.
>>> But if I am to provide developers with instant API to do complex code
>>> that is relevant to computing needs of today, I will need access to
>>> nested objects in either of these JITCs.
>>> Anyone familiar with BESEN or PascalScript that could shed some light?
>> Can you explain why nested classes cannot be handled in e.g. besen ?
>> They are no different from normal classes except in their name, a fact
>> that could probably be handled through some stringreplace('.','_') or so.
> I don't think PascalScript should have real problems with using them then.
> The only problem is that the importer doesn't support them.
I suspected as much, but I am not an expert on both engines...
More information about the fpc-pascal