tinyvm/include/tvm/tvm_parser.h
Joseph Kogut ca87b3c5e9 Refactor with a consistent coding style
This commit refactors the project using a single, consistent coding
style, derived from the Linux Kernel Coding Style, available here:

https://www.kernel.org/doc/Documentation/CodingStyle

This includes, but is not limited to:
* Removal of typedefs, especially for structs
* Limiting lines to a reasonable length, 80 characters, mostly
* K&R style braces
* Removal of CamelCase
2016-08-28 20:31:12 -07:00

13 lines
319 B
C

#ifndef TVM_PARSER_H_
#define TVM_PARSER_H_
#include "tvm.h"
#include "tvm_program.h"
int tvm_parse_labels(struct tvm_ctx *vm, const char ***tokens);
int tvm_parse_program(struct tvm_ctx *vm, const char ***tokens);
int *tvm_add_value(struct tvm_ctx *vm, const int val);
int tvm_parse_value(const char *str);
#endif