Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Marco van de Voort
In our previous episode, Dani?l Mantione said: > We analyzed this, and it was nothing smart on my side, it was a simple > Pascal text I/O versus Java text I/O issue. Not only is Java's text I/O > terribly hard to use, it is also terribly inefficient. Our text I/O, on > the other hand, is very we

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Marco van de Voort
In our previous episode, Felipe Monteiro de Carvalho said: > My initial experience was that this is no problem. The Java libraries > are just an API just like any other. Just call the appropriate > routines and you can build your implementation for anything in the FPC > library. > > I managed to w

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Daniƫl Mantione
Op Thu, 27 Nov 2008, schreef Felipe Monteiro de Carvalho: On Thu, Nov 27, 2008 at 1:17 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: Besides the pure language problem, there is also the library problem. Java and .NET are more than just a bytecode specification, there are also vast standar

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Felipe Monteiro de Carvalho
On Thu, Nov 27, 2008 at 1:17 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > Besides the pure language problem, there is also the library problem. Java > and .NET are more than just a bytecode specification, there are also vast > standard libraries, and the VCL-alike standard libraries of FPC (

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Felipe Monteiro de Carvalho
On Thu, Nov 27, 2008 at 1:17 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > Forking a project is a big deal, but IMHO warranted in this case. If even > Borland can't pull it off. I am somewhat divided about what would be better, but inclined to agree that a new project would be better to

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Michael Van Canneyt
On Thu, 27 Nov 2008, Marco van de Voort wrote: > In our previous episode, Thaddy said: > > I remember that the Delphi to java bytecode compiler isn't feature > > complete. I can't be: it will not be possible to compile any old delphi > > program into java byte code for several reasons. But it

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Felipe Monteiro de Carvalho
On Thu, Nov 27, 2008 at 12:44 PM, Mehmet Erol Sanliturk <[EMAIL PROTECTED]> wrote: > In short , I think , generation of Java byte code by the Free Pascal > compiler is one of the most important improvements . Open source projects (like Free Pascal) and driver by contributions. It's not reasonabl

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Felipe Monteiro de Carvalho
On Thu, Nov 27, 2008 at 11:56 AM, Michael Schnell <[EMAIL PROTECTED]> wrote: > It would be great to be able to compile Pascal source code into Java byte > code that can be downloaded and by and a browser. Do you think this is > possible ? I only researched about desktop and mobile Java. Not brows

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Thaddy
Michael Schnell wrote: Thaddy wrote: Yes, this is possible and even proven to be possible. I have a fieldtest delphi bytecode compiler from borland inprise times. This is Pascal byte code not Java byte code. Any bowser can run Java byte code (via the Java Virtual Machine that is installed on a

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Michael Schnell
Thaddy wrote: Yes, this is possible and even proven to be possible. I have a fieldtest delphi bytecode compiler from borland inprise times. This is Pascal byte code not Java byte code. Any bowser can run Java byte code (via the Java Virtual Machine that is installed on any PC), but it can't ru

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Thaddy
But it IS possible to use the compiler itself with the frameworks that are native to the bytecode platforms. That in itself isn't rocket science. That was the ratio behind Borland experiments with a java bytecode compiler: and it never reached maturity because the library issue was the mayor hur

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Thaddy
I wrote this from the perspective of a compiler, not from the perspectiev of a framework. So, I fully agree with your response. It is a more elaborate version - with corrections - of what I ment. Marco van de Voort wrote: In our previous episode, Thaddy said: I remember that the Delphi to j

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Marco van de Voort
In our previous episode, Thaddy said: > I remember that the Delphi to java bytecode compiler isn't feature > complete. I can't be: it will not be possible to compile any old delphi > program into java byte code for several reasons. But it is possible to > create Java bytecode with a - safe - sub

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Thaddy
I remember that the Delphi to java bytecode compiler isn't feature complete. I can't be: it will not be possible to compile any old delphi program into java byte code for several reasons. But it is possible to create Java bytecode with a - safe - subset of pascal syntax. It is also possible to

[fpc-devel] Pascal to Java compiler

2008-11-27 Thread Mehmet Erol Sanliturk
Dear Sirs , Since many months , I was thinking to make a suggestion for generation of Java bytecode by Free Pascal from a Pascal source when a compiler switch is set . It seems that ( with respect to my limited knowledge about FPC Team structure ) compiler programming mostly managed by Floria

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread dmitry boyarintsev
> I will email Nick and David if they would be willing to (put it in the > museum). thanks ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Thaddy
dmitry boyarintsev wrote: I can ask this if you like: very good contacts. Could you ask them, please? I will email Nick and David if they would be willing to (put it in the museum). No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Da

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread dmitry boyarintsev
> I can ask this if you like: very good contacts. Could you ask them, please? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Thaddy
Yes, this is possible and even proven to be possible. I have a fieldtest delphi bytecode compiler from borland inprise times. Never made it to market, but it works. Ask Codegear of they are willing to give you a specimen of this oldy. I can ask this if you like: very good contacts. Thaddy Mich

Re: [fpc-devel] Pascal to Java compiler

2008-11-27 Thread Michael Schnell
It would be great to be able to compile Pascal source code into Java byte code that can be downloaded and by and a browser. Do you think this is possible ? If yes, an example that we can have a look at would be great ! Did you use the FPC parser code in your project ? If yes, it would be gr

[fpc-devel] Pascal to Java compiler

2008-11-27 Thread Felipe Monteiro de Carvalho
Hello, For the compilers project from my graduation my group managed to get a very simple pascal compiler developed with Free Pascal and generating Java assembler, which is assembled by Jasmin. When I started it I was thinking about phones which only run Java, and also other phones in general. Th

Re: [fpc-devel] Att: Joost. About bug report 12667

2008-11-27 Thread Joost van der Sluis
Op zondag 23-11-2008 om 18:31 uur [tijdzone -0300], schreef Luiz Americo Pereira Camara: > Joost van der Sluis escreveu: > > Op zondag 23-11-2008 om 14:48 uur [tijdzone -0300], schreef Luiz Americo > > Pereira Camara: > > > >> Almost all changes were necessary. From 29 changes only 3 were > >>