[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Logo syntax for Lisp? (was Re: LOGO As A Script Language)




 > From: http://www.fisher.psych.uh.edu/~jason (Jason L. Asbahr)
 > Date: Thu  Oct 10,  6:45pm
 >
 > Hi!
 > 
 > > I'm developing a Java application which needs a scripting language, so
 > > the users can do things like macros and customize my app's behaviour. 
 > > The Tcl/Tk scripting language is very popular and there are numerous
 > > implementations on which I could base a Java port.  Tcl/Tk does
 > > everything I need (control dialog boxes, However, I'm not excited about
 > > the syntax.  
 > 
 > I know what you mean.  :-)  I am looking for a good scripting
 > language with a decent syntax that would be easy for kids to pick up
 > and start using, as well as being powerful enough for "real world"
 > scripting tasks.  Scheme/LISP fits the second requirement, but I
 > am less sure about it fitting the first.

It seems to me that if there were some way to stick Logo syntax onto Scheme,
then you could have a script language in the form of SCSH, the Scheme shell
based on SCM.  I recall that release 3 of Guile, GNU's Scheme project, had a
module called "ctax" which enabled one to write scheme code in a C-like syntax.
If this module could be heavily modified, then perhaps it could instead accept
Logo syntax.  The problems I suspect would be (1) unlike C, Logo needs to know
how many inputs each procedure takes (I suspect that this ctax module probably
does not need to know that because C doesn't know that either (for the most
part)), and (2) the interface would be very funky because of the fact that
Scheme has the ability to construct complex macros, whereas Logo is fairly
simple in comparison (for example, the "if" command may end up looking a little
strange because Scheme's (RSR4, I suppose) "if" is very different than Logo's).

 > Thanks!
 > 
 > --
 > Jason Asbahr                    808 Sul Ross  Suite 7
 > Reactive Systems                Houston, Texas  77006
 > http://www.reactive.com/~jason              (713) 942-7937  voice





Why do you want this page removed?