Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
TECO (text editor)
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Description== TECO is not only an editor but also an [[interpreter (computer software)|interpreted]] [[programming language]] for text manipulation. Arbitrary programs (called "macros") for searching and modifying text give it great power. Unlike [[regular expressions]], however, the language was [[Imperative programming|imperative]], though some versions had an "or" operator in string search. TECO does not really have [[syntax]]; each character in a program is an imperative command, dispatched to its corresponding routine. That routine may read further characters from the program stream (giving the effect of string arguments), change the position of the "program counter" (giving the effect of control structures), or push values onto a value stack (giving the effect of nested parentheses). But there is nothing to prevent operations like jumping into the middle of a comment, since there is no syntax and no parsing. TECO ignores [[letter case|case]] and [[whitespace character|whitespace]] (except [[tab character|tab]], which is an insertion command).<ref>{{cite web |quote=<tab>text$, Inserts specified text preceded by a tab. |url=http://www.avanthar.com/healyzh/teco/TecoPocketGuide.html |title=TECO Pocket Guide}}</ref> A satirical essay on computer programming, "[[Real Programmers Don't Use Pascal]]", suggested that a common game for TECO fans was to enter their name as a command sequence, and then try to work out what would happen. The same essay in describing TECO coined the [[acronym]] ''YAFIYGI'', meaning "You Asked For It You Got It" (in contrast to [[WYSIWYG]]).
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
TECO (text editor)
(section)
Add topic