Re: If APL Is So Wonderful, How Come APL Programmers Aren't Rich



Ted,
You can always give www.APL2C.com a shot.
Here's a sizeable application written in APL2 (a few hundred functions) and
compiled to a single EXE:
http://paulhoule.com/ws

You do need a single language support DLL -- that DLL UPX's down to just
under 200k.
It would be shared among as many APL .EXE's as you create.

Though generic C is produced that I believe would port directly, there is
the problem of the support library (a DLL in currently). As far as I know
that library is available only for Win32.

Dr. Tilman Otto created APL2C. Unfortunately it does not seem to be
undergoing further development.
....Paul Houle


"Robert Bernecky" <bernecky@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:pan.2005.07.17.22.53.07.523468@xxxxxxxxxxxxxxxxxxxxxxxxxx
> On Sun, 17 Jul 2005 18:26:26 +0000, Ted Edwards wrote:
>
>> Robert Bernecky wrote:
>>> Bob-who-is-getting-APEX-ready-to-release-under-GPL
>>
>> Will APEX allow me to take a set of APL2 functions and produce an .EXE
>> that I can give to someone? To what extent will it be cross platform.
>>
>> Ted-in-an-almost-M$-free-zone :-)
>
> Hi, Ted,
>
> 1. APEX, at present, does not handle nested arrays (and many
> other things). The dataflow analysis is fairly messy, although
> I have a few back-burner ideas on how to approach it. If I
> do introduce nested array support, it'll be for SHARP APL/J-style
> nesting, because I have not seen many applications where heterogeneous
> arrays are needed (as opposed to appearing by accident), and
> the issues of run-time dispatch are ugly.
>
> 2. Since I'm releasing APEX under the GPL, if you don't like what's
> there, you're welcome to adapt it to your needs. Or fund me to do
> it, since I'm self-unemployed again. 8^}
>
> 3. EXE files? You mean Windows, eh? Breaks my heart. It's going to
> run under Linux. If you want to port it (and the SAC compiler) to
> Windows, see item 2.
>
> 3. Cross-platform: Depends on what you mean. Input format is
> Weigang interchange standard ascii files, so workspace format
> is not relevant. Compiler runs under APL+Win today, but I've
> tried (hard, when nobody's paying for portability) to keep
> things generic. Once you get the C code generated, it should
> be no harder than porting other C apps.
>
> So, back to item 3: Yes, it should be possible to generate a
> binary file(EXE) for an arbitrary host. Presumably, much easier
> after the first one works.
>
> Bob
>


.



Relevant Pages

  • Re: Building EXE Twice Produces Different Files
    ... It think the status bar control pulls in the latest ... project type an Active EXE or Standard EXE under the properties? ... the C2 compiler, but it ends up in the finished executable. ...
    (microsoft.public.vb.general.discussion)
  • Re: How to locate compiled binary code relative to source code?
    ... > I need to be able to identify in the compiled EXE a specific location ... Your best bet is assembly language. ... Have you tried having the compiler print out the assembly language ... C++ Faq: http://www.parashift.com/c++-faq-lite C Faq: http://www.eskimo.com/~scs/c-faq/top.html alt.comp.lang.learn.c-c++ faq: ...
    (comp.programming)
  • Re: VS2005, x86/x64 build questions
    ... I created a solution with Win32 and x64 platforms and an empty C++ console ... the only changes to the compiler flags are ... there's base addr differences between those built on the XP x86 box and ... The exe is for Itanium. ...
    (microsoft.public.vc.language)
  • Re: convert VB script code to vb (cheap & dirty)
    ... an exe, there are other "cheap-and-dirty" ways to do it. ... of the compiler, the runtime, your script and a little ... the compiler, the runtime and your source code into temporary ... running your vbs with wscript). ...
    (microsoft.public.scripting.vbscript)
  • Changing the .exe icon compiled stand alone applications
    ... I had a problem with changing the icon of .exe file ... generated by MCC when building a standalone application. ... is launched by MCC to configure compiler. ...
    (comp.soft-sys.matlab)