Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: I have no idea about your question, but it might be interresting for you to know, just in case you already don't, the wiki page about the new Regexpr in FPC: http://wiki.lazarus.freepascal.org/Regexpr It almost works: Exec() is OK (at least with trunk, I migh

Re: [fpc-pascal] i386: strange code generated in simple for loop

2011-12-03 Thread Bernd
2011/12/3 Jonas Maebe : > Note that the "inc" comes before the loop body and the "dec" is inside > [...] > That's for code alignment. You are right. It seems I shouldn't have drunken so much coffee today and not have worked for so long or I would have easily seen where the JG jumps to ;-) I think

Re: [fpc-pascal] i386: strange code generated in simple for loop

2011-12-03 Thread Jonas Maebe
On 03 Dec 2011, at 21:41, Bernd wrote: > Hello, I have observed something I do not understand. The following is > a series of for-loops and the generated code looks strange to me. > There always appears an inc followed by a dec Note that the "inc" comes before the loop body and the "dec" is insi

Re: [fpc-pascal] i386: strange code generated in simple for loop

2011-12-03 Thread Florian Klämpfl
Am 03.12.2011 21:41, schrieb Bernd: > Hello, I have observed something I do not understand. The following is > a series of for-loops and the generated code looks strange to me. > There always appears an inc followed by a dec Leaving the inc away would require an additional jump to do the abort ch

[fpc-pascal] i386: strange code generated in simple for loop

2011-12-03 Thread Bernd
Hello, I have observed something I do not understand. The following is a series of for-loops and the generated code looks strange to me. There always appears an inc followed by a dec and what is even more bizarre is the code in between it: sometimes it inserts a mov %esi,%esi, sometimes lea0x0(

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Frank Church
On 3 December 2011 16:29, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > I have no idea about your question, but it might be interresting for > you to know, just in case you already don't, the wiki page about the > new Regexpr in FPC: http://wiki.lazarus.freepascal.org/R

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Felipe Monteiro de Carvalho
I have no idea about your question, but it might be interresting for you to know, just in case you already don't, the wiki page about the new Regexpr in FPC: http://wiki.lazarus.freepascal.org/Regexpr > It almost works: Exec() is OK (at least with trunk, I might have seen a > problem with a vers

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: On Thu, Dec 1, 2011 at 7:48 PM, Mark Morgan Lloyd wrote: Has anybody with experience of WideStrings tried compiling the "new" Regexpr unit to support them? Which "new" Regexpr? The one in packages/regexpr or another one? I always thought that the one I adde

Re: [fpc-pascal] Markdown parser?

2011-12-03 Thread Graeme Geldenhuys
On 3 December 2011 14:46, Leonardo M. Ramé wrote: > Hi, does anyone knows if there is a Markdown parser already developed for > FreePascal?. I started a Markdown and Creole parser about a year or two ago. I'll see if I still have the code somewhere. It might be at work, which means I can only che

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Felipe Monteiro de Carvalho
On Thu, Dec 1, 2011 at 7:48 PM, Mark Morgan Lloyd wrote: > Has anybody with experience of WideStrings tried compiling the "new" Regexpr > unit to support them? Which "new" Regexpr? The one in packages/regexpr or another one? I always thought that the one I added was focused on utf-8, although I

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Has anybody with experience of WideStrings tried compiling the "new" Regexpr unit to support them? I'm in a position where I could very much benefit from using these, but I think that I'm only seeing patterns match for characters <= #$00ff and even then am not seeing

[fpc-pascal] Markdown parser?

2011-12-03 Thread Leonardo M . Ramé
Hi, does anyone knows if there is a Markdown parser already developed for FreePascal?.   Leonardo M. Ramé http://leonardorame.blogspot.com___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal