frontend: parser: Add parser groundwork

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-03-21 09:56:51 -04:00
parent 7ac93d8921
commit 12fb91b467
3 changed files with 88 additions and 0 deletions

25
include/frontend/parser.h Normal file
View 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 */