source: NEWT0/trunk/documents/en.05_implement.txt @ 133

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 
1How to achieve interpreter
2----------------------
3
4Are interested in is how much people do not know whether the outline of the procedure is performed.
5newt, the following steps (Steps) is running.
6
71. 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
161. Source code - (NTK) -> byte code
172. 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
251. 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
331. Source code - (Java compiler) -> byte code
342. 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.