Herb C Reference
Loading...
Searching...
No Matches
herb.c File Reference
#include "include/herb.h"
#include "include/array.h"
#include "include/buffer.h"
#include "include/io.h"
#include "include/json.h"
#include "include/lexer.h"
#include "include/parser.h"
#include "include/token.h"
#include "include/version.h"
#include <prism.h>
#include <stdlib.h>

Functions

array_Therb_lex (const char *source)
 
AST_DOCUMENT_NODE_Therb_parse (const char *source)
 
array_Therb_lex_file (const char *path)
 
void herb_lex_to_buffer (const char *source, buffer_T *output)
 
void herb_lex_json_to_buffer (const char *source, buffer_T *output)
 
void herb_free_tokens (array_T **tokens)
 
const char * herb_version (void)
 
const char * herb_prism_version (void)
 

Function Documentation

◆ herb_lex()

array_T * herb_lex ( const char *  source)

◆ herb_parse()

AST_DOCUMENT_NODE_T * herb_parse ( const char *  source)

◆ herb_lex_file()

array_T * herb_lex_file ( const char *  path)

◆ herb_lex_to_buffer()

void herb_lex_to_buffer ( const char *  source,
buffer_T output 
)

◆ herb_lex_json_to_buffer()

void herb_lex_json_to_buffer ( const char *  source,
buffer_T output 
)

◆ herb_free_tokens()

void herb_free_tokens ( array_T **  tokens)

◆ herb_version()

const char * herb_version ( void  )

◆ herb_prism_version()

const char * herb_prism_version ( void  )