core: Add lexer + parser groundwork
Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Chloe M.
|
||||
* Provided under the BSD-3 clause
|
||||
*/
|
||||
|
||||
#ifndef CESCAL_PARSER_H
|
||||
#define CESCAL_PARSER_H 1
|
||||
|
||||
#include "cescal/state.h"
|
||||
|
||||
/*
|
||||
* Begin parsing the input source file
|
||||
*
|
||||
* @state: Compiler state
|
||||
*
|
||||
* Returns zero on success
|
||||
*/
|
||||
int parser_parse(struct cescal_state *state);
|
||||
|
||||
#endif /* !CESCAL_PARSER_H */
|
||||
Reference in New Issue
Block a user