[fpc-pascal] Using Free Pascal Scanner/Parser in Other Projects

2016-05-23 Thread Mazo Winst
Hello, Currently, is feasible/possible to use the free pascal's scanner/parser portions in other projects that needs to perform pascal lexical analysis? (e.g syntax coloring editors, like SynEdit). Best regards ___ fpc-pascal maillist -

Re: [fpc-pascal] Summary of Unicode Strings Debate

2016-05-11 Thread Mazo Winst
2016-05-11 11:44 GMT-03:00 Michael Van Canneyt <mich...@freepascal.org>: > > > On Wed, 11 May 2016, Mazo Winst wrote: > > Hello, >> >> A summary of what i learned from the Unicode String debate: >> >> 1 - FPC 3 introduces code page aware strings >&g

[fpc-pascal] Summary of Unicode Strings Debate

2016-05-11 Thread Mazo Winst
Hello, A summary of what i learned from the Unicode String debate: 1 - FPC 3 introduces code page aware strings 2 - FPC 3 updates the RTL to provide a better support for code page aware strings 3 - The dynamic behavior of the string type regarding to the platform was not introduced by FPC 3.

[fpc-pascal] RTL and Unicode Strings

2016-05-10 Thread Mazo Winst
Hello all, I am very confused about the way the system codepage are determined. >From what i understand, the string codepage is determined at runtime in a platform dependent manner. Suppose that my app needs to read a file encoded with UTF-8. Suppose that my app runs on Windows, where the system

Re: [fpc-pascal] The world is ending (was: Warning not to use the "String" type with FPC 3.x)

2016-05-09 Thread Mazo Winst
2016-05-09 16:34 GMT-03:00 Jonas Maebe : > Graeme Geldenhuys wrote: > >> Now some would say, simply switch your compiler mode to DelphiUnicode. >> But I don't want to do that, because I like the stricter ObjFPC mode, >> and prefer ObjFPC's syntax. >> > > While still

[fpc-pascal] Smart Pointers

2016-05-09 Thread Mazo Winst
Hello list, I don't know if here is the correct place to make this question. I read that mails about implementation of management operators and smart pointers. 1 - These features are expected to be available in which version? 2 - Are these features an introduction to Arc objects? Best regards

Re: [fpc-pascal] Invoking methods through rtti

2016-05-09 Thread Mazo Winst
Em segunda-feira, 9 de maio de 2016, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> escreveu: > On 2016-05-09 16:22, Mazo Winst wrote: >> Is there any way to invoke a method passing parameters through rtti? > > Yes, it should be possible. Take a look at the FPCUnit (uni

Re: [fpc-pascal] Invoking methods through rtti

2016-05-09 Thread Mazo Winst
Em segunda-feira, 9 de maio de 2016, Sven Barth <pascaldra...@googlemail.com> escreveu: > Am 09.05.2016 17:23 schrieb "Mazo Winst" <mazofei...@gmail.com>: >> >> Is there any way to invoke a method passing parameters through rtti? > > As long as you kn

[fpc-pascal] Invoking methods through rtti

2016-05-09 Thread Mazo Winst
Is there any way to invoke a method passing parameters through rtti? Best regards ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Property Attributes

2016-05-02 Thread Mazo Winst
Hello, http://wiki.freepascal.org/Property_attributes. 1 - Is there any plans to merge the branch which contains the implementation of class attributes for the next release? 2 - The wiki page mentions "storing additional info in PPU's". This