name=T nameURL= see=Scheme logo= type=F+-+Functional+or+lambda-based desc=T+was+an+implementation+of+Scheme+originally%0D%0Adeveloped+at+Yale+University. origin= seealso= remark= links1= links2= links3= links4= links5= date=Last+updated+12%2F19%2F97 sample= _store=1 _add=T _usertab=1 _usersearch=0 _format=full = name=Tcl nameURL=http%3A%2F%2Fsunscript.sun.com%2F see= logo=120x181%3Dhttp%3A%2F%2Fwww.scriptics.com%2Fimages%2Ftcllogo.gif type=C+-+Command+or+Scripting desc=Tcl+%28pronounced+%27tickle%27%29+is+a+block-structured%0D%0Ainterpreted+scripting+language+intended%0D%0Afor+portable+%0D%0Aapplication+development+and+extension.%0D%0AThe+name+originally+stood+for+%27Tool%0D%0ACommand+Language.%27%0D%0AThe+language+and+its+interpreter+were%0D%0Adesigned+to+be+easy+to+use+for+development%0D%0Aprojects%2C+and+also+easy+to+bind+to+other%0D%0Aprograms+and+libraries+written+in+C+or+C++.%0D%0A%3Cbr%3E%0D%0ATcl+is+frequently+mentioned+along+with+its%0D%0Aassociated+graphical+toolkit%2C+Tk.++The%0D%0Apackage%2C+Tcl%2FTk%2C+is+a+complete+system+for%0D%0Awriting+portable+GUI+applications.%0D%0ATcl+and+Tk+are+built+to+allow+a+programmer%0D%0Ato+extend+them+with+additional+code+written%0D%0Ain+C%2FC++%2C+or+to+embed+them+into+a+larger%0D%0AC%2FC+++application+to+serve+as+that+application%27s%0D%0Ascripting+language.%0D%0A%3Cbr%3E%0D%0AThe+syntax+of+Tcl+is+fairly+simple%2C+but%0D%0Auses+the+command+language+paradigm+%0D%0Aof+verb-noun+rather+than+the+more%0D%0Acommon+expression-statement+paradigm%0D%0Aused+by+scripting+languages+like+Perl%0D%0Aand+JavaScript.++This+approach+makes%0D%0Athe+language+somewhat+unforgiving+in%0D%0Aterms+of+coding+style.++Tcl+was+originally%0D%0Aheavily+oriented+towards+creating%2C%0D%0Aevaluating%2C+and+processing%0D%0Astrings.++Tcl%27s+syntax+includes+several%0D%0Asubtly+distinguished+quoting+mechanisms.%0D%0ALike+many+interpreters%2C+Tcl+has+the+ability%0D%0Ato+create+and+then+execute+code+on+the+fly.%0D%0A%3Cbr%3E%0D%0ATcl+offers+a+small+set+of+very+flexible%0D%0Adata+types%3A+numbers%2C+strings%2C+lists%2C+and+%0D%0Aassociative+arrays.++In+practice%2C%0D%0Alists+and+associative+arrays+get+used%0D%0Afor+just+about+everything.%0D%0ATcl+includes+a+conventional+complement+of%0D%0Acontrol+structures%3A+if-then-else%2C+loop%2C%0D%0Aswitch%2C+and+exception+handling+structures%0D%0Aare+all+provided+%28but+with+some+quirks%0D%0Adriven+by+the+command+language+verb-noun%0D%0Astructure.%29%0D%0A%3Cbr%3E%0D%0ATcl+has+extensive+I%2FO+capabilities%2C+as%0D%0Awell+as+good+features+for+invoking+and%0D%0Acontrolling+local+utility+programs.%0D%0ATcl+also+provides+network+I%2FO+support%2C%0D%0Aand+mechanisms+for+asynchronous+%28event-driven%29%0D%0Ascripting.++Tcl+does+not+support%0D%0Aa+general+concurrency+or+threading+model.%0D%0A%3Cbr%3E%0D%0ATk+is+a+comprehensive+GUI+toolkit+%0D%0Aoffering+the+usual+buttons%2C+menus%2C+labels%2C%0D%0Aand+scrollbars.++It+also+offers+higher-level%0D%0Afacilties+like+lists%2C+a+vector-graphic%0D%0Acanvas%2C+a+sophisticated+text+display%2Feditor%2C%0D%0Acolor+and+clipboard+management%2C+and+more.%0D%0A%3Cbr%3E%0D%0ATcl+was+originally+designed+to+be+a+common%0D%0Ascripting+language+to+be+embedded+in+%0D%0AUnix+graphical+tools+%28the+inventor+of+Tcl%2FTk%2C%0D%0AJohn+Ousterhout%2C+is+also+famous+for+his%0D%0Acontributions+to+the+VLSI+tool+community%29.%0D%0ATcl+evolved+greatly+in+the+early+1990s%2C%0D%0Abecoming+a+powerful+scripting+language%0D%0Asuitable+for+crafting+whole+applications.%0D%0AIn+the+mid-1990s%2C+it+was+first+ported+to%0D%0Aa+platform+other+than+Unix%2C+and+has+since%0D%0Abeen+ported+to+over+a+dozen+operating+%0D%0Asystems.++Tk+works+under+the+X+Window%0D%0ASystem%2C+MS-Windows%2C+and+the+Macintosh.%0D%0A%3Cbr%3E%0D%0AVersions+of+Tcl+prior+to+8.0+were%0D%0Astrictly+interpreted%2C+and+suffered+from%0D%0Aa+variety+of+performance+problems+related%0D%0Ato+the+interpretation+process+and+the%0D%0Ainterpreter%27s+data+storage+mechanisms.%0D%0AThese+problems+were+fixed+in+version+8.0%2C%0D%0Aand+the+language+now+employs+an+on-the-fly%0D%0Abytecode+compiler%2C+and+the+data+storage%0D%0Amanagement+has+been+re-designed+and+%0D%0Aimproved.++Other+new+features+in+version%0D%0A8.0+include+reflection%2C+separate+namespaces%2C%0D%0Aand+various+system-dependent+enhancements+for%0D%0AMS-Windows.%0D%0A%3Cbr%3E%0D%0AInformation+about+Tcl%2FTk+is+widely+%0D%0Aavailable+on+the+web%2C+and+there+are+also%0D%0Aa+few+good+books+about+Tcl+programming.%0D%0AExtensions+and+add-ons+for+Tcl+are+common%0D%0Aand+popular%2C+especially+extensions+that%0D%0Asupport+object-oriented+programming.++A%0D%0Avery+wide+variety+of+such+add-ons+are%0D%0Aavailable+free+from+Tcl+download+archives.%0D%0AVarious+development+tools+are+also%0D%0Aavailable%2C+some+free+and+some+commercial.%0D%0ATcl%2FTk+8.0+is+available+free+from%0D%0ASun+Microsystems+for+Unix%2C+Windows%2C%0D%0AMacintosh%2C+and+other+platforms. origin=John+Ousterhout+%3Ci%3Eet+al%3C%2Fi%3E%2C+UC+Berkeley%2C+1990. seealso=Perl%2C+csh%2C+Python%2C+Icon remark=Tcl%27s+syntax+takes+a+little+getting+used+to%2C%0D%0Abut+it+basically+provides+the+same%0D%0Afunctionality+as+a+structured+language+%0D%0Alike+Pascal.++Unlike+Pascal%2C+Tcl+is+not%0D%0Astrongly+typed.++Numbers%2C+strings%2C+and%0D%0Alists+can+be+freely+interconverted.%0D%0ATcl+associative+arrays+are+implemented+as%0D%0Ahash+tables%2C+and+provide+the+only+heterogenous%0D%0Aaggregation+facility+in+the+language.%0D%0A%3Cbr%3E%0D%0AThe+real+strengths+of+Tcl+are+its+portability%0D%0Aand+its+extensibility.++It+is+very+easy%0D%0Ato+embed+a+Tcl+interpreter+into+an+%0D%0Aapplication+program+%28compared+with+embedding%0D%0APerl%2C+for+example%2C+which+is+feasible+but%0D%0Adifficult%29.++It+is+also+very+easy+to+add%0D%0Anew+commands+to+Tcl+by+linking+in+C+or+C++%0D%0Alibraries.++This+friendliness+has+helped%0D%0Adrive+Tcl%27s+acceptance+in+some+sectors%0D%0Aof+the+computing+community.%0D%0A%3Cbr%3E%0D%0AIn+1996+Tcl+was+also+ported+to+the+web%0D%0Abrowser+environment.++The+SafeTcl+plug-in%0D%0Aallows+any+Netscape-compliant+browser+to%0D%0Arun+specialized+Tcl%2FTk+applications+%28called%0D%0ATclets%29+inside+the+browser+window.++As+this%0D%0Afacilities+is+not+yet+offered+directly+%0D%0Aby+the+browser+vendors%2C+though%2C+its%0D%0Aacceptance+has+been+limited.%0D%0A%3Cbr%3E%0D%0AAs+of+December+1997%2C+most+Tcl%2FTk+books%0D%0Aavailable+were+still+stuck+at+version+7.%0D%0ABe+careful+to+check+the+version+coverage+of%0D%0Aany+Tcl%2FTk+book+before+buying+it. links1=Tcl+WWW+Resources%3Dhttp%3A%2F%2Fwww.sco.com%2FTechnology%2Ftcl%2FTcl.html links2=Official+Tcl%2FTk+Contributions+Archive%3Dhttp%3A%2F%2Fwww.neosoft.com%2Ftcl%2Fdefault.html links3=Virtual+Library+Tcl%2FTk+Entry%3Dhttp%3A%2F%2Fcuiwww.unige.ch%2Feao%2Fwww%2FTclTk.html links4=Tcl%2FTk+FAQ+Lists%3Dhttp%3A%2F%2Fwww.teraform.com%2F%7Elvirden%2Ftcl-faq%2F links5=A+Tcl%2FTk+Tutorial%3Dhttp%3A%2F%2Fwww.pconline.com%2F%7Eerc%2Ftcl.htm date=Last+updated+11%2F7%2F99 sample=%3Cpre%3E%0D%0A%23+Small+Tcl+sorting+program%2C+after+Welch%2C+1997.%0D%0A%0D%0Aproc+NameCompare+%7Ba%2C+b%7D+%7B%0D%0A++++set+%24asurname+%3D+%5Blindex+%24a+end%5D%0D%0A++++set+%24bsurname+%3D+%5Blindex+%24b+end%5D%0D%0A++++set+ret+%5Bstring+compare+%24asurname+%24bsurname%5D%0D%0A++++if+%7B+%24ret+%3D%3D+0+%7D+%7B%0D%0A+++++++++%24ret+%3D+%5Bstring+compare+%24a+%24b%5D%0D%0A++++%7D%0D%0A++++return+%24ret%0D%0A%7D%0D%0A%0D%0Aset+namelist+%7B%7D%0D%0Aset+line+%7B%7D%0D%0Awhile+%7B+%5Bgets+stdin+line%5D+%21%3D+0+%7D+%7B%0D%0A+++++lappend+namelist+%24line%0D%0A%7D%0D%0Aset+namelist+%5Blsort+-command+NameCompare+%24namelist%5D%0D%0Aset+lineno+1%0D%0Aforeach+line+%24namelist+%7B%0D%0A++++puts+stdout+%22%24lineno+++%24line%22%0D%0A++++set+lineno+%5Bexpr+%24lineno+++1%5D%0D%0A%7D%0D%0A%3C%2Fpre%3E%0D%0A%0D%0A _store=1 _add=Tcl _usertab=1 _usersearch=0 _format=full = name=TECO nameURL= see= logo= type=D+-+Database+or+Text-processing desc=Teco+was+an+editor+and+interpreted+text%0D%0Aediting+language+characterized+by+%0D%0Aextremely+terse+syntax.%0D%0A%3Cbr%3E%0D%0ATeco+offers+extensive+facilities+for%0D%0Atext+manipulations%2C+keyboard+handling%2C%0D%0Aand+screen+drawing.++Built-in+data%0D%0Atypes+include+integers%2C%0D%0Astrings%2C+buffers%2C+dispatch+tables.%0D%0ASome+versions+had+additional+data+types.%0D%0AControl+structures+supported+included%0D%0Asimple+loop+and+conditional+constructs%2C%0D%0Aas+well+as+means+for+defining+new+functions%0D%0A%28macros%29+and+binding+them+to+user+input+in%0D%0Avarious+ways.%0D%0A%3Cbr%3E%0D%0ATeco+is+an+interpreted+language.++Original%0D%0Ainterpreters+were+written+in+platform%0D%0Aassembly+language%2C+later+ones+were+written%0D%0Ain+C+or+other+languages.%0D%0A%3Cbr%3E%0D%0AImplementations+of+Teco+are+available+for%0D%0Asome+Unix+systems%2C+VMS%2C+MS-DOS%2C+and+for%0D%0Amany+obsolete+DEC+operating+systems.%0D%0AManuals+are+often+included+with+%0D%0Adistributions. origin=Digital+Equipment+Corp%2C+1980%3F seealso=Elisp remark=Teco+stands+for+Text+Editor+and+COrrector%0D%0A%28originally%2C+it+is+reputed+to+have+stood%0D%0Afor+Tape+Editor...%29.%0D%0A%3Cbr%3E%0D%0AThe+syntax+of+TECO+is+extremely+cryptic%0D%0Aand+compact.++Most+constructs+and+commands%0D%0Ain+the+language+are+only+one+or+two+bytes%0D%0A%28not+necessarily+printable+characters%0D%0Aeither%29+and+many+of+the+commands+had%0D%0Acomplicated+semantics.%0D%0A%3Cbr%3E%0D%0ATECO+was+commonly+employed+on+DEC%0D%0Acomputers%2C+such+as+the+PDP-11%2C+DEC-10%2C%0D%0ADEC-20%2C+and+VAX%2C+to+write+editors+and%0D%0Aeditor+extensions%2C+as+well+as+text+%0D%0Aprocessing+programs.++Emacs+was%0D%0Aoriginally+written+in+Teco.%0D%0A%0D%0A links1=FTP+Archive+of+TECO+software+and+notes%3Dftp%3A%2F%2Fusc.edu%2Fpub%2Fteco%2F links2= links3= links4= links5= date=Last+updated+1%2F10%2F98 sample=%3Cpre%3E%0D%0A+%21+DISPLAY+CURRENT+LINE%27S+ASCII+CODES%2C+20+PER+DISPLAY-LINE.%21%0D%0A+%21+D+F+KOENIG%2C+1989-11-24.+%21%0D%0A%40%5EU.L%5B%5E%5B%5EA+Line+length+%3D+%5EA%5E%5B%0D%0A%0D%0AMN0U.0%5E%5BQN%26lt%3BQ.0A%3A%3D%5E%5B%5EA+%5EA%5E%5B%28%28%25.0%2F10%29%2A10%29-Q.0%22E%5E%5B%28%28Q.0%2F20%29%2A20%29-Q.0%22E%5E%5B%5EA%0D%0A%5EA%5E%5B+%5E%5B%7C%5E%5B%5EA++%5EA%5E%5B+%5E%5B%27%5E%5B%27%5E%5B%26gt%3B%5E%5B%5EA%0D%0A%5EA%5E%5B%5B%0D%0A%0D%0A%3C%2Fpre%3E _store=1 _add=Teco _usertab=1 _usersearch=0 _format=full = name=Telescript nameURL=http%3A%2F%2Fwww.genmagic.com%2FDevelop%2F see= logo=32x37%3Dhttp%3A%2F%2Fwww.genmagic.com%2FDevelop%2FImages%2Fbowser.tiny.gif type=O+-+Object-oriented desc=Telescript+is+an+object-oriented+%0D%0Alanguage+and+run-time+support+system%0D%0Adesigned+for+creating+%0D%0Aportable+GUIs%2C+%0D%0Amessaging+applications%2C%0D%0Asoftware%0D%0Aagents%2C+remote+application+scripts%2C%0D%0Aand+other+kinds+of+distributed%0D%0Acomputation+systems.%0D%0AThe+run-time+system+that+supports%0D%0ATelescript+programs+is+called+Magic+Cap.%0D%0AIt+provides+GUI%2C+messaging%2C+network%2C+I%2FO%0D%0Aand+other+services.%0D%0A%3Cbr%3E%0D%0AAs+a+procedural+OOP+language%2C+Telescript%0D%0Asupports+the+usual+sequential+control%0D%0Aconstructs%2C+as+well+as+simple+data+types%0D%0Alike+fixed-+and+floating-point+numbers%2C%0D%0Aand+strings.++%0D%0ATelescript+supports+simple+interheritance%0D%0Aand+a+form+of+multiple+inheritance+using+a+mix-in%0D%0Aset-up+like+some+dialects+of+Lisp.%0D%0AAll+object+classes+inherit+directly+or%0D%0Aindirectly+from+the+%3Ci%3EObject%3C%2Fi%3E+class%3B%0D%0Amethod+arguments+may+also+subject+to+a+%0D%0Asimple+form+of+type-predicate+constraints.%0D%0AIt+also+supports+simple+error+handling+using%0D%0Aa+try%2Fcatch+syntax.%0D%0ATelescript+also+includes+notions+of%0D%0A%3Ci%3Eauthority%3C%2Fi%3E+and+%3Ci%3Eownership%3C%2Fi%3E%0D%0Ato+provide+security+restrictions+for%0D%0Asoftware+agents.++Classes+in+Telescript%0D%0Acan+belong+to+class+families%2C+which+are%0D%0Aa+form+of+generic+class+factory.%0D%0A%3Cbr%3E%0D%0ATelescript+programs+are+compiled+into%0D%0Anative+code+for+a+target+platform%2C+or+into%0D%0Aportable+bytecodes+for+the+Telescript%0D%0Aengine+%28a+virtual+machine%29.++As+of+the%0D%0Aend+of+1997%2C+Telescript+development+tools+are%0D%0Arestricted+to+the+Macintosh+platform%2C+although%0D%0Athe+engine+is+more+portable+%28Windows%2C+some%0D%0AUnix%29.%0D%0A%3Cbr%3E%0D%0AThe+only+implementation+of+Telescript%0D%0Ais+General+Magic%27s+Magic+Cap+product%2C%0D%0Athe+compiler+and+development+environment%0D%0Aare+sold+by+Metrowerks.%0D%0AInformation+on+the+language+is+available%0D%0Aon+the+web%2C+but+not+easy+to+find.++A%0D%0Agreat+deal+of+information+is+available%0D%0Aunder+General+Magic%27s+web+site. origin=General+Magic%2C+Inc%2C+1995 seealso=Java remark=Magic+Cap+is+a+run-time+system+and+GUI%0D%0Aenvironment+for+palmtops+and+personal%0D%0Acommunicators.++Telescript+programs+run%0D%0Ain+Magic+Cap%2C+and+they+may+also+run+as%0D%0Aagents+in+host+software+to+which+the+personal%0D%0Acommunicator+connects.++The+Telescript%0D%0Alanguage+object+model+provides+extensive%0D%0Asupport+for+object+mobility+and+security.%0D%0A%3Cbr%3E%0D%0AA+modest+variety+of+add-on+packages+and%0D%0Aextensions+for+the+Magic+Cap+environment%0D%0Acan+be+found+at+General+Magic%27s+web+site%0D%0Aand+elsewere. links1=Technical+Documentation+for+Telescript+%26amp%3B+Magic+Cap%3Dhttp%3A%2F%2Fwww.genmagic.com%2FDevelop%2FMagicCap%2F links2=Telescript+Language+Reference+manual%3Dhttp%3A%2F%2Fwww.science.gmu.edu%2F%7Emchacko%2FTelescript%2Fdocs%2Ftelescript.html links3=Magic+Cap+freeware+site%3Dhttp%3A%2F%2Fwww.spies.com%2FMagicCap%2F links4= links5= date=Last+updated+12%2F19%2F97 sample= _store=1 _add=Telescript _usertab=1 _usersearch=0 _format=full = name=Terse nameURL=http%3A%2F%2Fwww.terse.com%2F see= logo=128x43%3Dhttp%3A%2F%2Fwww.terse.com%2Fpics%2Fterse150.gif type=S+-+block-structured desc=Invented+to+simplify+low-level+programming%0D%0Aon+the+Intel+x86+line+of+microprocessors%2C%0D%0ATerse+is+a+small+block-structured+language%0D%0Awith+a+set+of+operators+tightly+bound+to%0D%0Athe+x86%27s+capabilities.++%0D%0A%3Cbr%3E%0D%0AThe+basic+syntax+of+Terse+is+statement-oriented%2C%0D%0Awith+an+extensive+%28and+unusual%29+set+of%0D%0Aoperators.++The+data+types+available+in%0D%0ATerse+are+the+data+types+supported+in+the%0D%0Ainstruction+set+of+the+target+x86-series%0D%0Aprocessor%3A+integers%2C+reals%2C+byte+strings%2C%0D%0Aand+various+kinds+of+pointers.%0D%0AAs+a+venier+over+assembly%2C+Terse+does+not%0D%0Asupport+complex+data+abstractions%3B+it+does%0D%0Asupport+arrays.%0D%0A%3Cbr%3E%0D%0ATerse+supports+a+modest+set+of+control-flow%0D%0Astructures+based+on+the+branch+instructions%0D%0Aavailable+on+the+x86+operators.++It+has%0D%0Aconditional+and+looping+structures%2C+and%0D%0Asupports+jump+tables+and+other+low-level%0D%0Acontrol+structures.++Terse+supports%0D%0Asubroutines+and+functions%2C+plus+x86%0D%0Ainterrupt+handlers.%0D%0A%3Cbr%3E%0D%0AThere+is+only+one+implementation+of+Terse%2C%0D%0Aa+commercial+system+for+DOS+and+Windows%0D%0Aoperating+systems. origin=Jim+Neil%2C+1987. seealso=C remark=Intel+x86+assembly+language+is+%0D%0Acomplex%3B+Terse+was+designed+to+ease%0D%0Athe+inconveniences+and+hassles+of+%0D%0Aassembly+programming+while+preserving%0D%0Athe+degree+of+control.++The+syntax%0D%0Aand+data+model+of+Terse+are+almost%0D%0Atotally+bound+to+the+x86+architecture%3B%0D%0Aprogramming+in+Terse+requires+understanding%0D%0Athe+x86+data+types%2C+registers%2C+interrupts%2C%0D%0Aand+instruction+set+capabilities.++However%2C%0D%0ATerse+does+free+the+programmer+from+many%0D%0Aof+the+syntatic+and+lexical+constraints%0D%0Aof+assembly%2C+and+it+is+more+concise.%0D%0A%3Cbr%3E%0D%0ATerse+is+an+example+of+a+specialized+kind%0D%0Aof+language%2C+the+%3Ci%3Estructured%0D%0Aassembler%3C%2Fi%3E.++There+have+been+a+several%0D%0Astructured+assemblers+developed+over+the%0D%0Ayears%2C+but+the+popularity+of+such+languages%0D%0Adeclined+with+the+rise+in+popularity+of+C.%0D%0A%3Cbr%3E%0D%0AThe+main+uses+for+Terse+are+writing%0D%0Amodules+and+programs+that+require+the%0D%0Alow-level+control+of+assembly+language%3A%0D%0Adrivers%2C+embedded+control+systems%2C+data%0D%0Aacquisition%2C+and+I%2FO+sub-systems. links1=Terse+home+site%3Dhttp%3A%2F%2Fwww.terse.com%2F links2= links3= links4= links5= date=Last+updated+11%2F7%2F99 sample=An+implementation+of+the+Sieve+in%0D%0ATerse%2C+by+the+Jim+Neil.%0D%0A%3Cp%3E%0D%0A%3Cfont+size%3D%22-1%22%3E%0D%0A%3Cpre%3E%0D%0Acode+Segment%3B+++++++++++++++++++++++++++%5C+define+code+Segment.%0D%0AOrg+0100h%3B++++++++++++++++++++++++++++++%5C+all+.COM+programs+start+at+0100h.%0D%0A%0D%0Adata+Segment%3B+++++++++++++++++++++++++++%5C+define+data+Segment.%0D%0A++++++++%27+First2+%3D%271%27%2C+%3D13%2C+%3D10%2C++++++++%5C+Initial+2+primes+message+text...%0D%0A+++++++++++++++++%3D%272%27%2C+%3D13%2C+%3D10%2C+%3D24h%3B++%5C+followed+by+a+%24+for+DOS.%0D%0A++++++++%27+Primes+%3D%22+primes.%22%2C+++++++++++%5C+declare+message+text...%0D%0A++++++++++++++++++crlf+%3D13%2C+%3D10%2C+%3D24h%3B++%5C+followed+by+CR%2C+LF+and+%24+for+DOS.%0D%0AEOP+++++Label+Byte%3B+++++++++++++++++++++%5C+define+End+Of+Program.%0D%0Adata+EndS%3B++++++++++++++++++++++++++++++%5C+close+data+segment%2C+goes+after+code.%0D%0A%0D%0A%5C%0D%0A%5C+++Computes+and+displays+all+of+the+primes+between+0+and+65536+using+the%0D%0A%5C+++Eratosthenes%27+Sieve+method.++Note+that+the+first+2+primes+%281+and+2%29%0D%0A%5C+++are+handled+as+a+special+case.%0D%0A%5C%0D%0A%5C%0D%0A%0D%0A++++++++dx+%3D+O%28First2%29%3B+ah+%3D+9%3B+%2121h%3B+++%5C%2A+print+first+2+primes+using+DOS.%0D%0A++++++++sp+%3D+O%28EOP+++512%29%3B++++++++++++++%5C+set+up+256+word+stack+at+end+of+prog.%0D%0A++++++++bx+%3D+sp+++15+%3E+4%3B+++++++++++++++%5C+bx+%3D+number+of+paragraphs+we+use.%0D%0A++++++++es+%3D+ds+%3D+ax+%3D+cs+++bx%3B+++++++++%5C+setup+ds%2Ces+to+free+space+past+stack.%0D%0A%0D%0A++++++++cx+%3D+32768%3B+ax+%3D+%28-1%29%3B+%26di%3B+++++%5C+cx+%3D+number%2C+ax+%3D+value%2C+di+%3D+offset.%0D%0A+++++++++%3B+%3C%3E+%2A%2A+%3D%3B+++++++++++++++++++++%5C+auto-inc%2C+clear+full+64K+flags+array.%0D%0A++++++++%0D%0A++++++++bx+%3D+2%3B+%26si%3B+%26ch%3B+++++++++++++++%5C+count+%3D+2+%28for+1+%26+2%29%2C+i+%3D+0%2C+ch+%3D+0.%0D%0A++++++++%7B+++++++++++++++++++++++++++++++%5C+do...%0D%0A++++++++++cl+%3D+%5Bsi%5D%3B+%3F%3C%3E++++++++++++++++%5C+if+flags%5Bi%5D+is+non-zero...%0D%0A++++++++++%7B+++++++++++++++++++++++++++++%5C+then...%0D%0A++++++++++++dx+%3D+si+++si+++3%3B+%3C%3C1%3B++++++%5C+prime+%3D+i+%2A+2+++3%2C+break+if+done...%0D%0A++++++++++++ax+%3D+dx%3B+%3D.PrintNum%3B++++++++%5C%2A+print+prime+using+PrintNum.%0D%0A++++++++++++ax+%3D+H%2814%29+L%2813%29%3B+%2110h%3B+++++%5C%2A+print+CR+using+BIOS.%0D%0A++++++++++++ax+%3D+H%2814%29+L%2810%29%3B+%2110h%3B+++++%5C%2A+print+LF+using+BIOS.%0D%0A++++++++++++di+%3D+si+++dx%3B+%3E%3E++++++++++++%5C+k+%3D+i+++prime%2C+if+%26+while+k+%3C%3C+limit%2C%0D%0A++++++++++++%7B+%5Bdi%5D+%3D+ch%3B+di+++dx%3B+%7D%3E%3E%3B++%5C+do+flags%5Bk%5D+%3D+0%2C+k+%3D+k+++prime.%0D%0A++++++++++++bx+%3B++++++++++++++++++++++++%5C+count+%3D+count+++1%3B%0D%0A++++++++++%7D%3B++++++++++++++++++++++++++++%5C+endif+flags%5Bi%5D+is+non-zero.%0D%0A++++++++++si+%3B++++++++++++++++++++++++++%5C+i+%3D+i+++1.%0D%0A++++++++%7D.%3B+++++++++++++++++++++++++++++%5C+loop+forever--+break+gets+us+out.%0D%0A%0D%0A++++++++es+%3D+ds+%3D+ax+%3D+cs%3B++++++++++++++%5C+restore+ds+and+es.%0D%0A++++++++ax+%3D+bx%3B+%3D.PrintNum%3B++++++++++++%5C+print+ax+in+decimal+to+screen.%0D%0A++++++++dx+%3D+O%28Primes%29%3B+ah+%3D+9%3B+%2121h%3B+++%5C+print+%22+primes.%22+using+DOS.%0D%0A++++++++%2120h%3B+++++++++++++++++++++++++++%5C+return+to+DOS.%0D%0A%0D%0A%3C%2Fpre%3E%0D%0A%3C%2Ffont%3E%0D%0A _store=1 _add=Terse _usertab=1 _usersearch=0 _format=full = name=TeX nameURL=http%3A%2F%2Fwww.tug.org%2F see= logo= type=A+-+Application%2FMacro desc=TeX+is+a+descriptive%2C+interpreted+language%0D%0Aused+to+process%2C+format%2C+and+typeset+%0D%0Adocuments.++TeX+also+has+many+of+the%0D%0Afacilities+of+a+block-structured+language%2C%0D%0Aand+is+used+to+extend+the+text+formatting%0D%0Asystem+of+which+it+is+a+part.%0D%0A%3Cbr%3E%0D%0ATeX+statements+%28macro+calls%29+are+normally+%0D%0Aembedded+and+interspersed+through+text%0D%0Ato+be+formatted.++Most+TeX+programming%0D%0Ais+confined+to+macro+and+extension+%0D%0Apackages+written+to+allow+TeX+users+to%0D%0Acreate+new%2C+improved%2C+or+specialized+kinds%0D%0Aof+documents.%0D%0AFor+doing+this+kind+of+programming%2C+%0D%0ATeX+offers+string+and+numeric+data+types%2C%0D%0Avery+simple+control+flow+constructs%2C+%0D%0Aand+the+ability+to+define+macros+%28analogous%0D%0Ato+subroutines%29.%0D%0A%3Cbr%3E%0D%0ATeX+is+implemented+as+an+interpreted+%0D%0Amacro+processor+for+the+control+of+a+%0D%0Ageneral+engine+for+producing+typeset%0D%0Adocuments.++The+engine+provides+very%0D%0Asimple+but+general-purpose+formatting%0D%0Acommands+%28called+%3Ci%3EPlain+TeX%3C%2Fi%3E%29%2C%0D%0Aand+facilities+for+building+up+more%0D%0Asophisticated+commands+in+the+TeX%0D%0Alanguage.%0D%0A%3Cbr%3E%0D%0AWhile+TeX+is+powerful+enough+to+express%0D%0A%28at+least%29+all+primitive+recursive+%0D%0Apredicates%2C+its+syntax+makes+it+ill-suited%0D%0Afor+general-purpose+computation.%0D%0A%3Cbr%3E%0D%0ASeveral+commercial+and+free+implementations%0D%0Aof+TeX+exist.++Free+versions+of%0D%0ATeX+for+Unix%2C+Mac%2C+Linux%2C+Windows%2C+and+other%0D%0Asystems+can+be+downloaded+%0D%0Afrom+sites+on+the+Comprehensive+TeX%0D%0AArchive+Network.++ origin=Donald+Knuth%2C+1978%2C+1982. seealso=troff remark=TeX%2C+and+the+various+extension+packages%0D%0Afor+it%2C+are+very+heavily+used+in+academic%0D%0Ato+format+books%2C+dissertations%2C+and+scholarly%0D%0Apapers.++TeX+is+especially+popular+in+the%0D%0Amathematics+and+physics+communities+because%0D%0Ait+has+superlative+support+for+typesetting%0D%0Amathematical+formulae.++Using+TeX+as%0D%0Aa+programming+language%2C+document+authors%0D%0Acan+create+new+formatting+techniques+and%0D%0Aprocedures+to+meet+their+specific%0D%0Arequirements.++For+example%2C+many+people%0D%0Aemploy+TeX+packages+to+collect+and%0D%0Aformat+index+and%0D%0Abibliography+data+for+their+documents.%0D%0A%3Cbr%3E%0D%0AMany+good+books+about+TeX+exist%2C+check+the+%0D%0Aweb+sites+linked+here+for+more+information.%0D%0A links1=Comprehensive+TeX+Archive+Network%3Dhttp%3A%2F%2Ftug2.cs.umb.edu%2Fctan%2F links2=Main+TeX+FAQ+List%3Dhttp%3A%2F%2Fwww.cogs.susx.ac.uk%2Fcgi-bin%2Ftexfaq2html%3Fintroduction%3Dyes links3= links4= links5= date=Last+updated+12%2F20%2F97 sample=%3Cpre%3E%0D%0A%25+Code+to+test+whether+a+given+year+is%0D%0A%25+a+leap-year.++From+%0D%0A%25+S.+Bechtolsheim%27s+%22TeX+in+Practice%22+volume+3.%0D%0A%0D%0A%5CInputD%7Bimodn.tip%7D%0D%0A%5Cnewif%5Cif%40LeapYear%0D%0A%5Cdef%5CLeapYearConditional+%231%7B%25%0D%0A++++TT%5Cfi%0D%0A++++%7B%25%0D%0A++++++++%5Ccount0+%3D+%231%5Crelax%0D%0A++++++++%5CIModN%7B%5Ccount0%7D%7B4%7D%7B%5Ccount1%7D%25%0D%0A++++++++%5Cifnum%5Ccount1+%3D+0%0D%0A++++++++++++%5Cglobal%5C%40LeapYeartrue%0D%0A++++++++++++%5CIModN%7B%5Ccount0%7D%7B100%7D%7B%5Ccount2%7D%25%0D%0A++++++++++++%5CIModN%7B%5Ccount0%7D%7B400%7D%7B%5Ccount3%7D%25%0D%0A++++++++++++%5Cifnum%5Ccount2+%3D+0%0D%0A++++++++++++++++%5Cglobal%5C%40LeapYearfalse%0D%0A++++++++++++%5Cfi%0D%0A++++++++++++%5Cifnum%5Ccount3+%3D+0%0D%0A++++++++++++++++%5Cglobal%5C%40LeapYeartrue%0D%0A++++++++++++%5Cfi%0D%0A++++++++%5Celse%0D%0A++++++++++++%5Cglobal%5C%40LeapYearfalse%0D%0A++++++++%5Cfi%0D%0A++++%7D%25%0D%0A++++%5Cif%40LeapYear%0D%0A%7D%0D%0A%3C%2Fpre%3E _store=1 _add=TeX _usertab=1 _usersearch=0 _format=full = name=Theta nameURL=http%3A%2F%2Fclef.lcs.mit.edu%2FTheta.html see= logo=80x111%3Dhttp%3A%2F%2Fclef.lcs.mit.edu%2Ftheta.gif type=O+-+Object-oriented desc=Theta+is+an+object-oriented+language+with%0D%0Aa+sophisticated+and%0D%0Aflexible+type+system%2C+developed+by+%0D%0Athe+MIT+Programming+Methodology+Group.%0D%0A%3Cbr%3E%0D%0ATheta+supports+a+fairly+conventional+set%0D%0Aof+built-in+data+types+and+control%0D%0Astructures.++Integers%2C+reals%2C+characters%2C%0D%0Astrings%2C+booleans%2C+and+subroutine%0D%0Areferences+are+all+primitive+types.%0D%0AComposite+types+are+parameterized+%28generic%29%2C%0D%0Aand+include+arrays%2C+sequences%2C+vectors%2C%0D%0Arecords%2C+and+structs.%0D%0AControl+structures+include+conditional%0D%0Aand+loop+constructs%2C+and+simple%0D%0Aexception+handling.%0D%0A%3Cbr%3E%0D%0AThe+parameterized+type+system+of+Theta+is%0D%0Avery+powerful%2C+and+allows+a+programmer+to%0D%0Acleanly+define+new+abstract+type+%0D%0Atemplates+with+desired+properties.%0D%0A%3Cbr%3E%0D%0AObject+classes+in+Theta+are+associated%0D%0Awith+user-defined+types%3A+a+type+is%0D%0Aimplemented+by+one+or+more+classes.%0D%0ATheta+supports+single+inheritance+for%0D%0Aclasses%3B+the+programmer+can+restrict+how%0D%0Aa+class+may+be+subclassed+%28like+Java+but%0D%0Amore+flexibly%29.%0D%0A%3Cbr%3E%0D%0ATheta+uses+a+rooted+type+hierarchy%3A+all%0D%0Atypes+are+subtypes+of+%22any%22%0D%0A%28even+built-ins+like+%22int%22%29.%0D%0ARoutine+types+are+also+part+of+the%0D%0Ahierarchy%2C+and+the+type+rules+are+used%0D%0Ato+enforce+method+call+type+conformance.+%0D%0ATypes+are+decoupled+from+classes.%0D%0A%3Cbr%3E%0D%0ATheta+supports+separately+compiled+modules%2C%0D%0Aoptionally+supplying+multiple+implementations%0D%0Afor+a+particular+type+interface.%0D%0A%3Cbr%3E%0D%0AMemory+management+in+Theta+is+dynamic%0D%0Aand+automatic.++Unreferenced+objects%0D%0Aare+reclaimed+by+a+garbage+collector.%0D%0AThe+Thor+database+provides+object+persistence%0D%0Afor+Theta+objects.%0D%0A%3Cbr%3E%0D%0AAs+of+early+1998%2C+the+MIT+Theta+implementation%0D%0Awas+not+available+for+download%2C+possibly+%0D%0Abecause+Theta+is+bound+to+Thor%3F++The+Theta%0D%0Areference+manual+is+available+%28link+below%29. origin=Barbara+Liskov+%3Ci%3Eet+al%3C%2Fi%3E%2C+MIT%2C+1994. seealso=CLU%2C+Modula-3%2C+C++ remark=Theta+was+developed+to+be+the+programming%0D%0Alanguage+for+Thor%2C+a+distributed+transactional%0D%0AOO+database+system.++One+of+the+goals%0D%0Aof+the+overall+Thor+project+was+to%0D%0Astudy+distributed+object+systems%2C+and+the%0D%0ATheta+language+embodies+features+derived%0D%0Afrom+that+research. links1=Theta+language+reference+manual%3Dhttp%3A%2F%2Fclef.lcs.mit.edu%2Fpapers%2Fthetaref%2Findex.html links2= links3= links4= links5= date=Last+updated+1%2F8%2F98 sample= _store=1 _add=Theta _usertab=1 _usersearch=0 _format=full = name=Turing nameURL=http%3A%2F%2Fwww.holtsoft.com%2Fturing%2Fhome.html see= logo=96x66%3Dhttp%3A%2F%2Fwww.holtsoft.com%2Fturing%2Fturing_logo.gif type=S+-+block-structured desc=Turing+is+a+structured+programming+language%0D%0Adesigned+for+teaching+computing+principles%0D%0Aand+for+simple+graphics.++Used+mainly+in%0D%0Ahigh+schools%2C+Turing+is+meant+to+be+simple%0D%0Aand+usable+while+supporting+good+programming%0D%0Apractices.%0D%0A%3Cbr%3E%0D%0AThe+syntax+of+Turing+is+similar+to+that%0D%0Aof+Pascal%2C+but+much+more+forgiving.%0D%0AData+types+include+numbers%2C+characters%2C%0D%0Aand+strings%2C+plus+arrays+and+records.%0D%0ALike+Pascal%2C+Turing+also+supports+variant%0D%0Arecords+and+references.%0D%0ALooping+and+conditional+constructs+are%0D%0Aavailable+in+the+language%2C+and+seem+a+%0D%0Alittle+more+comprehensive+than+those+in+%0D%0APascal.%0D%0ASubroutines+and+functions+are+used+to%0D%0Amodularize+Turing+programs%2C+and+recursion%0D%0Ais+also+supported.%0D%0AIn+addition+to+commonplace+structured%0D%0Aprogramming+statements%2C+Turing+also+supports%0D%0Aspecification+of%0D%0Ainvariants+and+assertions%2C+%0D%0Alike+Eiffel%2C+to+help+%0D%0Aencourage+sound+algorithm+construction.%0D%0A%3Cbr%3E%0D%0ARecent+versions+of+Turing+have+gained%0D%0Alibraries+for+supporting+graphics+and%0D%0AGUIs%2C+animation%2C+and+other+multi-media%0D%0Aoperations.%0D%0A%3Cbr%3E%0D%0AA+variant+of+Turing+called+%22Turing+Plus%22%0D%0Awas+designed+for+system+programming%3B+it%0D%0Afeatured+type+casting+and+multi-processing%2C%0D%0Aplus+unsigned+numeric+types+and+other%0D%0Asystem+programming+conveniences.%0D%0AThis+dialect+seems+to+be+no+longer+available%0D%0Abut+many+of+the+features+in+it+seem+to+have%0D%0Abeen+rolled+into+Object-Oriented+Turing+%28OOT%29.%0D%0A%3Cbr%3E%0D%0ATuring+is+available+for+Windows%2C+Mac%2C%0D%0Aand+Unix+operating+systems%2C+but+only%0D%0Aas+a+commercial+product.++There+is+no%0D%0Afree+downloadable+version+or+documentation.%0D%0ASchools+can+get+free+trial+licences. origin=R.C.+Holt+%3Ci%3Eet+al%3C%2Fi%3E%2C+Univ.+of+Toronto%2C+1987 seealso=Pascal%2C+Eiffel remark=Turing+seems+to+be+more+popular+in+Canada%0D%0Athan+in+other+parts+of+the+world.%0D%0A%3Cbr%3E%0D%0AOriginally%2C+Turing+was+conceived+as+a+kind%0D%0Aof+%22super-Pascal%22%2C+a+language+with+Pascal%27s%0D%0Aease-of-use+and+expressiveness%2C+but+without%0D%0Asome+of+Pascal%27s+recognized+problems.%0D%0AThe+operation+of+programs+written+in+Turing%0D%0Awas+defined+formally+using+axiomatic%0D%0Asemantics%2C+very+unusual+for+a+language%0D%0Ameant+for+teaching+beginners.%0D%0AIt+was+developed+by+the+Holt+Group+%28under%0D%0AProf.+R.C.+Holt%29+at+U.+of+Toronto+in+the+late%0D%0A1980s+and+early+90s%2C+and+since+about+1994%0D%0Ahas+been+a+commericial+product+targeted+%0D%0Amainly+at+teachers.%0D%0A%3Cbr%3E%0D%0AAn+extended+version+of+Turing%2C+called%0D%0AObject-Oriented+Turing%2C+features+inheritance%2C%0D%0Aencapsulation%2C+concurrency%2C+delegation%2C%0D%0Aand+other+OOP+mechanisms%2C+but+with+syntax%0D%0Avery+similar+to+that+of+original+Turing.%0D%0A%28Relationship+seems+to+be+like+that+of+C%0D%0Aand+C++.%29++Unfortunately%2C+very+little+%0D%0Adetailed+information+about+OOT+seems+to%0D%0Abe+available+on+the+WWW. links1=Turing%27s+old+home+at+U.+of+Toronto%3Dhttp%3A%2F%2Fwww.turing.toronto.edu%2F links2=Technical+Info+on+Turing%2C+Holt+Software%3Dhttp%3A%2F%2Fwww.holtsoft.com%2Fturing%2Ftech.html links3=Programming+in+Turing%3Dhttp%3A%2F%2Fwww.geocities.com%2FSiliconValley%2FNetwork%2F2424%2F links4=Lecture+notes+introducing+Turing%3Dhttp%3A%2F%2Fwww.doc.ic.ac.uk%2Flab%2Ffirstyear%2Fturing_lecture_notes%2Fturing_notes.html links5= date=Last+updated+11%2F21%2F98 sample=Placeholder+until+I+get+a+better+example.%0D%0A%3Cp%3E%0D%0A%3Cpre%3E%0D%0A+++%25+Roll+a+die+until+you+get+6.++%28This+is+a+comment%29%0D%0A+++++var+die+%3A+int%0D%0A+++++loop%0D%0A++++++++++randint+%28die%2C+1%2C+6%29%0D%0A++++++++++exit+when+die+%3D+6%0D%0A++++++++++put+%22This+roll+is+%22%2C+die%0D%0A+++++end+loop%0D%0A+++++put+%22Stopping+with+roll+of+6%22%0D%0A%3C%2Fpre%3E _store=1 _add=Turing _usertab=1 _usersearch=0 _format=full =