![]() |
User Guide
|
Example of standalone lexer program for Units that demonstrate use of UnitLexer and UnitDriver classes.
Definition in file main_units.cpp.
#include "config/config.h"
#include "lexer/unit_lexer.hpp"
#include "parser/unit_driver.hpp"
#include "utils/logger.hpp"
#include <CLI/CLI.hpp>
#include <fstream>
Go to the source code of this file.
Typedefs | |
using | Token = parser::UnitParser::token |
Functions | |
int | main (int argc, const char *argv[]) |
using Token = parser::UnitParser::token |
Definition at line 24 of file main_units.cpp.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
parse Units file and print token until EOF
Definition at line 26 of file main_units.cpp.