Artifact eb786725f00740c4a90c9958317616b1c358b4810a690a8acdd3e1fe4fe4a7a6:
- File bs/empathy.cpp — part of check-in [0c5641877d] at 2019-08-24 13:42:23 on branch trunk — Factored out the common code of Compiler::execute(), ExecuteFile() and #CompileFileToFunction(). (user: achavasse size: 304)
#include "compiler.h" using namespace std; using namespace empathy; using namespace empathy::util; int main( int argc, char** argv ) { const char* filename = "lib/empathy.em"; Compiler ec( argc, argv ); if( ec.execute( filename ) ) return EXIT_SUCCESS; return EXIT_FAILURE; }