diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/actualize.c | 6 | ||||
| -rw-r--r-- | src/ast.c | 6 | ||||
| -rw-r--r-- | src/compiler.c | 6 | ||||
| -rw-r--r-- | src/debug.c | 6 | ||||
| -rw-r--r-- | src/imports.c | 7 | ||||
| -rw-r--r-- | src/main.c | 7 | ||||
| -rw-r--r-- | src/parser_helper.c | 6 | ||||
| -rw-r--r-- | src/path.c | 6 | ||||
| -rw-r--r-- | src/scope.c | 5 | ||||
| -rw-r--r-- | src/string.c | 6 |
10 files changed, 61 insertions, 0 deletions
diff --git a/src/actualize.c b/src/actualize.c index 4bc53fa..866f438 100644 --- a/src/actualize.c +++ b/src/actualize.c @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file actualize.c + * + * Implementations for stuff actualization. + */ + #include <assert.h> #include <string.h> #include <stdlib.h> @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file ast.c + * + * Abstract syntax tree handling implementations. + */ + #include <stdio.h> #include <string.h> #include <stdarg.h> diff --git a/src/compiler.c b/src/compiler.c index 4168400..68414c7 100644 --- a/src/compiler.c +++ b/src/compiler.c @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file compiler.c + * + * Top level compiler implementation. + */ + #include <stdbool.h> #include <string.h> #include <unistd.h> diff --git a/src/debug.c b/src/debug.c index 0075dba..1be19af 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file debug.c + * + * Debugging and information printing helper implementations. + */ + #include <stdio.h> #include <stdlib.h> #include <assert.h> diff --git a/src/imports.c b/src/imports.c index 7f1cb29..f2a240b 100644 --- a/src/imports.c +++ b/src/imports.c @@ -1,10 +1,17 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file imports.c + * + * File import handling implementations. + */ + #include <ek/imports.h> #include <ek/debug.h> void add_import_path(const char *dir) { debug("adding import path %s...\n", dir); + /** @todo actually implement */ } @@ -1,6 +1,13 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file main.c + * + * Compiler main file, controls compilation and command line + * handling. + */ + #include <stdlib.h> #include <stdio.h> #include <unistd.h> diff --git a/src/parser_helper.c b/src/parser_helper.c index ff4bc59..15dd6e8 100644 --- a/src/parser_helper.c +++ b/src/parser_helper.c @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file parser_helper.c + * + * Stuff to aid in parsing. + */ + #include <stdarg.h> #include <ek/parser.h> @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file path.c + * + * Path handling helper implementations. + */ + #include <stddef.h> #include <string.h> #include <unistd.h> diff --git a/src/scope.c b/src/scope.c index 22df9f9..8e9f74e 100644 --- a/src/scope.c +++ b/src/scope.c @@ -1,6 +1,11 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** @file scope.c + * + * Implementations for scope handling stuff. + */ + #include <stddef.h> #include <string.h> #include <stdio.h> diff --git a/src/string.c b/src/string.c index d36d6bc..3dbc3f1 100644 --- a/src/string.c +++ b/src/string.c @@ -1,6 +1,12 @@ /* SPDX-License-Identifier: copyleft-next-0.3.1 */ /* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ +/** + * @file string.c + * + * String handling implementations. + */ + #include <errno.h> #include <stdlib.h> |
