About: COMEFROM     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatProgrammingLanguages, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FCOMEFROM&graph=http%3A%2F%2Fdbpedia.org&graph=http%3A%2F%2Fdbpedia.org

In computer programming, COMEFROM (or COME FROM) is an obscure control flow structure used in some programming languages, originally as a joke. COMEFROM is the inverse of GOTO in that it can take the execution state from any arbitrary point in code to a COMEFROM statement.

AttributesValues
rdf:type
rdfs:label
  • COMEFROM (en)
  • COMEFROM (it)
  • Comefrom文 (ja)
  • COME FROM (pl)
rdfs:comment
  • プログラミング言語におけるcomefrom文(カムフロム文、英: comefrom statement)とは、コード内の任意のポイント(専らラベルで指定される)から、そのcomefrom文の場所へ制御がジャンプ(移動)するという制御構造のひとつである「文」である。goto文とほぼ反対の働きをするものであり、元々は冗談として提唱されたものだったが、一部のプログラミング言語で実際に実装されている。gotoがgo toとも書かれるように、comefromもcome fromとも書かれる。 (ja)
  • COME FROM lub COMEFROM – instrukcja przeciwna do instrukcji skoku (GO TO lub GOTO) rozwinięta przez . Ma charakter eksperymentu myślowego i, jak na razie, znajduje zastosowanie jedynie w nielicznych kompilatorach ezoterycznych języków programowania, np. INTERCALu. Jej działanie polega na tym, że w momencie wykonania kodu pod wskazaną etykietą następuje skok do instrukcji znajdującej bezpośrednio po instrukcji COME FROM. (pl)
  • In computer programming, COMEFROM (or COME FROM) is an obscure control flow structure used in some programming languages, originally as a joke. COMEFROM is the inverse of GOTO in that it can take the execution state from any arbitrary point in code to a COMEFROM statement. (en)
  • Nei linguaggi di programmazione, COMEFROM (o COME FROM) è una oscura struttura di controllo usata in alcuni linguaggi di programmazione, originariamente pensata come uno scherzo. COMEFROM è a grandi linee l'opposto di GOTO in quanto può acquisire lo stato di esecuzione da un punto arbitrario del codice verso una istruzione COMEFROM. Il punto del codice dal quale lo stato attivo viene trasferito è usualmente passato come parametro di COMEFROM. Il fatto che il trasferimento avvenga prima o dopo l'istruzione indicata al punto di origine dipende dal linguaggio utilizzato. Sempre dipendente dal linguaggio, la possibilità di riferire più istruzioni COMEFROM alla stessa origine nel codice può risultare non valida, essere non deterministica, richiamare i vari (it)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
Link from a Wikipage to an external page
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • In computer programming, COMEFROM (or COME FROM) is an obscure control flow structure used in some programming languages, originally as a joke. COMEFROM is the inverse of GOTO in that it can take the execution state from any arbitrary point in code to a COMEFROM statement. The point in code where the state transfer happens is usually given as a parameter to COMEFROM. Whether the transfer happens before or after the instruction at the specified transfer point depends on the language used. Depending on the language used, multiple COMEFROMs referencing the same departure point may be invalid, be non-deterministic, be executed in some sort of defined priority, or even induce parallel or otherwise concurrent execution as seen in Threaded Intercal. A simple example of a "COMEFROM x" statement is a label x (which does not need to be physically located anywhere near its corresponding COMEFROM) that acts as a "trap door". When code execution reaches the label, control gets passed to the statement following the COMEFROM. This may also be conditional, passing control only if a condition is satisfied, analogous to a GOTO within an IF statement. The primary difference from GOTO is that GOTO only depends on the local structure of the code, while COMEFROM depends on the global structure – a GOTO transfers control when it reaches a line with a GOTO statement, while COMEFROM requires scanning the entire program or scope to see if any COMEFROM statements are in scope for the line, and then verifying if a condition is hit. The effect of this is primarily to make debugging (and understanding the control flow of the program) extremely difficult, since there is no indication near the line or label in question that control will mysteriously jump to another point of the program – one must study the entire program to see if any COMEFROM statements reference that line or label. Debugger hooks can be used to implement a COMEFROM statement, as in the humorous Python goto module; see below. This also can be implemented with the gcc feature "asm goto" as used by the Linux kernel configuration option CONFIG_JUMP_LABEL. A no-op has its location stored, to be replaced by a jump to an executable fragment that at its end returns to the instruction after the no-op. (en)
  • プログラミング言語におけるcomefrom文(カムフロム文、英: comefrom statement)とは、コード内の任意のポイント(専らラベルで指定される)から、そのcomefrom文の場所へ制御がジャンプ(移動)するという制御構造のひとつである「文」である。goto文とほぼ反対の働きをするものであり、元々は冗談として提唱されたものだったが、一部のプログラミング言語で実際に実装されている。gotoがgo toとも書かれるように、comefromもcome fromとも書かれる。 (ja)
  • Nei linguaggi di programmazione, COMEFROM (o COME FROM) è una oscura struttura di controllo usata in alcuni linguaggi di programmazione, originariamente pensata come uno scherzo. COMEFROM è a grandi linee l'opposto di GOTO in quanto può acquisire lo stato di esecuzione da un punto arbitrario del codice verso una istruzione COMEFROM. Il punto del codice dal quale lo stato attivo viene trasferito è usualmente passato come parametro di COMEFROM. Il fatto che il trasferimento avvenga prima o dopo l'istruzione indicata al punto di origine dipende dal linguaggio utilizzato. Sempre dipendente dal linguaggio, la possibilità di riferire più istruzioni COMEFROM alla stessa origine nel codice può risultare non valida, essere non deterministica, richiamare i vari punti del codice in sequenza o avviare processi in parallelo o concorrente. Un semplice esempio di istruzione "COMEFROM x" prevede l'utilizzo di un'etichetta, posizionata in un punto del codice altro rispetto al relativo COMEFROM, che agisce come una sorta di "trappola". Quando l'esecuzione del codice raggiunge l'etichetta, l'esecuzione si trasferisce all'istruzione successiva al COMEFROM. L'effetto principale è di rendere il debugging (e la compressione del flusso del software) estremamente difficile, dato che non c'è alcuna indicazione in prossimità dell'etichetta che l'esecuzione misteriosamente possa saltare da un'altra parte del programma. (it)
  • COME FROM lub COMEFROM – instrukcja przeciwna do instrukcji skoku (GO TO lub GOTO) rozwinięta przez . Ma charakter eksperymentu myślowego i, jak na razie, znajduje zastosowanie jedynie w nielicznych kompilatorach ezoterycznych języków programowania, np. INTERCALu. Jej działanie polega na tym, że w momencie wykonania kodu pod wskazaną etykietą następuje skok do instrukcji znajdującej bezpośrednio po instrukcji COME FROM. (pl)
gold:hypernym
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (62 GB total memory, 47 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software