Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lab01.cpp 483B

12345678910111213141516171819
  1. #include <vector>
  2. #include "lexer/lexi.h"
  3. #include "lexer/util.h"
  4. #include "lexer/token.h"
  5. const string usage = "usage: app <input> <output>";
  6. int main(int argc, char* argv[]) {
  7. if(argc != 3) {
  8. cerr << usage << endl;
  9. return 1;
  10. }
  11. get_file_name(argv[1]);
  12. vector<string> data = open_file(argv[1]);
  13. lexi l;
  14. string temp = argv[2];
  15. l.lexical_analyzer(data, temp);
  16. cout << "getting called here in lab 1" << endl;
  17. }