Error processing request
Parameters
CONTENT_LENGTH | 0 |
REQUEST_METHOD | GET |
REQUEST_URI | /revision/Creating+Commands?V=43 |
QUERY_STRING | V=43 |
CONTENT_TYPE | |
DOCUMENT_URI | /revision/Creating+Commands |
DOCUMENT_ROOT | /var/www/nikit/nikit/nginx/../docroot |
SCGI | 1 |
SERVER_PROTOCOL | HTTP/1.1 |
HTTPS | on |
REMOTE_ADDR | 172.69.6.124 |
REMOTE_PORT | 30322 |
SERVER_PORT | 4443 |
SERVER_NAME | wiki.tcl-lang.org |
HTTP_HOST | wiki.tcl-lang.org |
HTTP_CONNECTION | Keep-Alive |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_X_FORWARDED_FOR | 3.128.197.221 |
HTTP_CF_RAY | 885feec82e22616b-ORD |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected]) |
HTTP_CF_CONNECTING_IP | 3.128.197.221 |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_IPCOUNTRY | US |
Body
Error
Unknow state transition: LINE -> END
-code
1
-level
0
-errorstack
INNER {returnImm {Unknow state transition: LINE -> END} {}} CALL {my render_wikit {Creating Commands} {Tcl provides several commands which create commands and script evaluation contexts.
The purpose of this page is to enumerate and classify those commands.
* [[[proc]]]
* [[[apply]]] creates an anonymous command
* [[[interp] create]] creates a named slave interp command
* [[[interp] alias]] creates a named alias to another command
* [[[thread] create]] creates an opaque token associated with a thread
* [[[namespace ensemble]]] creates a namespace command from a namespace
* [[[class] create] creates a named class command
* [[$class create]] creates an opaquely named object instance command
* [[[coroutine]]] creates a named coroutine command
----
%|generator|cmd?|#args|invocation|destructor|rename?|%
&|proc|yes|any|by name||yes|&
&|[coroutine]|yes|1|by name||yes|&
&|[namespace] ensemble|yes|any|by name|[namespace] delete|yes|&
&|class create|yes|any|by name|$class destroy|yes|&
&|$class create|yes|any|by name|$obj destroy|yes|&
&|interp alias|yes|any|by name|interp alias|yes|&
&|interp create|yes|any|$interp eval|$interp destroy|yes|&
&|thread::create|no|any|thread::send|thread::release|no|&
&|apply|no|any|by reference|''implicit''|no|&
----
%|key|%
&|generator|what command generates an instance of this form?|&
&|cmd?|does this form construct a command?|&
&|#args|how many args does the constructed form take?|&
&|invocation|how is this form invoked?|&
&|destructor|what explicit destructor disposes of this form?|&
&|rename?|does [[rename $name {}] destroy this form?|&
** Observations **
The generation of commands appears to be a means of invoking the form and of controlling the resources associated with the form.
There are two exceptions: In the case of [apply], resources are associated with a value, and the lifetime of the generated form is tied to that of the value. In the case of [thread], explicit refcounting is emplyed. In all other cases [[[rename]] $name {}] destroys both the command and its associated form.
** Irregularities **
[interp]-created commands duplicate functionality available through [interp], to control interp resources. It would be more consistent with the other forms if $interp args were passed directly into the interp as if [[interp eval]]'d.
[coroutine]-created commands are the only forms restricted to single args.
======
<<categories>>Enter Category Here} regexp2} CALL {my render {Creating Commands} {Tcl provides several commands which create commands and script evaluation contexts.
The purpose of this page is to enumerate and classify those commands.
* [[[proc]]]
* [[[apply]]] creates an anonymous command
* [[[interp] create]] creates a named slave interp command
* [[[interp] alias]] creates a named alias to another command
* [[[thread] create]] creates an opaque token associated with a thread
* [[[namespace ensemble]]] creates a namespace command from a namespace
* [[[class] create] creates a named class command
* [[$class create]] creates an opaquely named object instance command
* [[[coroutine]]] creates a named coroutine command
----
%|generator|cmd?|#args|invocation|destructor|rename?|%
&|proc|yes|any|by name||yes|&
&|[coroutine]|yes|1|by name||yes|&
&|[namespace] ensemble|yes|any|by name|[namespace] delete|yes|&
&|class create|yes|any|by name|$class destroy|yes|&
&|$class create|yes|any|by name|$obj destroy|yes|&
&|interp alias|yes|any|by name|interp alias|yes|&
&|interp create|yes|any|$interp eval|$interp destroy|yes|&
&|thread::create|no|any|thread::send|thread::release|no|&
&|apply|no|any|by reference|''implicit''|no|&
----
%|key|%
&|generator|what command generates an instance of this form?|&
&|cmd?|does this form construct a command?|&
&|#args|how many args does the constructed form take?|&
&|invocation|how is this form invoked?|&
&|destructor|what explicit destructor disposes of this form?|&
&|rename?|does [[rename $name {}] destroy this form?|&
** Observations **
The generation of commands appears to be a means of invoking the form and of controlling the resources associated with the form.
There are two exceptions: In the case of [apply], resources are associated with a value, and the lifetime of the generated form is tied to that of the value. In the case of [thread], explicit refcounting is emplyed. In all other cases [[[rename]] $name {}] destroys both the command and its associated form.
** Irregularities **
[interp]-created commands duplicate functionality available through [interp], to control interp resources. It would be more consistent with the other forms if $interp args were passed directly into the interp as if [[interp eval]]'d.
[coroutine]-created commands are the only forms restricted to single args.
======
<<categories>>Enter Category Here}} CALL {my revision {Creating Commands}} CALL {::oo::Obj1369739 process revision/Creating+Commands} CALL {::oo::Obj1369737 process}
-errorcode
NONE
-errorinfo
Unknow state transition: LINE -> END
while executing
"error $msg"
(class "::Wiki" method "render_wikit" line 6)
invoked from within
"my render_$default_markup $N $C $mkup_rendering_engine"
(class "::Wiki" method "render" line 8)
invoked from within
"my render $name $C"
(class "::Wiki" method "revision" line 31)
invoked from within
"my revision $page"
(class "::Wiki" method "process" line 56)
invoked from within
"$server process [string trim $uri /]"
-errorline
4