[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

189.0. "GFA2C experimental" by ZUR01::KRAUS (Rush that never ended....) Tue Aug 09 1988 07:27

Soon I'll have a GFA-Basic-to-C converter running. Is there somebody
    out there that could use this ? Currently it supports for/next 
    while/wend if/else/endif procedure/return conversion. It gives 
    a x-reference table for each global variable and some other statistics.
    Another Question ? Does somebody use LASER C and its debugger ?
    Jan
T.RTitleUserPersonal
Name
DateLines
189.1.BAS to C?MILRAT::WALLACETue Aug 09 1988 15:376
    The GFA .BAS files I've seen are unreadable with a standard text
    editor, presumably you GFA in order to read (look at) the programs.
    Will your program translate those (non standard text) .BAS files to
    C code? If so it could be usefull.
    
    	Ray
189.2ASCII only (*.lst)GLTLAB::KRAUSIt's high time to buy silver...Wed Aug 10 1988 08:005
    You can generate *.lst files using SAVE,A option. The converter
    accepts ASCII (readable) src files. There are 2 configuration files
    one to control global substitute and the other for reserved words.
    You have to setup GFA to have reserved words in capitals. E.G PROCEDURE
    /RETURN. I have still make some final tests.  
189.3Count me in.BRSDVP::GEBOERSGrin and ignore it.Wed Aug 10 1988 11:0419
>    Soon I'll have a GFA-Basic-to-C converter running. Is there somebody
>    out there that could use this ? Currently it supports for/next

    This would intrest me a lot. It would allow me to use GFA basic for fast
    "PROTOTYPING" and convert it later to a C-program without retyping the
    whole stuff.
     
>    while/wend if/else/endif procedure/return conversion. It gives 
>    a x-reference table for each global variable and some other statistics.
>    Another Question ? Does somebody use LASER C and its debugger ?

    I use MWC V3.0, but I guess that the conversion wouldn't be to difficult
    to adapt for them both. If you need a hand in making it MWC compatible,
    just call me.

    Great job,

    Cor
189.4Terrific!UTROP1::JONG_MARCWed Aug 10 1988 13:436
    
    re .0 
    
    Yeah, great idea! Could you tell us roughly when?
    
    Marc
189.5RSNZUR01::KRAUSRush that never ended....Thu Aug 11 1988 08:056
    Real Soon Now : I see there is lot of interest so I put the version
    I have now this evening (+/-) to VIRGIN::[KRAUS.PUBLIC]. The tool
    is specially usefull if you put all non-portable stuff into port*
    procedures. eg PRINT x$ --> gosub port_print1(x$) 
                   DEFFIL   --> GOSUB port_define_fill(x,y,z..) and
    so on.
189.6ZUR01::USER4:[KRAUS.PUBLIC]SKYWAY::KRAUSWe used to buy silver...Thu Aug 11 1988 08:111
    It is VIRGIN(==ZUR01)::USER4:[KRAUS.PUBLIC] DIRECTORY.
189.7New VersionZUR01::KRAUSRush that never ended....Sat Aug 13 1988 08:254
    New version 1.1 was added to the directory, it does the statistics
    more properly. GFA211.ARC includes some 2 other C-files to
    store/restore Screen regions ( BITBLT copy).