Talk About Network



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: [LogoForum]...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 1566 of 1589
Post > Topic >>

Re: [LogoForum] Logo: Tests for compliance.

by Waldek Hebisch <hebisch@[EMAIL PROTECTED] > Feb 12, 2008 at 09:28 PM

pavel@[EMAIL PROTECTED]
 wrote:
> 
> Waldek Hebisch wrote:
> > If you allow for variations in syntax and diffent spelling is
> > Pop11 a Logo? In Pop11 Clem's example looks like:
> 
> Can Pop11 treat data (e.g. a list) as instructions. Can Pop11 assign a 
> value to a variable which name is computed at run time?
>

Sure.  pop11_compile compiles list to machine code, executes and
gives back result:

: [2 + 2] -> code;
;;; DECLARING VARIABLE code
: pop11_compile(code) =>
** 4
:

valof allows you to access variables with given name:

: "code" -> name;
;;; DECLARING VARIABLE name
: valof(name) =>
** [2 + 2]
: "name" -> valof(name);
: code =>
** name
:
 
> Right now for me it is hard to say whether something is Logo or is not 
> Logo. I expect that Logo is a fuzzy (cloudy) thing, so there might be 
> languages (or better say programming environments) which are 50% 
> Logo-like... or 20% Logo-like.... 

For languages users care if program runs on different implementation,
or how much effort is needed to change program so that it runs.

-- 
                              Waldek Hebisch
hebisch@[EMAIL PROTECTED]





 3 Posts in Topic:
Re: [LogoForum] Logo: Tests for compliance.
"John St. Clair"  2008-02-12 13:18:32 
Re: [LogoForum] Logo: Tests for compliance.
Andreas Micheler <Andr  2008-02-12 16:04:50 
Re: [LogoForum] Logo: Tests for compliance.
Waldek Hebisch <hebisc  2008-02-12 21:28: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 Sat May 17 3:30:18 CDT 2008.