Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 2 > Re: A "Via Pasc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 21 of 80 Topic 318 of 382
Post > Topic >>

Re: A "Via Pascal" Modula 2 Compiler ?

by "JP2R" <jp-dezaire@[EMAIL PROTECTED] > Jan 15, 2007 at 01:42 PM

Marco van de Voort wrote:
> On 2007-01-15, JP2R <jp-dezaire@[EMAIL PROTECTED]
> wrote:
>
> If you can really separate them that way. FPC had to compete with BP
from
> the beginning, and thus adopted a "production" mentality early on. And
that
> meant often: seemless integration.

Yes, and a lot more work to understand and reuse

> > The main problems are : ..... which is hard to accept by both
communities ...
>
> Better than doing the same with C, which is the other choice.
 I think so, and thanks for this sentence :+)

> I also think the integrated way would be the best. IOW parameterise
scanner
> and parser so they can parse both. This because the scanner and parser
> already have flexibility because of the various pascal dialects.
>
I don't think it will be sufficient  -  and in the best case I'll not
get something better than I already have . I told of the problem of
Procs assignements - how can you do it properly without a minimalist
semantic ?
- in FPC dialect  ....MyProc :=  @[EMAIL PROTECTED]
 in BP dialect  ....  MyProc := ProcSomething   (as in M2)
if you don't know that ProcSomething is a Proc  and not  a Var (not
speaking about the corectness of assignement)

Even in src2src translating  you need something more than simply
scanning and parsing if you want to do things right
An other example :
CONST  Wrt  := InOut. Write  ....   wich is in reality a  #define  Wrt
Inout.Write ...   if you rewrite 'word for word' you'll have an error
in pascal , so at the very least you have to preprocess (I have place
holders for that, but right now I don't catch this ), some look-up
tables etc.  wich I already have in order to avoid clashes between
idents and reserved words of Pascal, and idents of different cases
(upper/lower/mixed..)  so  the  growing of the project will not be so
im****tant.
So I think the options are
-src2src
- branch after a preprocess, just a bit more elegant as you have not to
recompile but same difficulies after - and you said it's not obvious.
- construct the syntax tree and forward-it  to back-end   OR   pick up
what you can from the back end and do it yourself. and yes :  it's a
long way to go and you'd better have dinner before I'm back :+)
 




 80 Posts in Topic:
A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-12 09:17:40 
Re: A "Via Pascal" Modula 2 Compiler ?
Christoph Schlegel <ch  2007-01-12 19:41:28 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-14 12:31:01 
Re: A "Via Pascal" Modula 2 Compiler ?
Christoph Schlegel <ch  2007-01-14 22:20:08 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-15 08:19:20 
Re: A "Via Pascal" Modula 2 Compiler ?
Gaius Mulley <gaius@[E  2007-01-18 10:42:36 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-13 15:36:28 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-14 12:49:24 
Re: A "Via Pascal" Modula 2 Compiler ?
john o goyo <j.o.goyo@  2007-01-16 10:53:11 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-17 00:24:38 
Re: A "Via Pascal" Modula 2 Compiler ?
john o goyo <j.o.goyo@  2007-01-18 13:30:58 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-13 01:34:49 
Re: A "Via Pascal" Modula 2 Compiler ?
Christoph Schlegel <ch  2007-01-13 11:06:28 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-13 08:20:07 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-13 08:22:08 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-14 13:17:56 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-15 00:33:19 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-15 10:39:14 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-15 04:04:53 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-15 12:26:32 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-15 13:42:55 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-16 13:24:48 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-16 13:51:03 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-17 15:34:03 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-16 13:56:13 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-19 15:36:45 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-19 09:34:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-19 16:03:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-20 10:27:00 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-20 18:38:30 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-20 05:40:19 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-20 12:54:42 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-21 10:24:07 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-21 16:47:22 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-21 10:32:47 
An MC68xxx M2 compiler (was: A "Via Pascal" Modula 2 Compiler ?)
"Chris Burrows"  2007-01-22 20:25:43 
Re: A "Via Pascal" Modula 2 Compiler ?
Gaius Mulley <gaius@[E  2007-01-25 13:35:32 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-25 14:11:28 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-25 15:30:28 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-25 15:53:17 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-26 01:07:32 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-27 13:49:51 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-27 15:20:39 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-27 15:36:10 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-28 13:25:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-28 11:44:36 
Re: A "Via Pascal" Modula 2 Compiler ?
Keith Hopper <asgard@[  2007-01-29 13:21:06 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-26 11:08:27 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-26 13:20:59 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-26 10:13:05 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-21 10:47:03 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-21 16:41:00 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-21 11:48:49 
Re: An MC68xxx M2 compiler (was: A "Via Pascal" Modula 2 Compile
"Tom Breeden" &  2007-01-23 13:26:35 
Re: An MC68xxx M2 compiler
john o goyo <j.o.goyo@  2007-01-25 14:27:46 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-26 08:57:58 
Re: A "Via Pascal" Modula 2 Compiler ?
Gaius Mulley <gaius@[E  2007-01-26 16:37:35 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-28 05:47:05 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-28 16:40:50 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-29 11:28:26 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-29 11:14:49 
Re: A "Via Pascal" Modula 2 Compiler ?
Jim Granville <no.spam  2007-01-29 22:01:37 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-29 09:53:35 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-29 01:55:16 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-29 10:17:55 
DEF / SYM files (was: A "Via Pascal" Modula 2 Compiler ?)
"Chris Burrows"  2007-01-29 22:32:09 
Re: DEF / SYM files (was: A "Via Pascal" Modula 2 Compiler ?)
comp.lang.modula2@[EMAIL   2007-01-29 15:14:38 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-29 10:23:24 
Re: DEF / SYM files (was: A "Via Pascal" Modula 2 Compiler ?)
"JP2R" <jp-d  2007-01-29 12:37:34 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-29 12:50:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-29 17:15:34 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-01 06:45:04 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:55:51 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:56:18 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:56:40 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:59:06 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:59:50 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 23:00:42 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 23:02:56 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 23:03:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 7:40:55 CDT 2008.