mjplusplus  v0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
main.cpp File Reference
#include <algorithm>
#include <fstream>
#include <iostream>
#include <vector>
#include "lexer/lexer.hpp"
#include "lexer/stateomat.hpp"
#include "lexer/token.hpp"
#include "parser/parser.hpp"
#include "semantic_analysis/SemanticAnalysis.hpp"
#include "util/optionparser.h"
#include "util/ErrorReporter.hpp"
#include "firm_interface/FirmInterface.hpp"
#include "firm_interface/optimizer/BasicInliner.hpp"

Functions

int dumpLexGraph (lexer::Stateomat stateomat, std::string out_name)
 
int lexTest (lexer::Lexer lexer)
 
bool runSemanticAnalysis (shptr< ast::Program > root, shptr< ErrorReporter > errorReporter)
 
void runFirm (std::string file_name, std::string out_name, bool outputGraphs, shptr< ast::Program > root)
 
void buildWithFirm ()
 
void build ()
 
int compileAssembly (std::string out_name_assembly, std::string out_name_file)
 
int removeAssembly (std::string out_name_assembly)
 
bool isNumber (const std::string &s)
 
int main (int argc, const char **argv)
 

Function Documentation

void build ( )
void buildWithFirm ( )
int compileAssembly ( std::string  out_name_assembly,
std::string  out_name_file 
)
int dumpLexGraph ( lexer::Stateomat  stateomat,
std::string  out_name 
)
bool isNumber ( const std::string &  s)
int lexTest ( lexer::Lexer  lexer)
int main ( int  argc,
const char **  argv 
)
int removeAssembly ( std::string  out_name_assembly)
void runFirm ( std::string  file_name,
std::string  out_name,
bool  outputGraphs,
shptr< ast::Program root 
)
bool runSemanticAnalysis ( shptr< ast::Program root,
shptr< ErrorReporter errorReporter 
)