You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
263 B

  1. Ast_Node* parse_expression(char* expr) {
  2. typedef enum {
  3. Parser_State_Code,
  4. Parser_State_String,
  5. Parser_State_Comment,
  6. } Parser_State;
  7. // initial state is code
  8. Parser_State current_parser_state = Parser_State_Code;
  9. }