name=Leda nameURL=http%3A%2F%2Fwww.cs.orst.edu%2F%7Ebudd%2Fleda.html see= logo= type=O%20-%20Object-oriented desc=Leda%20is%20a%20modest-sized%20programming%20language%0D%0Adesigned%20to%20support%20several%20programming%0D%0Aapproaches.%20%20The%20current%20Leda%20implementations%0D%0Aare%20interpreters%2C%20but%20the%20language%20can%20be%0D%0Acompiled.%20%20Leda%20was%20intended%20mostly%20as%20a%0D%0Ateaching%20and%20research%20tool%2C%20although%20it%0D%0Acan%20be%20used%20for%20general%20application%20development.%0D%0A%3Cbr%3E%0D%0AMultiparadigm%20programming%20is%20the%20reason%0D%0Afor%20Leda%27s%20existence%3B%20the%20language%20supports%0D%0Afour%20programming%20mindsets%3A%0D%0A%3Col%3E%0D%0A%3Cli%3EImperative%20%28structured%29%20-%20the%20programmer%20can%20set%20up%20%0D%0Asubroutines%2C%20use%20strong%20type%20checking%2C%20and%0D%0Ainformation%20hiding.%0D%0A%3Cli%3EObject-oriented%20-%20abstract%20data%20types%2C%0D%0Aclasses%2C%20and%20single%0D%0Ainheritance%20are%20supported.%0D%0A%3Cli%3EFunctional%20-%20functions%20are%20first-class%0D%0Avalues%2C%20and%20Leda%20can%20do%20currying%20and%20other%0D%0Afunctional%20operations%0D%0A%3Cli%3ELogical%20-%20Definition%20of%20logical%20rules%0D%0Ais%20supported%2C%20with%20conventional%20backtracking%20%0D%0Agoal%20search.%0D%0A%3C%2Fol%3E%0D%0A%3Cbr%3E%0D%0AA%20fairly%20small%20language%2C%20Leda%20supports%20a%20%0D%0Amodest%20but%20eclectic%20%0D%0Aset%20of%20primitive%20data%20types%3A%20integers%2C%0D%0Astrings%2C%20reals%2C%20functions%2C%20and%0D%0Arelations%20%28rules%29.%20%20Arrays%20are%20also%0D%0Aavailable%2C%20and%20other%20aggregate%0D%0Adata%20types%20are%20provided%20by%20a%20standard%0D%0Alibrary.%0D%0ALeda%20supports%20the%20usual%20sequential%0D%0Acontrol%20structures%2C%20and%20more%20novel%0D%0Astructures%20can%20be%20built%20up%20using%20the%0D%0Afunctional%20and%20logical%20portions%20of%20the%0D%0Alanguage.%20%20Strangely%2C%20Leda%20does%20not%20%0D%0Apossess%20any%20non-local%0D%0Aexception%20or%20error%20handling%20facility.%0D%0A%3Cbr%3E%0D%0ALeda%27s%20I%2FO%20facilities%20are%20rudimentary%2C%0D%0Aalthough%20the%20language%20provides%20an%20escape%0D%0Amechanism%20out%20to%20system%20libraries%20that%0D%0Acould%20be%20used%20to%20take%20advantage%20of%20more%0D%0Asophisticated%20I%2FO%20facilities%20on%20many%0D%0Aoperating%20systems.%0D%0A%3Cbr%3E%0D%0AAn%20implementation%20of%20Leda%20is%20available%20free%0D%0Afor%20Unix%20and%20Windows%2095%2FNT.%20%20Pretty%20good%0D%0Ainformation%0D%0Aabout%20the%20language%20is%20available%20on%20the%20web%0D%0Aas%20scholarly%20papers%20and%20chapters%20from%20a%0D%0Aprogramming%20textbook. origin=T.A.%20Budd%2C%20Oregon%20State%20University%2C%201988. seealso=C%2B%2B%2C%20Pascal%2C%20Self%2C%20ML%2C%20Prolog%2C%20Scheme%2C%20Mathematica remark=According%20to%20the%20introductory%20chapter%20of%20the%0D%0ALeda%20text%2C%20the%20language%20is%20meant%20to%20allow%0D%0Aa%20programmer%20to%20employ%20multiple%20ways%20of%0D%0Aapproaching%20a%20problem.%20%20Some%20computational%0D%0Atasks%20are%20more%20naturally%20expressed%20in%0D%0Acertain%20ways%2C%20and%20choice%20of%20language%20tends%0D%0Ato%20drive%20a%20programmer%20toward%20using%20the%0D%0Aparadigm%20best%20supported%20by%20that%20language.%0D%0ALeda%2C%20and%20a%20scant%20handful%20of%20other%20languages%2C%0D%0Amake%20a%20broader%20range%20of%20choices%20available%20to%0D%0Athe%20user.%0D%0A%3Cbr%3E%0D%0AIn%20its%20current%20form%2C%20Leda%20does%20not%20seem%20quite%0D%0Asuited%20to%20mainstream%20application%20development%2C%0D%0Abut%20it%20presents%20very%20interesting%20ideas.%20%20%0D%0A%3Cbr%3E%0D%0AThe%20current%20Leda%20implementation%20is%20written%20in%0D%0AC. links1=An%20information%20page%20about%20Leda%3Dhttp%3A%2F%2Fwww.cs.fit.edu%2F%7Edclay%2Fcse5040%2Fleda.html links2=Portions%20of%20a%20programming%20book%20about%20Leda%3Dhttp%3A%2F%2Fwww.cs.orst.edu%2F%7Ebudd%2Fvita%2Fledatoc.html links3= links4= links5= date=Last%20updated%203%2F1%2F98 sample=%3Cpre%3E%0D%0A%7B%20Table%20data%20structure%2C%20adapted%20from%20an%20example%0D%0A%20%20in%20%22Multiparadigm%20Data%20Structures%20in%20Leda%22%0D%0A%20%20by%20Tim%20Budd%2C%201993%0D%0A%0D%0A%20%20Assumes%20the%20list%20data%20structure%20is%20already%20defined.%20%7D%0D%0A%0D%0Aclass%20Association%20%5BX%2C%20Y%20%3A%20equality%5D%20of%20equality%5BAssociation%5D%3B%0D%0Avar%0D%0A%09key%20%3A%20X%3B%0D%0A%09value%20%3A%20Y%3B%0D%0A%09function%20equals%28argValue%20%3A%20Association%5BX%2C%20Y%5D%29-%26gt%3Bboolean%3B%0D%0A%09begin%0D%0A%09%09return%20key%20%3D%20argValue.key%3B%0D%0A%09end%3B%0D%0Aend%3B%0D%0A%0D%0Aclass%20Table%20%5BX%2C%20Y%20%3A%20equality%5D%20%7B%20of%20equality%5BAssociation%5D%20%7D%3B%0D%0Avar%0D%0A%09data%20%3A%20List%5BAssociation%5BX%2C%20Y%5D%5D%3B%0D%0A%0D%0A%09function%20add%20%28newKey%20%3A%20X%2C%20newValue%20%3A%20Y%29%3B%0D%0A%09begin%0D%0A%09%09if%20%7E%20defined%28data%29%20then%0D%0A%09%09%09data%20%3A%3D%20List%5BAssociation%5BX%2C%20Y%5D%5D%28%29%3B%0D%0A%09%09data.add%28Association%5BX%2C%20Y%5D%28newKey%2C%20newValue%29%29%3B%0D%0A%09end%3B%0D%0A%0D%0A%09function%20onEach%20%28theFun%20%3A%20function%28X%2C%20Y%29%29%3B%0D%0A%09begin%0D%0A%09%09if%20defined%28data%29%20then%0D%0A%09%09%09data.onEach%28function%20%28item%20%3A%20Association%5BX%2C%20Y%5D%29%3B%0D%0A%09%09%09%09begin%0D%0A%09%09%09%09%09theFun%28item.key%2C%20item.value%29%3B%0D%0A%09%09%09%09end%29%3B%0D%0A%09end%3B%0D%0A%0D%0A%09function%20items%20%28byRef%20key%20%3A%20X%2C%20byRef%20value%20%3A%20Y%29-%26gt%3Brelation%3B%0D%0A%09var%0D%0A%09%09element%20%3A%20Association%5BX%2C%20Y%5D%3B%0D%0A%09begin%0D%0A%09%09return%20defined%28data%29%20%0D%0A%09%09%09%26%20data.items%28element%29%0D%0A%09%09%09%26%20unify%5BX%5D%28key%2C%20element.key%29%0D%0A%09%09%09%26%20unify%5BY%5D%28value%2C%20element.value%29%3B%0D%0A%09end%3B%0D%0A%0D%0A%09function%20includesKey%20%28key%20%3A%20X%29-%26gt%3Bboolean%3B%0D%0A%09var%0D%0A%09%09value%20%3A%20Y%3B%0D%0A%09begin%0D%0A%09%09if%20items%28key%2C%20value%29%20then%0D%0A%09%09%09return%20true%3B%0D%0A%09%09return%20false%3B%0D%0A%09end%3B%0D%0A%0D%0A%09function%20at%20%28key%20%3A%20X%29-%26gt%3BY%3B%0D%0A%09var%0D%0A%09%09value%20%3A%20Y%3B%0D%0A%09begin%0D%0A%09%09if%20items%28key%2C%20value%29%20then%0D%0A%09%09%09return%20value%3B%0D%0A%09%09return%20NIL%3B%0D%0A%09end%3B%0D%0A%0D%0A%09function%20atPut%20%28key%20%3A%20X%2C%20value%20%3A%20Y%29%3B%0D%0A%09var%0D%0A%09%09element%20%3A%20Association%5BX%2C%20Y%5D%3B%0D%0A%09begin%0D%0A%09%09if%20defined%28data%29%20%26%20data.items%28element%29%20%26%20element.key%20%3D%20key%20then%0D%0A%09%09%09element.value%20%3A%3D%20value%0D%0A%09%09else%0D%0A%09%09%09add%28key%2C%20value%29%3B%0D%0A%09end%3B%0D%0Aend%3B%0D%0A%3C%2Fpre%3E _store=1 _add=Leda _usertab=1 _usersearch=0 _format=full = name=LIFE nameURL= see= logo= type=L%20-%20Rule-based%20or%20logical desc=LIFE%20is%20an%20interpreted%20logic%20programming%0D%0Alanguage%2C%20related%20to%20Prolog%2C%20with%20features%0D%0Afor%20functional%20and%20object-oriented%20programming.%0D%0AIntended%20mainly%20as%20a%20research%20vehicle%2C%20LIFE%0D%0Aintegrates%20inheritance%2C%20functional%2C%0D%0Aand%20constraint%20rule%20programming%0D%0Astyles%20into%20a%20logic%20programming%20framework.%0D%0A%3Cbr%3E%0D%0AThe%20syntax%20of%20LIFE%20is%20similar%20to%20that%20of%0D%0AProlog%2C%20and%20its%20logic%20semantics%20are%20also%0D%0Arelated%20to%20Prolog.%20%20Prolog%20uses%0D%0Aindexed%20Herbrand%20terms%20as%20its%20primary%0D%0Adata%20element%2C%20but%20LIFE%20uses%20extensible%0D%0Apsi-terms.%20%20Primitive%20data%20%0D%0Atypes%20supported%20by%0D%0ALIFE%20include%20booleans%2C%0D%0Aintegers%2C%20floats%2C%20symbols%2C%0D%0Astrings%2C%20and%20sorts%20%28a%20sort%20is%20a%20kind%20of%0D%0Atype%20descriptor%29.%20%20In%20addition%20to%20%0D%0Apsi-terms%2C%20LIFE%20supports%20lists%20with%0D%0Athe%20same%20syntax%20as%20Prolog.%0D%0AAs%20a%20functional%20language%2C%20LIFE%20supports%0D%0Ahigher-order%20functions%2C%20currying%2C%20and%20%0D%0Asimilar%20operations.%20%20It%20does%20not%20support%0D%0Alazy%20evaluation.%0D%0A%3Cbr%3E%0D%0AAn%20implementation%20of%20the%20LIFE%20language%20is%0D%0Aavailable%20for%20free%20download%2C%20it%20is%20written%0D%0Ain%20C%20and%20works%20on%20Unix%0D%0Asystems.%20%20A%20programmer%27s%20manual%20and%20various%0D%0Ascholarly%20papers%20are%20also%20available. origin=Hassan%20Ait-Kaci%2C%20MCC%20Texas%2C%201993. seealso=Prolog%2C%20Leda%2C%20ML%2C%20Hope remark=The%20name%20LIFE%20is%20an%20acronym%20for%0D%0ALogic%2C%20Inheritance%2C%20Functions%2C%20and%20Equations.%0D%0A%3Cbr%3E%0D%0AOne%20of%20the%20most%20novel%20aspects%20of%20LIFE%2C%20as%20%0D%0Aa%20logic%20programming%20language%2C%20is%20its%20notion%0D%0Aof%20%3Ci%3Esorts%3C%2Fi%3E.%20%20Sorts%20are%20like%20types%2C%20and%0D%0Alike%20the%20types%20in%20most%20object-oriented%20%0D%0Alanguages%2C%20have%20inheritance%20relationships.%0D%0A%3Cbr%3E%0D%0ASeveral%20different%20institutions%20have%20hosted%0D%0ALIFE%20development%3A%20MCC%20in%20Texas%2C%20DEC%27s%0D%0AParis%20Research%20Lab%2C%20and%20most%20recently%0D%0ASimon%20Frasier%20U%20in%20Canada.%20%20 links1=LIFE%20page%20at%20Simon%20Frasier%20University%3Dhttp%3A%2F%2Fwww.isg.sfu.ca%2Flife%2F links2= links3= links4= links5= date=Last%20updated%203%2F17%2F98 sample=An%20example%20of%20the%20Sieve%20of%20Erastosthenes%20on%0D%0ALIFE%2C%20from%20the%20%3Ci%3EWild%20LIFE%20Handbook%3C%2Fi%3E.%0D%0A%3Cpre%3E%0D%0Aglobal%28sieve%29%3F%20%0D%0Aglobal%28limit%29%3F%20%0D%0Amain%20%3A-%20%0D%0A%20%20%20%20write%28%22N%3D%3F%22%29%2C%20read_token%28limit%20%26amp%3B%20int%29%2C%20%0D%0A%20%20%20%20next_prime%282%29%2C%20nl.%20%0D%0A%0D%0Aremove_multiples%28P%2CM%29%20%3A-%20%0D%0A%20%20%20%20cond%28M%20%26lt%3B%20limit%2C%20%0D%0A%20%20%20%20%20%20%20%20%20%28sieve.M%20%26lt%3B-multiple_of%28P%29%2Cremove_multiples%28P%2CM%2BP%29%29%0D%0A%20%20%20%20%29.%20%0D%0A%0D%0Anext_prime%28P%29%20%3A-%20P%20%26lt%3B%20limit%2C%20%21%2C%20SP%3Dsieve.P%2C%20%0D%0A%20%20%20%20%28%20SP%3Dprime%28P%29%2C%20%0D%0A%20%20%20%20%20%20%21%2C%20%0D%0A%20%20%20%20%20%20write%28P%2C%27%20%27%29%2C%20%0D%0A%20%20%20%20%20%20remove_multiples%28P%2C2%2AP%29%20%0D%0A%20%20%20%20%20%3B%20%0D%0A%20%20%20%20%20%20succeed%0D%0A%20%20%20%20%29%2C%20%0D%0A%20%20%20%20next_prime%28P%2B1%29.%20%0D%0A%0D%0Anext_prime%28P%29.%20%0D%0A%3C%2Fpre%3E _store=1 _add=Life _usertab=1 _usersearch=0 _format=full = name=Limbo nameURL=http%3A%2F%2Finferno.lucent.com%2Finferno%2F see= logo= type=S%20-%20block-structured desc=Limbo%20is%20a%20block-structured%2C%20procedural%0D%0Alanguage%20intended%20for%20application%20and%0D%0Aembedded%20system%20development.%20%20It%20is%0D%0Athe%20main%20programming%20language%20of%20the%20Lucent%0D%0A%3Ci%3EInferno%3C%2Fi%3E%20operating%20system.%0D%0A%3Cbr%3E%0D%0AThe%20distinguishing%20characteristics%20of%0D%0ALimbo%20are%20its%20simplicity%2C%20its%20support%0D%0Afor%20modularity%2C%20and%20its%20support%0D%0Afor%20multi-threaded%20and%20distributed%0D%0Aprocessing.%0D%0A%3Cbr%3E%0D%0ALimbo%20is%20strongly%20typed%2C%20all%20variable%0D%0Aand%20function%20types%20are%20explicitly%20declared%2C%0D%0Aand%20type%20checking%20is%20performed%20at%20compile-time%0D%0Aand%20module%20load-time.%20%20Primitive%20data%0D%0Atypes%20in%20the%20language%20are%20ints%20%283%20sizes%29%2C%0D%0Areals%2C%20and%20strings%20%28using%20Unicode%29.%20%20%0D%0ALimbo%20also%20supports%0D%0Alists%2C%20arrays%2C%20tuples%2C%20channels%2C%20and%20%0D%0Adefinition%20of%20abstract%20data%20types.%0D%0AA%20Limbo%20program%20is%20comprised%20of%20%0D%0Aseparate%20modules%2C%20the%20interface%20and%0D%0Aimplementation%20of%20a%20module%20are%20separate%0D%0Aand%20one%20interface%20can%20have%20several%0D%0Aimplementations.%0D%0A%28Inheritance%20is%20not%20supported%2C%20though%2C%20so%0D%0ALimbo%20cannot%20be%20considered%20and%0D%0Aobject-oriented%20programming%20language.%29%0D%0A%3Cbr%3E%0D%0AThe%20current%20Limbo%20compiler%20produces%20%0D%0Abyte-codes%20that%20are%20either%0D%0Ainterpreted%20directly%20or%20transformed%20into%0D%0Anative%20code%20on-the-fly%20by%20the%20Limbo%0D%0Arun-time%20engine.%20The%20Limbo%20run-time%20system%0D%0Aprovides%20all%20channel%20and%20process%20management%2C%0D%0Aas%20well%20as%20memory%20management%20and%0D%0Agarbage%20collection.%0D%0AI%2FO%20and%20system%20interface%20facilities%20are%0D%0Aprovided%20by%20a%20set%20of%20standard%20%27library%27%0D%0Amodules.%0D%0A%3Cbr%3E%0D%0ALimbo%27s%20run-time%20environment%0D%0Ahas%20been%20ported%20to%20various%20Unix%0D%0Aeditions%2C%20Windows%2C%20Plan9%2C%20and%20other%0D%0Aoperating%20systems%2C%20as%20well%20as%20directly%20onto%0D%0Avarious%20CPU%20architectures.%0D%0AThe%20Inferno%20system%20is%20available%20free%20from%0D%0ALucent%2C%20but%20requires%20registration. origin=Doward%2C%20Winterbottom%2C%20and%20Pike%2C%20Lucent%20Technologies%2C%201996. seealso=Pascal%2C%20C%2C%20Modula-2%2C%20Java%2C%20Alef%2C%20CSP%2C%20Tcl remark=Limbo%20includes%20inter-process%20communication%0D%0Achannels%20as%20primitive%20language%20type.%20%20These%0D%0Achannels%20can%20be%20used%20to%20send%20any%20data%20%0D%0Aobject%20between%20Limbo%20processes%20on%20the%20same%0D%0Amachine%20or%20across%20a%20network.%20%20The%20Inferno%0D%0Asystem%20includes%20full%20cryptographic%20%0D%0Asecurity%20for%20the%0D%0Acommunication%20link.%0D%0A%3Cbr%3E%0D%0ALimbo%20is%20intended%20to%20be%20the%20language%20for%20all%0D%0Aapplications%20under%20Inferno.%20%20Therefore%2C%0D%0Ait%20must%20have%20a%20GUI%20system%3B%20the%20current%0D%0AGUI%20system%20for%20Limbo%20is%20a%20version%20of%20Tk.%0D%0A%3Cbr%3E%0D%0ALimbo%20is%20occasionally%20referred%20to%20as%20%0D%0A%22Network%20C%2C%22%20even%20though%20it%20really%20%0D%0Aresembles%20several%20other%20languages%20as%20closely%0D%0Aas%20it%20resembles%20C. links1=Inferno%20Limbo%20Tutorial%3Dhttp%3A%2F%2Fwww.resc.rdg.ac.uk%2Ftwiki%2Fbin%2Fview%2FResc%2FInfernoTutorial links2=A%20comparison%20of%20Limbo%20and%20Java%3Dhttp%3A%2F%2Fagni.csa.iisc.ernet.in%2FOperatingSystems%2FInferno%2Finfernojava%2Finfernojava.html links3=Main%20Inferno%20web%20site%3Dhttp%3A%2F%2Fwww.vitanuova.com%2F links4= links5= date=Last%20updated%208%2F5%2F08 sample=%3Cpre%3E%0D%0A%23%20A%20simple%20program%20to%20sum%20up%20some%20numbers%0D%0A%23%20presented%20on%20the%20command%20line%2C%20from%20%0D%0A%23%20Bob%20Pike%27s%20forthcoming%20book%20on%20Limbo.%0D%0A%20%20%20%20%20%20%20%20implement%20Sum%3B%0D%0A%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20include%20%22sys.m%22%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sys%3A%20Sys%3B%20%20%0D%0A%20%20%20%20%20%20%20%20include%20%22draw.m%22%3B%0D%0A%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20Sum%3A%20module%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20init%3A%20fn%28context%3A%20ref%20Draw-%3EContext%2C%20argl%3A%20list%20of%20string%29%3B%0D%0A%20%20%20%20%20%20%20%20%7D%3B%0D%0A%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20init%28context%3A%20ref%20Draw-%3EContext%2C%20argl%3A%20list%20of%20string%29%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sys%20%3D%20load%20Sys%20Sys-%3EPATH%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20argl%20%3D%20tl%20argl%3B%20%23%20ignore%20command%20name%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%28len%20argl%20%3D%3D%200%29%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sys-%3Eprint%28%22usage%3A%20sum%20numbers....%5Cn%22%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sum%20%3A%3D%200.0%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20while%28argl%20%21%3D%20nil%29%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20arg%20%3A%3D%20hd%20argl%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sys-%3Eprint%28%22%25s%22%2C%20arg%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sum%20%2B%3D%20real%20arg%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20argl%20%3D%20tl%20argl%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%28argl%20%21%3D%20nil%29%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sys-%3Eprint%28%22%20%2B%20%22%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20sys-%3Eprint%28%22%20%3D%20%25g%5Cn%22%2C%20sum%29%3B%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%3C%2Fpre%3E _store=1 _add=Linda _usertab=1 _usersearch=0 _format=full = name=Lingo nameURL= see= logo= type=A%20-%20Application%2FMacro desc=Lingo%20is%20the%20application%20scripting%20and%0D%0Aextension%20language%20used%20in%20Macromedia%0D%0AInc.%20authoring%20and%20presentation%20products.%0D%0AIt%20is%20a%20procedural%2C%20event-driven%20language%0D%0Awith%20English-like%20syntax%20and%20some%20%0D%0Aobject-oriented%20programming%20features.%0D%0A%3Cbr%3E%0D%0ALingo%20supports%20a%20small%20set%20of%20data%20types%20%0D%0Aprimitive%20data%20types%3A%20numbers%2C%20strings%2C%0D%0Aand%20lists.%20%20Lingo%20also%20support%20objects%3B%0D%0Athe%20language%20is%20defined%20with%20a%20large%20%0D%0Aset%20of%20pre-defined%20object%20classes%20that%0D%0Apertain%20to%20the%20language%27s%20application%20domains%3A%0D%0Amultimedia%2C%20animation%2C%20and%20user%20interaction.%0D%0ALingo%20also%20supports%20definition%20of%20new%0D%0Aobject%20classes%2C%20a%20kind%20of%20simple%0D%0Apolymorphism%2C%20and%20a%20form%20of%20delegation.%0D%0ALingo%20does%20not%20support%20persistence%20or%0D%0Amultiple%20inheritance.%0D%0A%3Cbr%3E%0D%0AIn%20Lingo%2C%20objects%20store%20all%20of%20their%20data%0D%0Aon%20property%20lists%2C%20and%20also%20can%20act%20on%0D%0Acertain%20kinds%20of%20events%20%28such%20as%20mouse%20clicks%29.%0D%0A%3Cbr%3E%0D%0AThe%20only%20implementation%20of%20Lingo%20is%20the%0D%0Acommercial%20one%20supplied%20by%20Macromedia%20with%0D%0Aits%20Director%20product%20and%20related%20products.%0D%0ADocumentation%20from%20the%20vendor%20is%20modest%2C%0D%0Abut%20several%20good%20books%20about%20the%20language%0D%0Aand%20its%20use%20in%20the%20Director%20environment%20are%0D%0Aavailable.%20%20General%20information%20about%0D%0ALingo%20on%20the%20WWW%20is%20not%20%20widely%20available%2C%0D%0Abut%20some%20does%20exist.%20%20 origin=Macromedia%20Inc%20%28formerly%20Macromind%3F%29%2C%201991-96. seealso=HyperTalk%2C%20AppleScript%2C%20VBA remark=Programming%20in%20Lingo%20can%20be%20a%20little%20%0D%0Acomplicated%2C%20because%20most%20of%20the%20code%20you%0D%0Awrite%20it%20intended%20to%20be%20activated%20dynamically%0D%0Aby%20timers%2C%20events%20in%20the%20movie%20score%2C%20or%0D%0Auser%20actions.%0D%0A%3Cbr%3E%0D%0AAn%20extension%20to%20the%20multimedia%20environment%0D%0Athat%20can%20be%20controlled%20from%20Lingo%20is%20called%0D%0Aan%20Xtra.%20%20Lots%20of%20free%20and%20commercial%20Xtras%0D%0Aexist. links1=Director%20FAQ%3Dhttp%3A%2F%2Fwww.mcli.dist.maricopa.edu%2Fdirector%2Ffaq%2Findex.html links2=Lingo%20User%27s%20Journal%3Dhttp%3A%2F%2Fwww.penworks.com%2FLUJ%2F links3= links4= links5= date=Last%20updated%2012%2F16%2F97 sample= _store=1 _add=Lingo _usertab=1 _usersearch=0 _format=full = name=Lisp nameURL=http%3A%2F%2Fwww.stat.ucla.edu%2Fdevelop%2Flisp%2F see= logo=66x66%3Dhttp%3A%2F%2Fwww.cs.cmu.edu%2FGroups%2FAI%2Fhtml%2Fcltl%2Fclm%2Fgif%2Fcltl_tiny.gif type=F%20-%20Functional%20or%20lambda-based desc=Lisp%20is%20an%20extremely%20rich%20and%20powerful%0D%0Aprogramming%20language%20that%20has%20enjoyed%0D%0Acontinuous%20use%20and%20popularity%20since%20the%0D%0Amid-1960s.%20%20Typically%2C%20Lisp%20programming%0D%0Asystems%20are%20interpreters%2C%20but%20compilers%0D%0Aare%20also%20commonly%20used.%0D%0A%3Cbr%3E%0D%0AThe%20Lisp%20language%20is%20founded%20on%20the%20%0D%0Arepresentational%20power%20of%20%22S-expressions%22%2C%0D%0Aand%20employment%20of%20functional%20composition%20%0D%0Aand%20recursion.%20%20Lisp%20is%20a%20weakly%20typed%0D%0Alanguage%20with%20excellent%20support%20for%20%0D%0Areflection%20and%20on-the-fly%20code%20generation%0D%0Aand%20interpreting.%20%20The%20language%27s%20extreme%0D%0Aflexibility%2C%20expressive%20power%2C%20and%20its%0D%0Aability%20to%20treat%20code%20as%20data%2C%20made%20it%0D%0Athe%20undisputed%20king%20of%20Artificial%20Intelligence%0D%0Aresearch%20for%20all%20of%20the%201970s%20and%201980s.%0D%0A%3Cbr%3E%0D%0AAll%20Lisp%20implementations%20since%20the%20late%201960s%0D%0Ahave%20offered%20a%20set%20of%20programming%20features%20tough%20to%0D%0Aequal%20in%20any%20language%2C%20even%20today%3A%20macros%2C%20string%20handling%2C%0D%0Arecursion%2C%20closures%2C%20reflection%2C%20packaging%2C%20arrays%2C%20and%0D%0Aextensive%20IO%20facilities.%0D%0AModern%20Lisp%20systems%20support%20object-oriented%0D%0Aprogramming%2C%20database%20access%2C%20GUI%20construction%2C%0D%0Aand%20all%20other%20forms%20of%20general-purpose%0D%0Aprogramming.%20%20A%20very%20mature%20language%2C%20Lisp%0D%0Ais%20extremely%20well-documented%2C%20and%20the%0D%0Amost%20widespread%20dialect%2C%20Common%20Lisp%2C%0D%0Ais%20also%0D%0Acodified%20by%20ANSI%20and%20international%20standards.%0D%0A origin=McCarthy%20%3Ci%3Eet%20al%3C%2Fi%3E%2C%201956-61 seealso=Scheme%2C%20Prolog%2C%20FP%2C%20Common%20Lisp remark=Lisp%20is%20taught%20as%20a%20part%20of%20most%20computer%0D%0Ascience%20undergraduate%20programs.%20%20Commercial%0D%0Aand%20free%20Lisp%20programming%20systems%20are%0D%0Aavailable%20for%20all%20major%20computing%20platforms%2C%0D%0Aand%20there%20is%20even%20Lisp-specific%20processing%20hardware.%0D%0A%3Cbr%3E%0D%0AOf%20course%2C%20one%20thing%20everybody%20remembers%0D%0Awho%20ever%20programmed%20in%20Lisp%20is%20the%20%0D%0Aprofusion%20of%20parentheses.%20%20%0D%0AThe%20evolution%20of%20Lisp%20is%20a%20fascinating%20%0D%0Astudy%20in%20the%20growth%20of%20a%20specific%0D%0Ascion%20of%20computer%20science%20over%20thirty%0D%0Aof%20the%20most%20active%20years%20of%20the%20field.%0D%0APossibly%20the%20first%20really%20powerful%0D%0Ainterpreted%20computer%20language%2C%20Lisp%0D%0Ahas%20profound%20influence%20on%20the%20AI%20and%0D%0Aprogramming%20language%20design%20fields%20since%0D%0Atheir%20very%20inception.%20%20Several%20good%20%0D%0Ahistorical%20retrospectives%20on%20Lisp%20are%0D%0Aavailable%3A%20%0D%0A%3Ca%20href%3D%22http%3A%2F%2Fwww.apl.jhu.edu%2F%7Ehall%2Ftext%2FPapers%2FBrief-History-of-Lisp.ps%22%3Eshort%3C%2Fa%3E%20%28PS%29%0D%0Aand%20%0D%0A%3Ca%20href%3D%22http%3A%2F%2Fwww.apl.jhu.edu%2F%7Ehall%2Ftext%2FPapers%2FEvolution-of-Lisp.ps.Z%22%3Elong%3C%2Fa%3E%20%28Compressed%20PS%29.%0D%0A links1=http%3A%2F%2Fwww.apl.jhu.edu%2F%7Ehall%2Flisp.html links2=http%3A%2F%2Fwww.cs.cmu.edu%2FGroups%2FAI%2Fhtml%2Fcltl%2Fclm%2Fclm.html links3=http%3A%2F%2Fwww.cs.cmu.edu%2FGroups%2FAI%2Fhtml%2Ffaqs%2Flang%2Flisp%2Ftop.html links4=http%3A%2F%2Fwww.franz.com%2F links5= date=Last%20updated%2012%2F16%2F97 sample=%3Cpre%3E%0D%0A%3B%3B%20Simple%20factorial%20routine%0D%0A%3B%3B%20%28until%20I%20get%20a%20better%20example%20written%29%0D%0A%28defun%20fact1%20%28num%29%0D%0A%20%20%20%28cond%20%28%28not%20%28integerp%20num%29%29%20nil%29%0D%0A%20%20%20%20%20%20%20%20%20%28%28%3C%3D%20num%201%29%201%29%0D%0A%20%20%20%20%20%20%20%20%20%28t%20%28%2A%20num%20%28fact1%20%28-%20num%201%29%29%29%29%29%0D%0A%29%0D%0A%3C%2Fpre%3E _store=1 _add=Lisp _usertab=1 _usersearch=0 _format=full = name=Logo nameURL=http%3A%2F%2Fel.www.media.mit.edu%2Fgroups%2Flogo-foundation%2F see= logo=82x79%3Dhttp%3A%2F%2Fel.www.media.mit.edu%2Fgroups%2Flogo-foundation%2Fgraphics%2Fturtle%2Fimage10.gif type=F%20-%20Functional%20or%20lambda-based desc=Logo%20is%20a%20functional%20language%20designed%0D%0Ateach%20programming%20and%20problem-solving%0D%0Aprinciples%20to%20children.%20%20It%20is%20a%20%0D%0Afunctional%20language%2C%20related%20to%20Lisp%2C%0D%0Awith%20a%20simple%0D%0Asyntax%20and%20a%20graphics-oriented%20feature%0D%0Aset.%0D%0A%3Cbr%3E%0D%0AThe%20Logo%20language%20provides%20a%20set%20of%0D%0Abuilt-in%20procedures%2C%20a%20means%20to%20create%0D%0Anew%20procedures%2C%20a%20simple%20data%20framework%0D%0Awith%20symbols%2C%20numbers%2C%20and%20lists%2C%0D%0Aand%20simple%20control%20structures.%20%20The%0D%0Alanguage%20is%20surprisingly%20small%2C%20but%0D%0Alike%20Lisp%20can%20be%20used%20to%20create%20very%0D%0Acomplex%20behavior.%0D%0A%3Cbr%3E%0D%0AA%20central%20concept%20in%20Logo%20is%20the%20%3Ci%3Eturtle%3C%2Fi%3E.%0D%0ALogo%20was%20designed%20for%20use%20with%20a%20graphics%0D%0Adisplay%2C%20and%20the%20turtle%20wanders%20around%0D%0Athe%20display%20under%20the%20control%20of%20the%20Logo%0D%0Aprogram%2C%20drawing%20lines.%20%20Some%20of%20the%0D%0Amost%20fundamental%20statements%20in%20Logo%20move%0D%0Aand%20rotate%20the%20turtle.%20%20By%20using%20Logo%27s%0D%0Arecursive%20nature%2C%20a%20programmer%20can%20cause%0D%0Athe%20turtle%20to%20draw%20all%20sorts%20of%20figures.%0D%0A%3Cbr%3E%0D%0ACommercial%20and%20free%0D%0Aimplementations%20of%20Logo%20are%20available%0D%0Afor%20PC%2FWindows%2C%20Macintosh%2C%20and%20UNIX%0D%0Aplatforms.%0D%0A%3Cbr%3E%20%20%0D%0ANew%20releases%20of%20Logo%20%0D%0Aimplementations%20in%201993%20and%20later%20have%0D%0Aadded%20sound%2C%20images%2C%20and%20multi-tasking%0D%0Ato%20the%20basic%20language.%20%20Massively%20%0D%0Aparallel%2C%20hardware-embedded%2C%20and%0D%0Aobject-oriented%20extended%20implementations%0D%0Aof%20Logo%20have%20also%20been%20developed.%0D%0ALogo%20has%20been%20used%20primarily%20for%0D%0Aeducation%2C%20but%20has%20also%20been%20employed%0D%0Afor%20AI%20research%2C%20robotics%2C%20and%20graphics%0D%0Acreation.%0D%0A origin=Papert%20%3Ci%3Eet%20al%3C%2Fi%3E%2C%20MIT%2C%201967. seealso=Lisp%2C%20Hope%2C%20ML remark=Logo%20is%20a%20simple%20language%20to%20learn%2C%20but%0D%0Aamazingly%20functional.%20%20Many%20elementary%0D%0Aschools%20have%20used%20Logo%20to%20teach%20children%0D%0Ahow%20to%20think%20about%20really%20controlling%0D%0Acomputers%20%28not%20just%20point-n-click%29.%20%20Many%0D%0Aof%20the%20sites%20listed%20below%20have%20links%20to%0D%0Athese%20educational%20projects.%0D%0A%3Cbr%3E%0D%0ASeymour%20Papert%2C%20the%20inventor%20of%20Logo%20and%0D%0Aan%20influential%20early%20AI%20researcher%2C%0D%0Ais%20still%20active%20in%20%27family%27%20computing%2C%0D%0Ahis%20latest%20project%20is%20on-line%20%0D%0A%3Ca%20href%3D%22http%3A%2F%2Fwww.connectedfamily.com%2F%22%3Ehere%3C%2Fa%3E. links1=Logo%20FTP%20Archive%20at%20MIT%3Dftp%3A%2F%2Fcher.media.mit.edu%2Fpub%2Flogo%2F links2=MSW%20Logo%3Dhttp%3A%2F%2Fwww.softronix.com%2Flogo.html links3=Terrapin%20Logo%3Dhttp%3A%2F%2Fwww.terrapinlogo.com%2F links4=MicroWorlds%20Logo%3Dhttp%3A%2F%2Fwww.lcsi.ca%2F links5=EuroLogo%3Dhttp%3A%2F%2Fwww.eurologo.org%2F date=Last%20updated%2012%2F16%2F97 sample=%3CPRE%3E%0D%0A%3B%20Recursive%20procedure%20to%20line%2C%20fractalized%0D%0Ato%20DrawFractalLine%20%3Alevel%20%3Alength%0D%0A%20%20ifelse%20%3Alevel%20%3C%201%20%5B%0D%0A%20%20%20%20fd%20%3Alength%5D%20%5B%0D%0A%20%20%20%20DrawFractalLine%20%28sum%20-1%20%3Alevel%29%20%28quotient%20%3Alength%203.00%29%0D%0A%20%20%20%20left%2060%0D%0A%20%20%20%20DrawFractalLine%20%28sum%20-1%20%3Alevel%29%20%28quotient%20%3Alength%203.00%29%0D%0A%20%20%20%20right%20120%20%0D%0A%20%20%20%20DrawFractalLine%20%28sum%20-1%20%3Alevel%29%20%28quotient%20%3Alength%203.00%29%0D%0A%20%20%20%20left%2060%0D%0A%20%20%20%20DrawFractalLine%20%28sum%20-1%20%3Alevel%29%20%28quotient%20%3Alength%203.00%29%0D%0A%20%20%5D%0D%0Aend%0D%0A%0D%0A%3B%20procedure%20to%20clear%20screen%20and%20position%20turtle%0D%0Ato%20SetupTurtle%0D%0A%20%20cs%20setpos%20%5B-160%20-10%5D%20right%2060%20clean%0D%0Aend%0D%0A%0D%0A%3B%20setup%20turtle%20then%20draw%20Koch%27s%20snowflake%285%29%0D%0ASetupTurtle%0D%0Asetpensize%20%5B2%202%5D%20%0D%0Arepeat%203%20%5BDrawFractalLine%205%20330%20right%20120%5D%0D%0A%3C%2FPRE%3E _store=1 _add=Logo _usertab=1 _usersearch=0 _format=full = name=LotusScript nameURL=http%3A%2F%2F193.164.160.162%2Fldw.nsf%2FWizSectionSearch%3FSearchView%26Query%3D%28%5Ba%5D%2Bco%2B5%29%2BAND%2B%28%5Bn%5D%2Bco%2B1%29%26a%3D5%26t%3DLotusScript see=Basic logo= type=A%20-%20Application%2FMacro desc=LotusScript%20is%20a%0D%0Adialect%20of%20Basic%20used%20as%0D%0Athe%20application%20extension%20and%20macro%20language%0D%0Afor%20Lotus%27s%20line%20of%20office%20automation%0D%0Asoftware.%20%20It%20has%20some%20object-oriented%0D%0Aprogramming%20features%20and%20extensive%20%0D%0Aapplication%20integration%20and%20interface%0D%0Afacilities.%0D%0A%3Cbr%3E%0D%0AData%20types%20available%20in%20LotusScript%0D%0Ainclude%20integers%2C%20reals%2C%20strings%2C%20arrays%2C%0D%0Arecords%2C%20and%20objects.%20%20The%20language%0D%0Asupports%20conventional%20procedural%0D%0Aconstructs%20with%20simple%20Basic-style%20syntax.%0D%0AThe%20language%20is%20not%20strongly%20typed%2C%20but%0D%0Adoes%20do%20some%20type%20enforcement%20for%0D%0Aobjects.%0D%0A%3Cbr%3E%0D%0ALotusScript%20employs%20a%20high-level%20%0D%0Asimplified%20event%0D%0Amodel%20to%20invoke%20subroutines%20and%20functions%0D%0Ain%20response%20to%20user%20input%20and%20application%0D%0Aactivity.%20%20%0D%0A%3Cbr%3E%0D%0ALotusScript%20is%20included%20as%20part%20of%20the%0D%0ALotus%20commercial%20products%20it%20serves%20to%20extend.%0D%0ADocumentation%20for%20the%20language%0D%0Ais%20available%20from%0D%0ALotus%27s%20web%20site%20and%20elsewhere%20on-line.%0D%0A origin=Lotus%20Development%20Corp%2C%201995. seealso=WordBasic%2C%20VBA%2C%20CorelScript remark=LotusScript%20corresponds%20directly%20to%20Microsoft%0D%0AVisual%20Basic%20for%20Applications%20and%20Corel%0D%0ACorelScript%3A%20they%20are%20all%20dialects%20of%0D%0ABasic%20that%20allow%20users%20to%20write%20extensions%0D%0Aand%20simple%20applications%20within%20large%0D%0Asoftware%20products%20%28e.g.%20word%20processors%2C%0D%0Agroupware%20systems%29.%0D%0A%3Cbr%3E%0D%0ALotusScript%20can%20be%20divided%20into%20a%20core%0D%0Alanguage%20and%20set%20of%20classes%2C%20and%20%0D%0Aapplication-specific%20objects%20and%20classes%0D%0Aassociated%20with%20the%20embedding%20product.%0D%0AFor%20example%2C%20a%20LotusScript%20program%20running%0D%0Aunder%20Lotus%20Notes%204.5%20has%20a%20different%0D%0Aset%20of%20pre-defined%20classes%20available%20to%20it%0D%0Athan%20a%20program%20running%20in%20Lotus%20Freelance.%0D%0ABooks%20and%20classes%20about%20the%20language%20%0D%0Aseem%20to%20be%20mostly%20directed%20at%20Notes%2C%20because%0D%0Ait%20is%20a%20popular%20product%20and%20because%20it%20is%0D%0Aan%20environment%20in%20which%20extensions%20and%20%0D%0Aspecialized%20features%20are%20commonly%20written.%0D%0A%3Cbr%3E%0D%0ACompared%20with%20other%20dialects%20of%20Basic%2C%0D%0ALotusScript%20appears%20somewhat%20more%20verbose%0D%0Aor%20sugared.%20%20This%20appearance%20is%20the%20result%0D%0Aof%20the%20object-oriented%20features%20of%20the%0D%0Alanguage%2C%20and%20the%20additional%20type%0D%0Ainformation%20those%20features%20use. links1=%22LotusScript%20for%20the%20Terrified%22%20tutorial%3Dhttp%3A%2F%2F193.164.160.162%2Fldw.nsf%2FData%2FDocument1249 links2=Some%20LotusScript%20product%20info%3Dhttp%3A%2F%2Fwww.lotus.nl%2Fdevtools%2F2bd2.htm links3=Class%20reference%20for%20LotusScript%20in%20Notes%3Dhttp%3A%2F%2Fwww.lotus.com%2Fproducts%2Flotusscript.nsf links4= links5= date=Last%20updated%201%2F3%2F98 sample=%3Cpre%3E%0D%0A%27%20Find%20agents%20owned%20by%20the%20current%20user%0D%0A%27%20and%20remove%20them%20%28Adapted%20from%20examples%20at%20%0D%0A%27%20www.lotus.com%29%0D%0A%0D%0ADim%20session%20As%20New%20NotesSession%0D%0ADim%20db%20As%20NotesDatabase%0D%0ADim%20agentArray%281%20To%2010%29%20As%20NotesAgent%0D%0ADim%20count%20as%20Integer%0D%0ADim%20answer%20as%20string%0D%0A%0D%0Acount%20%3D%200%0D%0ASet%20db%20%3D%20session.CurrentDatabase%0D%0AForall%20a%20In%20db.Agents%0D%0A%20%20If%20%28%20a.Owner%20%3D%20session.UserName%20%29%20Then%0D%0A%20%20%20%20Set%20agentArray%28count%29%20%3D%20a%0D%0A%20%20%20%20count%20%3D%20count%20%2B%201%0D%0A%20%20%20%20If%20%28count%20%26gt%3B%2010%29%20Then%20%0D%0A%20%20%20%20%20%20%20Exit%20Forall%0D%0A%20%20%20%20End%20If%0D%0A%20%20End%20If%0D%0AEnd%20Forall%0D%0A%0D%0Aanswer%20%3D%20Inputbox%24%28%20%22You%20have%20%22%20%26%20count%20%26%20%22%20agents.%20Delete%20them%3F%22%20%29%0D%0AIf%20%28answer%20%3D%20%22y%22%29%20Or%20%28answer%20%3D%20%22yes%22%29%20Then%0D%0A%20%20%20Forall%20a%20in%20agentArray%0D%0A%20%20%20%20%20%20%20%20Call%20a.Remove%0D%0A%20%20%20End%20Foreall%0D%0AEnd%20If%0D%0A%3C%2Fpre%3E _store=1 _add=LotusScript _usertab=1 _usersearch=0 _format=full = name=Lua nameURL=http%3A%2F%2Fwww.tecgraf.puc-rio.br%2Flua%2F see= logo=107x107%3Dhttp%3A%2F%2Fcsg.uwaterloo.ca%2F%7Elhf%2Flua%2Fimg%2Flua1.gif type=C%20-%20Command%20or%20Scripting desc=Lua%20is%20an%20interpreted%20structured%20%20%0D%0Alanguage%20designed%20for%20embedding%20into%20other%0D%0Aapplications.%20%20It%20is%20intended%20for%20use%20as%0D%0Aan%20extension%20and%20scripting%20language%2C%0D%0Aespecially%20for%20applications%20with%0D%0Arequirements%20for%20structured%20data%20storage.%0D%0A%3Cbr%3E%0D%0ABecause%20it%20is%20intended%20for%20use%20as%20an%20%0D%0Aapplication%20extension%20language%2C%20Lua%20does%0D%0Anot%20have%20the%20notion%20of%20a%20%27main%27%20program%0D%0Aor%20initial%20entry%20point%3B%20instead%2C%20all%20code%0D%0Ais%20assumed%20to%20be%20invoked%20from%20the%20host%0D%0Aapplication.%20%20%0D%0A%3Cbr%3E%0D%0AThe%20syntax%20of%20Lua%20is%20somewhat%20similar%20to%20%0D%0Athat%20of%20Pascal%2C%20but%20the%20data%20type%20system%20is%0D%0Aquite%20different.%20%20Like%20many%20scripting%0D%0Alanguages%2C%20Lua%20is%20loosely%20typed%3A%20variables%0D%0Aneed%20not%20be%20declared%2C%20and%20may%20hold%20any%20kind%0D%0Aof%20value.%20%20Data%20types%20supported%20by%20Lua%0D%0Ainclude%20real%20numbers%2C%20strings%2C%20functions%2C%0D%0Aand%20tables%20%28associative%20arrays%29.%20%20Lua%0D%0Aalso%20has%20a%20distinguished%20%27nil%27%20value%20type%2C%0D%0Aand%20an%20extension%20data%20type%20called%20%0D%0A%27userdata%27%20that%20can%20store%20C%20pointers%0D%0Afor%20use%20by%20the%20host%20application.%0D%0ALua%20associative%20arrays%20subsume%20other%20data%0D%0Atypes%20like%20arrays%20and%20tuples%2C%20just%20as%20they%0D%0Ado%20in%20Javascript.%0D%0A%3Cbr%3E%0D%0AControl%20structures%20supported%20by%20Lua%20include%0D%0Avarious%20conditional%20and%20looping%20constructs.%0D%0AThe%20language%20has%0D%0Ano%20error%20handling%20constructs%2C%20instead%20%0D%0Aerrors%20are%20usually%0D%0Arouted%20to%20pre-defined%20handler%20functions.%0D%0ALike%20Perl%2C%20Lua%20support%20multiple%20return%20values%0D%0Afrom%20functions%20and%20variable%20numbers%20of%20arguments%0D%0Ato%20functions.%0D%0A%3Cbr%3E%0D%0AScope%20is%20very%20simple%20in%20Lua%3A%20all%20variables%0D%0Aare%20either%20global%2C%20or%20local%20to%20a%20particular%0D%0Ablock.%20%20The%20default%20is%20global%2C%20local%0D%0Avariables%20must%20be%20explicitly%20declared%20so.%0D%0AFunction%20definitions%20are%20just%20assignments%0D%0Ato%20global%20variables.%0D%0A%3Cbr%3E%0D%0AData%20values%20in%20Lua%20are%20tagged%20to%20support%0D%0Aspecialized%20extension%20by%20the%20host%0D%0Aapplication.%20%20Tags%20can%20be%20used%20to%20define%0D%0Aspecial%20handling%20for%20data%20types%2C%20or%20to%0D%0Aset%20up%20inheritance%20or%20delegation%20relationships.%0D%0A%3Cbr%3E%0D%0AThere%20is%20only%20one%20implementation%20of%20Lua%2C%0D%0Awritten%20in%20C.%20%20It%20is%20available%20free%2C%20in%0D%0Asource%20form%2C%20on%20%0D%0Athe%20web.%20%20The%20Lua%20reference%20manual%20is%0D%0Aalso%20available.%0D%0A origin=W.%20Celes%2C%20R.%20Ierusalimschy%2C%20L.H.%20de%20Figueiredo%2C%20PUC-Rio%2C%201994. seealso=Tcl%2C%20Perl%2C%20Pascal%2C%20C%2C%20Javascript%2C%20Elisp remark=%3Ci%3ELua%3C%2FI%3E%20means%20%22Moon%22%20in%20Portuguese.%0D%0A%3Cbr%3E%0D%0AThe%20Lua%20manual%20includes%20extensive%20information%0D%0Aon%20how%20to%20embed%20Lua%20in%20a%20host%20application%2C%0D%0Aand%20how%20to%20expose%20host%20data%20and%20functionality%0D%0Ato%20Lua%20scripts.%20%20Its%20interface%20for%20doing%0D%0Athis%20appears%20to%20be%20a%20little%20bit%20simpler%0D%0Athan%20the%20corresponding%20one%20for%20Tcl%2C%20and%20much%0D%0Asimpler%20than%20that%20of%20Perl.%0D%0AHowever%2C%20Lua%27s%20complement%20of%20data%20types%20and%0D%0Abuilt-in%20functions%20is%20far%20smaller%20than%0D%0Athose%20of%20Tcl%20or%20Perl.%0D%0A%3Cbr%3E%0D%0ALua%20has%20gone%20through%20several%20major%20%0D%0Aexpansions%20in%20its%20fairly%20short%20career%20so%20far%2C%0D%0Abut%20new%20versions%20have%20maintained%20back-compatibility%0D%0Awith%20older%20ones.%0D%0AThe%20latest%20version%2C%20as%20of%20early%201998%2C%20was%20%0D%0A3.0.%0D%0A links1=Journal%20article%20describing%20Lua%3Dhttp%3A%2F%2Fcsg.uwaterloo.ca%2F%7Elhf%2Flua%2Fspe.html links2=FTP%20download%20area%20for%20Lua%3Dftp%3A%2F%2Fftp.tecgraf.puc-rio.br%2Fpub%2Flua%2F links3=Canadian%20Lua%20mirror%3Dhttp%3A%2F%2Fcsg.uwaterloo.ca%2F%7Elhf%2Flua%2F links4= links5= date=Last%20updated%206%2F1%2F98 sample=%3Cpre%3E%0D%0A--%20Simple%20Lua%20program%20that%20implements%20the%0D%0A--%20bisection%20method%20for%20solving%20non-linear%20equations%0D%0Afunction%20bisect%28f%2Ca%2Cb%2Cfa%2Cfb%29%0D%0A%20write%28n%2C%22%20a%3D%22%2Ca%2C%22%20fa%3D%22%2Cfa%2C%22%20b%3D%22%2Cb%2C%22%20fb%3D%22%2Cfb%2C%22%5Cn%22%29%0D%0A%20local%20c%3D%28a%2Bb%29%2F2%0D%0A%20if%20abs%28a-b%29%20%26lt%3B%20delta%20then%20return%20c%20end%0D%0A%20n%3Dn%2B1%0D%0A%20local%20fc%3Df%28c%29%0D%0A%20if%20fa%2Afc%20%26lt%3B%200%20then%20%0D%0A%20%20%20%20return%20bisect%28f%2Ca%2Cc%2Cfa%2Cfc%29%20%0D%0A%20else%20%0D%0A%20%20%20%20return%20bisect%28f%2Cc%2Cb%2Cfc%2Cfb%29%20%0D%0A%20end%0D%0Aend%0D%0A%0D%0A--%20find%20root%20of%20f%20in%20the%20inverval%20%5Ba%2Cb%5D.%20%0D%0A--%20bisection%20requires%20that%20f%28a%29%2Af%28b%29%20%26lt%3B%200%0D%0Afunction%20solve%28f%2Ca%2Cb%29%0D%0A%20delta%3D1e-6%09--%20tolerance%0D%0A%20n%3D0%0D%0A%20local%20z%3Dbisect%28f%2Ca%2Cb%2Cf%28a%29%2Cf%28b%29%29%0D%0A%20write%28format%28%22after%20%25d%20steps%2C%20root%20is%20%25.10g%5Cn%22%2Cn%2Cz%29%29%0D%0Aend%0D%0A%0D%0A--%20test%20the%20bisection%20code%20with%0D%0A--%20a%20function%3A%20%20x%5E3%20-%20x%20-%201%0D%0Afunction%20f%28x%29%0D%0A%20return%20x%2Ax%2Ax%20-%20x%20-%201%0D%0Aend%0D%0A%0D%0Asolve%28f%2C1%2C2%29%0D%0A%3C%2Fpre%3E _store=1 _add=Lua _usertab=1 _usersearch=0 _format=full = name=Lucid nameURL= see= logo=http%3A%2F%2Flucy.uvic.ca%2Fgif%2Flucid.GIF type=P%20-%20Parallel%20or%20Multi-programming desc=Lucid%20is%20a%20dataflow%20programming%20language%0D%0Adesigned%20to%20experiment%20with%20non-VonNeumann%0D%0Aprogramming%20models.%20%20It%20has%20fundamentally%0D%0Adifferent%20semantics%20from%20a%20language%20like%20C%0D%0Aor%20Lisp%3A%20in%20Lucid%20the%20programmer%20defines%0D%0Afilters%20or%20transformation%20functions%20that%0D%0Aact%20on%20time-varying%20data%20streams.%20%20%0D%0ALucid%20supported%20a%20very%20small%20set%20of%20data%0D%0Atypes%3A%20integers%2C%20reals%2C%20and%20symbols.%0D%0A%3Cbr%3E%0D%0AThe%20syntax%20of%20Lucid%20was%20deliberately%20design%0D%0Ato%20be%20unusual%20and%20different%2C%20to%20prevent%0D%0Aprogrammers%20from%20applying%20procedural-programming%0D%0Ahabits%20that%20might%20be%20inapplicable%2C%20and%0D%0Ato%20sustain%20the%20illustion%20of%20data%20flows%0D%0Aas%20infinite%20objects.%0D%0A%3Cbr%3E%0D%0ALucid%20also%20employed%20several%20techniques%0D%0Afrom%20functional%20programming%3A%20lack%20of%0D%0Aside%20effects%2C%20and%20lazy%20evaluation.%0D%0A%3Cbr%3E%0D%0ALucid%20evolved%20greatly%20in%20the%201980s%20and%0D%0A1990s.%20%20The%20current%20evolutionary%20step%0D%0Aof%20Lucid%0D%0Ais%20called%20GLU%20%28Granular%20LUcid%29.%20%20It%20%0D%0Asupports%20high-level%20data%20flow%20programming%0D%0Aand%20embedding%20of%20legacy%20code.%20%20GLU%20is%0D%0Aavailable%20free%20for%20most%20UNIX%20platforms.%0D%0A origin=Ashcroft%20and%20Wadge%2C%201976-77. seealso=Sisal remark=Lucid%20was%20a%20powerful%20advance%20in%20computer%0D%0Ascience%2C%20and%20spawned%20several%20additional%0D%0Aresearch%20areas%20over%20the%201980s.%20%20Two%20of%0D%0Athose%20areas%2C%20Multidimensional%20Programming%0D%0Aand%20Intensional%20Programming%2C%20%0D%0Aare%20active%20research%20areas%20in%20computer%20science.%0D%0A links1=Lucid%20information%20at%20SRI%3Dhttp%3A%2F%2Fwww.csl.sri.com%2FLucid.html links2= links3= links4= links5= date=Last%20updated%2012%2F8%2F97 sample=A%20Lucid%20program%20to%20solve%20Hamming%27s%20Problem%2C%0D%0Afrom%20Ashcroft%20%26amp%3B%20Wadge%2C%20%3Ci%3ELucid%2C%20the%20Dataflow%20Language%3C%2Fi%3E.%0D%0A%3Cp%3E%0D%0A%3Cpre%3E%0D%0Ah%0D%0A%20where%0D%0A%20%20h%20%3D%201%20fby%20merge%28merge%282%20%2A%20h%2C%203%20%2A%20h%29%2C%205%20%2A%20h%29%3B%0D%0A%20%20merge%28x%2Cy%29%20%3D%20if%20xx%20%26lt%3B%3D%20yy%20then%20xx%20else%20yy%20fi%0D%0A%20%20%20%20where%20%0D%0A%20%20%20%20%20%20xx%20%3D%20x%20upon%20xx%20%26lt%3B%3D%20yy%3B%0D%0A%20%20%20%20%20%20yy%20%3D%20y%20upon%20yy%20%26lt%3B%3D%20xx%3B%0D%0A%20%20%20%20end%3B%0D%0A%20%20end%3B%0D%0A%3C%2Fpre%3E%0D%0A _store=1 _add=Lingo _usertab=1 _usersearch=0 _format=full =