Re: Help with ideas.
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
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
10-MAIN.
DISPLAY "HELLO WORLD".
STOP RUN.
ZB
|
Not Categorized, Please Help
|
|