Special Language Features
//lines begining with a double slash are comments
!command will execute any unix command
ex editor commands are intact
see http://www.networkcomputing.com/unixworld/tutorial/009/009.html
webfetch from URL to file
will get the source of a web page. (It may be necessary to 'quote'
the URL if it is suitably complex)
store webimage from URL to FILE
will get an interpreted web page.
activate FILE
will make the file executable.
load FILE
clears working memory and loads the file.
add File
adds the file to working memory.
save as File
saves working memory into the specified file.
exit
quits without saving working memory
endit
on the last line *only* will save working memory and terminate
(if it is not important that working memory is saved then the program
can simply end)
begin insert text
begin add text
allows explicit addition of data (text + flags) to working memory
(the add/insert distintion is as in vi/ex )
end text
signals the end of text
insert text
the text which follows is inserted into working memory before the current
cursor
add text
the text which follows is added into working memory after the current
cursor
end text
terminates an insert text or add text sequence
find pattern
finds the next occurance of a pattern
top of memory
returns to the top level of working memory
cut above
eliminates working memory above current cursor
cut to here
eliminates working memory up to and including current cursor
cut below
eliminates working memory past current cursor
cut from here
eliminates working memory starting with the current curor
localize urls to http:\/\/new.url.?\/
takes local references without the full url path and places them after
the extention specified. Note that this extention can either be the
original implied extension or in a new extention to where the html
code is being moved. Note also that meta characters occuring in the
url path specification must be backslashed.
if patterna then patternb
if patterna exists in working memory then it is replaced with patternb
throughout working memeory
if here patterna then patternb
Only applies to the current working memory element and only to the first
occurance.
delete # lines
Deletes the specified number of lines from working memory
delete through pattern
deletes from current location in working memory to the first occurence
of the specified pattern
delete until pattern
deletes from the current location in working memory continiously until
the specified pattern is found, but that segment is not deleted.
remove all pattern
deletes all instances of pattern from records in working memory
remove pattern
if present, removes an instance of the pattern from the current working
memory element
Debug info. If the first line is exit then probably the aiwt.system is
not executing.
lexical analysis from File
Perform a lexical analysis of working memory based on specifications in the file.
remove lexical
Removes all lexical flags from working memory
gramatical analysis from File
Perform a gramatical analysis of working memory based on specification in the file. May require lexical analysis flags
remove gramatical
Removes all gramatical flags from working memory
semantic analysis from File
Perform a semantic analysis of working memory based on specifications in the file. Will require prior gramatical analysis.
remove semantic
Removes all semantic flags and op-codes from working memory