| Revision 133,
940 bytes
checked in by matthiasm, 3 years ago
(diff) |
|
Converted documentation from Japanese into what Google claims to be English. Manually improved a few lines of the translation, but I am not sure if I got it right.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | How to achieve interpreter |
|---|
| 2 | ---------------------- |
|---|
| 3 | |
|---|
| 4 | Are interested in is how much people do not know whether the outline of the procedure is performed. |
|---|
| 5 | newt, the following steps (Steps) is running. |
|---|
| 6 | |
|---|
| 7 | 1. Source code - (parsing) -> syntax tree - (BC generator) -> byte code - (VM) -> Run |
|---|
| 8 | |
|---|
| 9 | ※ lexical analysis of the lex, the parsing used yacc |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | [Help] |
|---|
| 13 | |
|---|
| 14 | - If the original Newton |
|---|
| 15 | |
|---|
| 16 | 1. Source code - (NTK) -> byte code |
|---|
| 17 | 2. Byte code - (Newton) -> Run |
|---|
| 18 | |
|---|
| 19 | ※ byte code exists in the form of the package. |
|---|
| 20 | ※ Inspector debug the source code to generate byte code that could run directly |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | - Ruby case |
|---|
| 24 | |
|---|
| 25 | 1. Source code - (parsing) -> syntax tree - (eval) -> Run |
|---|
| 26 | |
|---|
| 27 | ※ analysis of the wording in the C language, syntax analysis using the yacc |
|---|
| 28 | ※ ruby2 (Rite) uses byte code I hear you |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | - Java case |
|---|
| 32 | |
|---|
| 33 | 1. Source code - (Java compiler) -> byte code |
|---|
| 34 | 2. Byte code - (Java VM) -> Run |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | ※ ruby and java out about your mistakes if you please |
|---|
Note: See
TracBrowser
for help on using the repository browser.