/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

  1. class EXAMPLE
  2. create {ANY}
  3. make
  4. feature {}
  5. make
  6. local
  7. lib: LIBRARY
  8. do
  9. create lib.make(translator)
  10. io.put_string(translator.translation("Hello from the program"))
  11. io.put_new_line
  12. lib.print_hello
  13. end
  14. translator: PROGRAM_TRANSLATOR
  15. once
  16. create Result.init
  17. end
  18. end -- class EXAMPLE