diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-18 12:47:07 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-18 12:47:07 -0400 |
| commit | df2e01c15e0ff44aaf60589095aba75669b110d7 (patch) | |
| tree | fcc1a380042adf57ba1f5f003c4d45c6cb698717 | |
| parent | 5f3dac786c6b27f04d5cf7f27ea994135d26041e (diff) | |
Add some better file comments
| -rw-r--r-- | compile.c | 2 | ||||
| -rw-r--r-- | enums.c | 2 | ||||
| -rw-r--r-- | environment.c | 3 | ||||
| -rw-r--r-- | parse.c | 2 | ||||
| -rw-r--r-- | structs.c | 2 | ||||
| -rw-r--r-- | tomo.c | 1 |
6 files changed, 7 insertions, 5 deletions
@@ -1,4 +1,4 @@ - +// Compilation logic #include <ctype.h> #include <gc/cord.h> #include <gc.h> @@ -1,4 +1,4 @@ - +// Logic for compiling tagged unions (enums) #include <ctype.h> #include <gc/cord.h> #include <gc.h> diff --git a/environment.c b/environment.c index 1786be50..38b21d23 100644 --- a/environment.c +++ b/environment.c @@ -1,4 +1,5 @@ - +// Logic for the environmental context information during compilation +// (variable bindings, code sections, etc.) #include <stdlib.h> #include <signal.h> @@ -1,4 +1,4 @@ -// Parse code using recursive descent +// Recursive descent parser for parsing code #include <ctype.h> #include <gc.h> #include <libgen.h> @@ -1,4 +1,4 @@ - +// Logic for compiling new struct types defined in code #include <ctype.h> #include <gc/cord.h> #include <gc.h> @@ -1,3 +1,4 @@ +// The main program that runs compilation #include <stdio.h> #include <stdlib.h> #include <gc.h> |
