frontend: parser: Add parser groundwork
Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
25
include/frontend/parser.h
Normal file
25
include/frontend/parser.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Mirocom Laboratories
|
||||
* Provided under the BSD-3 clause
|
||||
*
|
||||
* Abstract:
|
||||
* This file implements the parser.
|
||||
* Author:
|
||||
* Ian M. Moffett <ian@mirocom.org>
|
||||
*/
|
||||
|
||||
#ifndef FRONTEND_PARSER_H
|
||||
#define FRONTEND_PARSER_H 1
|
||||
|
||||
#include "common/state.h"
|
||||
|
||||
/*
|
||||
* Begin parsing the source file
|
||||
*
|
||||
* @state: Quip state machine
|
||||
*
|
||||
* Returns zero on success
|
||||
*/
|
||||
int parser_parse(struct quip_state *state);
|
||||
|
||||
#endif /* !FRONTEND_PARSER_H */
|
||||
Reference in New Issue
Block a user