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.
This commit is contained in:
26
shared.h
Normal file
26
shared.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* File: shared.h
|
||||
* Author: sam
|
||||
*
|
||||
* Created on 31 May 2014, 15:50
|
||||
*/
|
||||
|
||||
#ifndef SHARED_H
|
||||
#define SHARED_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "mpc.h"
|
||||
|
||||
extern mpc_parser_t* gLispy;
|
||||
extern size_t gParserCount;
|
||||
extern mpc_parser_t** gParsers;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* SHARED_H */
|
||||
|
||||
Reference in New Issue
Block a user