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:
2014-05-31 16:48:58 +01:00
parent 396bf65a84
commit cb8fa74fe7
14 changed files with 245 additions and 60 deletions

26
shared.h Normal file
View 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 */