From 522936f222fd3da7a71780449a3b58d34fe46323 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 7 May 2023 17:44:50 +0400 Subject: [PATCH] Add comments --- src/syntax.c | 8 ++++++++ src/syntax.h | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/syntax.c b/src/syntax.c index ee8b98c..943a0c1 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -5,6 +5,10 @@ #include +/******************************************* + * Special syntax to use in the executable * + *******************************************/ + struct Object *syntax_repl( struct Object *args, struct Object *const environment @@ -19,6 +23,10 @@ struct Object *syntax_script( return eval(args, environment); } +/******************* + * Syntax keywords * + *******************/ + struct Object *syntax_begin( struct Object *args, struct Object *const environment diff --git a/src/syntax.h b/src/syntax.h index ca28260..bc107df 100644 --- a/src/syntax.h +++ b/src/syntax.h @@ -3,9 +3,17 @@ #include "object.h" +/******************************************* + * Special syntax to use in the executable * + *******************************************/ + struct Object *syntax_repl(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_define(struct Object *args, struct Object *environment); struct Object *syntax_if(struct Object *args, struct Object *environment);