brainfuck_processor/bfpcompiler/include/analyzer.h

19 lines
366 B
C

#ifndef ANALYZER_H
#define ANALYZER_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/**
* @name analyze
* @return int
* @brief Analyze the tokens syntax. Return -1 on error and 1 on warning, 0 else.
*
* @param char* tokens: analyze_tokens
* @param char* device: target device
*/
int analyze (char* tokens, char* device);
#endif//ANALYZER_H