History Search
- forth
- block
- spin
- commodore
- bug
- break
- check-in
- , commercial at 0101 65 0x41 a 0102 66 0x42 b 0103 67 0x43 c 0104 68 0x44 d 0105 69 0x45 e 0106 70 0x46 f 0107 71 0x47 g 0110 72 0x48 h 0111 73 0x49 i 0112 74 0x4a j 0113 75 0x4b k 0114 76 0x4c l 0115 77 0x4d m 0116 78 0x4e n 0117 79 0x4f o 0120 80 0x50 p 0121 81 0x51 q 0122 82 0x52 r 0123 83 0x53 s 0124 84 0x54 t 0125 85 0x55 u 0126 86 0x56 v 0127 87 0x57 w 0130 88 0x58 x 0131 89 0x59 y 0132 90 0x5a z 0133 91 0x5b [, open square bracket 0134 92 0x5c \, backslash 0135 93 0x5d ], close square bracket 0136 94 0x5e ^, caret 0137 95 0x5f _, underscore 0140 96 0x60 `, back quote 0141 97 0x61 a 0142 98 0x62 b 0143 99 0x63 c 0144 100 0x64 d 0145 101 0x65 e 0146 102 0x66 f 0147 103 0x67 g 0150 104 0x68 h 0151 105 0x69 i 0152 106 0x6a j 0153 107 0x6b k 0154 108 0x6c l 0155 109 0x6d m 0156 110 0x6e n 0157 111 0x6f o 0160 112 0x70 p 0161 113 0x71 q 0162 114 0x72 r 0163 115 0x73 s 0164 116 0x74 t 0165 117 0x75 u 0166 118 0x76 v 0167 119 0x77 w 0170 120 0x78 x 0171 121 0x79 y 0172 122 0x7a z 0173 123 0x7b {, open curly bracket 0174 124 0x7c |, vertical bar 0175 125 0x7d }, close curly bracket 0176 126 0x7e ~, tilde 0177 127 0x7f delete see nul, soh, stx, etx, etx, eot, enq, ack, bel, bs, ht, line feed, vt, ff, cr, so, si, dle, xon, dc1, dc2, dc3, dc4, nak, syn, etb, can, em, sub, esc, fs, gs, rs, us, space, exclamation mark, double quote, hash, dollar, percent, ampersand, quote, open parenthesis, close parenthesis, asterisk, plus, comma, minus, full stop, oblique stroke, colon, semicolon, less than, equals, greater than, question mark, commercial at, open square bracket, backslash, close square bracket, caret, underscore, back quote, open curly bracket, vertical bar, close curly bracket, tilde, delete. last updated: 1996-06-24
- [Clear Recent History...]
|
Từ điển Máy Tính - Foldoc Dictionary
forth
FORTH 1. (language) An interactive extensible language using postfix syntax and a data stack, developed by Charles H. Moore in the 1960s. FORTH is highly user-configurable and there are many different implementations, the following description is of a typical default configuration. Forth programs are structured as lists of "words" - FORTH's term which encompasses language keywords, primitives and user-defined subroutines. Forth takes the idea of subroutines to an extreme - nearly everything is a subroutine. A word is any string of characters except the separator which defaults to space. Numbers are treated specially. Words are read one at a time from the input stream and either executed immediately ("interpretive execution") or compiled as part of the definition of a new word. The sequential nature of list execution and the implicit use of the data stack (numbers appearing in the lists are pushed to the stack as they are encountered) imply postfix syntax. Although postfix notation is initially difficult, experienced users find it simple and efficient. Words appearing in executable lists may be "primitives" (simple assembly language operations), names of previously compiled procedures or other special words. A procedure definition is introduced by ":" and ended with ";" and is compiled as it is read. Most Forth dialects include the source language structures BEGIN-AGAIN, BEGIN-WHILE-REPEAT, BEGIN-UNTIL, DO-LOOP, and IF-ELSE-THEN, and others can be added by the user. These are "compiling structures" which may only occur in a procedure definition. FORTH can include in-line assembly language between "CODE" and "ENDCODE" or similar constructs. Forth primitives are written entirely in assembly language, secondaries contain a mixture. In fact code in-lining is the basis of compilation in some implementations. Once assembled, primitives are used exactly like other words. A significant difference in behaviour can arise, however, from the fact that primitives end with a jump to "NEXT", the entry point of some code called the sequencer, whereas non-primitives end with the address of the "EXIT" primitive. The EXIT code includes the scheduler in some multi-tasking systems so a process can be descheduled after executing a non-primitive, but not after a primitive. Forth implementations differ widely. Implementation techniques include threaded code, dedicated Forth processors, macros at various levels, or interpreters written in another language such as C. Some implementations provide real-time response, user-defined data structures, multitasking, floating-point arithmetic, and/or virtual memory. Some Forth systems support virtual memory without specific hardware support like MMUs. However, Forth virtual memory is usually only a sort of extended data space and does not usually support executable code. FORTH does not distinguish between operating system calls and the language. Commands relating to I/O, file systems and virtual memory are part of the same language as the words for arithmetic, memory access, loops, IF statements, and the user's application. Many Forth systems provide user-declared "vocabularies" which allow the same word to have different meanings in different contexts. Within one vocabulary, re-defining a word causes the previous definition to be hidden from the interpreter (and therefore the compiler), but not from previous definitions. FORTH was first used to guide the telescope at NRAO, Kitt Peak. Moore considered it to be a fourth-generation language but his operating system wouldn't let him use six letters in a program name, so FOURTH became FORTH. Versions include fig-FORTH, FORTH 79 and FORTH 83. FAQs. ANS Forth standard, dpANS6. FORTH Interest Group, Box 1105, San Carlos CA 94070. See also 51forth, F68K, cforth, E-Forth, FORML, TILE Forth. [Leo Brodie, "Starting Forth"]. [Leo Brodie, "Thinking Forth"]. [Jack Woehr, "Forth, the New Model"]. [R.G. Loeliger, "Threaded Interpretive Languages"]. 2. FOundation for Research and Technology - Hellas. Last updated: 1997-04-16
|
|
▼ Từ liên quan / Related words
Related search result for "forth"
|
|