Re: Help with ideas.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thus spake Albert B  on Thu, 14 Oct 1999:
>Thanks for an simple ideas you can give me.
>
>Al

How about an embedded language for Euphoria programs. It has been done once
already and I'm deliberately not looking at that one while I work on one or two
of my own but you could try too ... the possibilities are almost endless:
euFortran, euCOBOL, euLOGO, euBLISS, euBCPL, euML (I'm dragging out various
language names and putting eu in front of them) -- the idea is that something
like the following would be possible:

    global function LoadScript( sequence fileName )
    global function DoScript( sequence script, sequence parameters )
    global function RunScript( sequence fileName ) -- load and runs and forgets
                                                    -- the script

    sequence theFile
    sequence theScript
    sequence theResults

    theFile = "HELLO.EUC" -- for euCOBOL
    theScript = LoadScript( theFile )
    theResults = DoScript( theScript, {} )

The fun then starts with how to implement, for example, COBOL blink

    IDENTIFICATION DIVISION.
    PROGRAM-ID. HELLO.
    ENVIRONMENT DIVISION.
    DATA DIVISION.
    PROCEDURE DIVISION.
    10-MAIN.
        DISPLAY "HELLO WORLD".
        STOP RUN.


ZB

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu