rename base.h -> alisp.h
Makes more sense when you think about including it as an external library
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
* Description: All the definitions required for the lisp system
|
* Description: All the definitions required for the lisp system
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BASE_H
|
#ifndef ALISP_H
|
||||||
#define BASE_H
|
#define ALISP_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
#include "./base.h"
|
#include "./alisp.h"
|
||||||
|
|
||||||
lisp_t *make_int(i64 i)
|
lisp_t *make_int(i64 i)
|
||||||
{
|
{
|
||||||
|
|||||||
2
main.c
2
main.c
@@ -16,7 +16,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "./base.h"
|
#include "./alisp.h"
|
||||||
|
|
||||||
sv_t sv_copy(sv_t old)
|
sv_t sv_copy(sv_t old)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* Description: Symbol Table implementation
|
* Description: Symbol Table implementation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "./base.h"
|
#include "./alisp.h"
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
2
sys.c
2
sys.c
@@ -12,7 +12,7 @@
|
|||||||
* Description: System management
|
* Description: System management
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "./base.h"
|
#include "./alisp.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|||||||
2
tag.c
2
tag.c
@@ -15,7 +15,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "./base.h"
|
#include "./alisp.h"
|
||||||
|
|
||||||
lisp_t *tag_int(i64 i)
|
lisp_t *tag_int(i64 i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user