Re: [fpc-pascal] Creating text files with TFileStream

2009-10-23 Thread Gerard N/A
On Fri, Oct 23, 2009 at 12:21 PM, Graeme Geldenhuys wrote: > I can view the resulting output.txt file with Midnight Commander > (Linux console file manager), but if I try and open that file with > Gnome gEdit or Lazarus IDE, it says the file does not look like a text > file and refuses to open it

Re: [fpc-pascal] Creating text files with TFileStream

2009-10-23 Thread Gerard N/A
Hi, On Fri, Oct 23, 2009 at 11:58 AM, Graeme Geldenhuys wrote: > where AOut is the TFileStream.  But if I view the output file, it > "mostly" looks like text. Except that on each line in starts with some > random 2-3 characters. > Could it be that the length indicator bytes of the string are wr

Re: [fpc-pascal] BNF grammar for fpc

2009-10-16 Thread Gerard N/A
On Thu, Oct 15, 2009 at 9:28 PM, Marc Santhoff wrote: > is a complete grammar for fpc written in some variant of BNF available > somewhere? > Gold parser builder has a BNF grammar for Delphi 7 (AFAIK, incomplete): http://www.devincook.com/goldparser/grammars/index.htm Regards, Gerard. ___

Re: [fpc-pascal] Writing a compiler

2009-01-05 Thread Gerard N/A
On Mon, Jan 5, 2009 at 11:43 AM, Frank Peelo wrote: > There's also "Compiler Construction" by Prof. Wirth, Addison-Wesley, 1996, > ISBN 0-201-40353-6. It describes a subset of Oberon, rather than Pascal, but > it does have the advantage that he seems to have released it (or rather, a > revised 3rd

Re: [fpc-pascal] Writing a compiler

2009-01-05 Thread Gerard N/A
Hi, On Mon, Jan 5, 2009 at 6:50 AM, leledumbo wrote: > > I just finished taking compiler techniques class this semester and I'd like > to write my own based on the one used in the class. The class uses Java with > JLex and JavaCUP, but I don't really like Java and I want to rewrite it in > FP. Ho

Re: [fpc-pascal] FreePascal/Lazarus plug-in's for Delphi.

2008-12-19 Thread Gerard N/A
Hi, On Thu, Dec 18, 2008 at 6:47 PM, Skybuck Flying wrote: > > I tried compiling the free pascal compiler in Delphi and noticed how free > pascal had some language features which were not supported by Delphi, which > scares me a bit... I would like to have the ability to go back and forth > betwe

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Gerard N/A
Hi Graeme, On Tue, Dec 9, 2008 at 10:56 AM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On Mon, Dec 8, 2008 at 8:07 PM, Prince Riley <[EMAIL PROTECTED]> wrote: > > That project is such a mess (my personal opinion). Just the other day > I wanted to download the Eclipse IDE, to see what has chan

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Gerard N/A
On Fri, Dec 5, 2008 at 1:18 PM, Ingemar Ragnemalm <[EMAIL PROTECTED]> wrote: > > This is an argument only after considering the time versus the goal. Is the > goal worth the time? > No, and that was exactly my point. Life is too short to spend it rewriting Linux in Pascal. > > Another goal is to

Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Gerard N/A
As with many things, it only depends of the time you have. But as you grow older you get a different idea of life expectancy and the use of your remaing time. Regards, Gerard. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free