Add comments
This commit is contained in:
parent
dc8d81a382
commit
522936f222
2 changed files with 16 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
/*******************************************
|
||||||
|
* Special syntax to use in the executable *
|
||||||
|
*******************************************/
|
||||||
|
|
||||||
struct Object *syntax_repl(
|
struct Object *syntax_repl(
|
||||||
struct Object *args,
|
struct Object *args,
|
||||||
struct Object *const environment
|
struct Object *const environment
|
||||||
|
@ -19,6 +23,10 @@ struct Object *syntax_script(
|
||||||
return eval(args, environment);
|
return eval(args, environment);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*******************
|
||||||
|
* Syntax keywords *
|
||||||
|
*******************/
|
||||||
|
|
||||||
struct Object *syntax_begin(
|
struct Object *syntax_begin(
|
||||||
struct Object *args,
|
struct Object *args,
|
||||||
struct Object *const environment
|
struct Object *const environment
|
||||||
|
|
|
@ -3,9 +3,17 @@
|
||||||
|
|
||||||
#include "object.h"
|
#include "object.h"
|
||||||
|
|
||||||
|
/*******************************************
|
||||||
|
* Special syntax to use in the executable *
|
||||||
|
*******************************************/
|
||||||
|
|
||||||
struct Object *syntax_repl(struct Object *args, struct Object *environment);
|
struct Object *syntax_repl(struct Object *args, struct Object *environment);
|
||||||
struct Object *syntax_script(struct Object *args, struct Object *environment);
|
struct Object *syntax_script(struct Object *args, struct Object *environment);
|
||||||
|
|
||||||
|
/*******************
|
||||||
|
* Syntax keywords *
|
||||||
|
*******************/
|
||||||
|
|
||||||
struct Object *syntax_begin(struct Object *args, struct Object *environment);
|
struct Object *syntax_begin(struct Object *args, struct Object *environment);
|
||||||
struct Object *syntax_define(struct Object *args, struct Object *environment);
|
struct Object *syntax_define(struct Object *args, struct Object *environment);
|
||||||
struct Object *syntax_if(struct Object *args, struct Object *environment);
|
struct Object *syntax_if(struct Object *args, struct Object *environment);
|
||||||
|
|
Loading…
Reference in a new issue