Files
klisp/main.h
Sam Stevens cb8fa74fe7 Added basic string support.
Added comments beginning with a semi-colon.
Added load function to load lisp from a file.
Arguments passed to klisp will be read and evaluated as lisp files.
2014-05-31 16:48:58 +01:00

35 lines
502 B
C

/*
* File: main.h
* Author: sam
*
* Created on 17 May 2014, 16:15
*/
#ifndef MAIN_H
#define MAIN_H
#ifdef __cplusplus
extern "C" {
#endif
#define VERSION "0.1"
typedef unsigned char BOOL;
#define TRUE 1
#define FALSE 0
int main(int argc, char** argv);
void lval_expr_print(lval* val, char* open, char* close);
void lval_print(lval* val);
void lval_println(lval* val);
void lval_print_str(lval* val);
#ifdef __cplusplus
}
#endif
#endif /* MAIN_H */