Difference between revisions of "Se"

From Liberty Eiffel Wiki
Jump to navigation Jump to search
(link to syntax diagrams)
 
(→‎Synopsis: "clean" in bold like every other tool)
(One intermediate revision by the same user not shown)
Line 14: Line 14:
 
* [[compile_to_c|'''c2c''']]: the standard compiler core, that produces C files
 
* [[compile_to_c|'''c2c''']]: the standard compiler core, that produces C files
 
* [[compile_to_jvm|'''java''']]: the compiler that produces Java bytecode
 
* [[compile_to_jvm|'''java''']]: the compiler that produces Java bytecode
  +
* [[clean|'''clean''']]: remove the useless C files
 
* [[eiffeldoc|'''doc''']]: the project documentator that produces HTML
 
* [[eiffeldoc|'''doc''']]: the project documentator that produces HTML
 
* [[eiffeltest|'''test''']]: the unit test tool
 
* [[eiffeltest|'''test''']]: the unit test tool

Revision as of 08:39, 13 October 2006


se is, starting from the 2.2 release, the only tool you need to know of. It is also the only tools that need to be put in your load path ($PATH on Unix/Linux, %PATH% on Windows...)

Synopsis

  • se <tool> [options]
  • se -help shows the available tools
  • se -version shows the version of each tool

The tool can be either one of the standard tools, or one you add for your own purposes. The standard tools are:

  • c: the standard compiler that creates an executable using a C compiler as back-end
  • c2c: the standard compiler core, that produces C files
  • java: the compiler that produces Java bytecode
  • clean: remove the useless C files
  • doc: the project documentator that produces HTML
  • test: the unit test tool
  • short: the class documentator that produces an interface summary
  • pretty: the class beautifier
  • find: the class finder
  • class_check: the class syntax and semantics checker
  • ace_check: the ACE file checker
  • javap: the java bytecode disassembler
  • x_int: the introspectable objects extractor

The options are those of the respective tools.

Extra

Using bash power

This section is only for bash users (Linux, UNIX and Cygwin users).

Starting with the 2.3 release of SmartEiffel (or the version 7276 in the Subversion repository), source the misc/eiffel.bash file to get extra completion power for the se command.