aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/preprocess.c
AgeCommit message (Collapse)Author
2025-10-10refactor: use |= operator to simplify codeHEADmainnsfisis
2025-09-27refactor: add src/ducc.hnsfisis
2025-09-15feat: include <libgen.h>nsfisis
2025-09-15feat: include <unistd.h>nsfisis
2025-09-15refactor: move tokenization code from preprocess.c to tokenize.cnsfisis
2025-09-14feat: include <assert.h>nsfisis
2025-09-14feat: include <stdlib.h>nsfisis
2025-09-14feat: use Nix-provided glibc headersnsfisis
2025-09-13feat: include <string.h>nsfisis
2025-09-13feat: support ## operator with surrounding whitespacesnsfisis
2025-09-13feat: include <ctype.h>nsfisis
2025-09-13feat: implement -E flag (preprocess only)nsfisis
2025-09-12feat: implement macro argument prescannsfisis
cf. https://gcc.gnu.org/onlinedocs/cpp/Argument-Prescan.html
2025-09-08fix: macro expansionnsfisis
2025-09-05feat: improve pp-number tokenizationnsfisis
2025-09-04feat: use <stdio.h> in ducc sourcesnsfisis
2025-09-04feat: recursive macro expansionnsfisis
2025-09-03feat: support native bool/true/falsensfisis
2025-09-01feat: partially support anonymous structs/unions/enumsnsfisis
2025-08-31fix: remove leading/trailing whitespaces from macro replacement-listnsfisis
2025-08-31feat: support multiple tokens in macro argumentsnsfisis
2025-08-31feat: define __x86_64__ and __LP64__nsfisis
2025-08-31feat: add "/usr/local/include" to pre-defined include pathsnsfisis
2025-08-31refactor: use StrArray for include_pathsnsfisis
2025-08-31feat: support cast expression (any types can be coerced to any types for now)nsfisis
2025-08-31feat: enable -Wall flag on buildnsfisis
2025-08-31feat: support -MMD flagnsfisis
2025-08-31fix: error message when included file is not foundnsfisis
2025-08-31fix: #else/#endif with trailing whitespace or commentnsfisis
2025-08-30fix: parsing macro syntaxnsfisis
2025-08-30feat: implement ## operatornsfisis
2025-08-30feat: check invalid #elif* and #endifnsfisis
2025-08-30refactor: rename variables/functions to use terms in C23 specnsfisis
2025-08-30fix: conditional includensfisis
2025-08-29feat: tokenize integer suffixnsfisis
2025-08-29refactor: remove unused parameternsfisis
2025-08-29refactor: add stricter typesnsfisis
2025-08-29refactor: remove unused variablesnsfisis
2025-08-29feat: add utility function to dump any internal object as JSONnsfisis
2025-08-29feat: support #error and #warning directivesnsfisis
2025-08-28refactor: remove pp directives in separate phasensfisis
2025-08-27fix: stack pointer is not aligned to 8 byte boundarynsfisis
2025-08-27feat: support nested #ifnsfisis
2025-08-27feat: implement #elif* directivesnsfisis
2025-08-26refactor: rename and move functionsnsfisis
2025-08-26feat: improve handling of non-directive preprocessing directivesnsfisis
2025-08-26refactor: preprocessing using helper functionsnsfisis
2025-08-26feat: support nop preprocessing directivensfisis
2025-08-26refactor: separate preprocess.{h,c}nsfisis
2025-08-25feat: add static to file-local functionsnsfisis