Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Logo > Re: Logo Compil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 1586 of 1596
Post > Topic >>

Re: Logo Compiler?

by bh@[EMAIL PROTECTED] (Brian Harvey) Apr 30, 2008 at 02:18 PM

jftsang <jftsang@[EMAIL PROTECTED]
> writes:
>Having worked with FMSLogo for many years now I have created many
>programs. Unfortunately, the end-users of most of my programs do not
>have a FMSLogo interpreter. Thus, I have been prompted to search the
>possibility of an FMSLogo compiler which produces stand-alone
>executables (even if they are only text-based and in the command
>line).

The restrictions you're likely to encounter are not a lack of graphics,
which
is just as easy to provide in compiled code, but rather a lack of RUN, and
a
restriction of its children IF, REPEAT, etc. to literal instruction lists
in
square brackets.  RUN depends on having the power of the Logo translator
available at runtime.  This would be problematic for control structures
implemented as library procedures, such as MAP, FOREACH, FILTER, etc.;
they
would either disappear or have to be reinvented as actual primitives, with
the
same restrictions as IF, etc.

Basically, for the full power of Logo, you need a Logo interpreter
included in
the compiled code.  So it's just as easy to solve your problem by
providing a
Logo interpreter to your users.  (Compilers are still worthwhile to speed
up
the majority of Logo code that doesn't depend on the interpreter to work.)
 




 2 Posts in Topic:
Logo Compiler?
jftsang <jftsang@[EMAI  2008-04-30 05:25:30 
Re: Logo Compiler?
bh@[EMAIL PROTECTED] (Br  2008-04-30 14:18:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:53:53 CDT 2008.