1. Peu 0.12.0

I've posted the latest version of Peu to my web site also... the latest
development release adds the ability to bind Euphoria programs into an
executable.  It takes a different approach than RDS Euphoria however.
The Peu parser will generate a C program as it reads the Euphoria source,
then compiles it with the appropriate compiler (either GCC or LCC,) then
links it with special bound versions of the Peu object files.  The result
is a standalone compiled Euphoria executable program.  I think this is
similar to the way the Python language compiles its programs.

Unfortately Peu is still missing some important functionality... most
sequence operations, file & screen i/o, subscripted assignments, for
loops, are all still not supported.  I really ought to get back to work on
those things, now that I have the seemingly 'harder' stuff done.

I'll probably be adding a PEUDIR environment variable later on... the
"-bind" option will only work now when you're in the peu/ directory.
Include files are also currently accepted only by full pathname or in the
current directory.

Oh, and if you've never heard of Peu, it is a Portable Euphoria
interpreter being developed independently of RDS.  It is being distributed
as open source, written in C, so it should be portable to most operating
systems.  Currently you must compile it before you can use it.  Makefiles
are included for the GCC/DJGPP and LCC compilers.

Later,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » topic index » view message » categorize

2. Re: Peu 0.12.0

Pete Eberlein wrote:
>
> I've posted the latest version of Peu to my web site also... the latest
> development release adds the ability to bind Euphoria programs into an
> executable.  It takes a different approach than RDS Euphoria however.
> The Peu parser will generate a C program as it reads the Euphoria source,
> then compiles it with the appropriate compiler (either GCC or LCC,) then
> links it with special bound versions of the Peu object files.  The result
> is a standalone compiled Euphoria executable program.  I think this is
> similar to the way the Python language compiles its programs.

Just reporting that compiled and "bounded" fine with SuSE 6.0 distro.
Great -bind option! In fact it's not anymore a bind. This is how those
"historical reasons" begin.

I'm just starting with *nix development. I found a utility called
'strip' that removes superfluos data from the binary executable... test
when from 44K downto 16K, and peu from 96K to 58K. I think I'll start
contributing with FPK, I know far more Pascal than C. Are Linux object
files binary compatible (for linkage)?


[offtopic: I visited Apple's website today and found they have an
OpenSource OS avaliable! It's called Darwin. Someone knows something
about it?]

--

Regards,
    Daniel  Berstein
    [daber at pair.com]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu