PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/tutorial/get_text/library/example.e

http://github.com/tybor/Liberty
Specman e | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | 9f61d05f3276bfb72e361a36afdf6373 MD5 | raw file
 1class EXAMPLE
 2
 3create {ANY}
 4   make
 5
 6feature {}
 7   make
 8      local
 9         lib: LIBRARY
10      do
11         create lib.make(translator)
12         io.put_string(translator.translation("Hello from the program"))
13         io.put_new_line
14         lib.print_hello
15      end
16
17   translator: PROGRAM_TRANSLATOR
18      once
19         create Result.init
20      end
21
22end -- class EXAMPLE