aboutsummaryrefslogtreecommitdiffhomepage
path: root/lex.c
Commit message (Collapse)AuthorAgeFilesLines
* implement most of preprocessorlemon2025-10-131-270/+656
| | | | | | | | - concatenation (##) - builtin macros (__FILE__ etc) - fails in some edge cases, and code needs cleanup - add embedded system include files (stddef.h, stdarg.h for now) - can handle stdio.h now
* alloc changeslemon2025-09-171-10/+6
|
* c: function-local static varslemon2025-09-121-1/+1
|
* pp better diagnosticlemon2025-09-111-9/+11
|
* preprocessor: more awful hackslemon2025-09-111-16/+30
|
* preprocessor: fix order of expansion wiht macro argumentslemon2025-09-111-8/+21
|
* lex: stringify args in function macroslemon2025-09-101-16/+50
|
* lex: implement basic function-like macro functionalitylemon2025-09-101-24/+154
|
* cpp: fix #conditional;slemon2025-09-091-5/+9
|
* frontend: #ifdeflemon2024-04-121-5/+56
|
* frontend: basic #includelemon2024-04-091-5/+100
|
* lexer: fix scanning of pp directives in some circumstanceslemon2024-04-091-1/+2
|
* frontend: add static assertlemon2023-06-261-1/+1
|
* lex: use a circular buffer cache for pre-pre-processed charslemon2023-06-251-53/+64
|
* oopslemon2023-06-191-1/+1
|
* frontend: rename parser -> lexer and document c.clemon2023-06-191-190/+190
|
* frontend: separate compiler & lexerlemon2023-06-191-5/+20
|
* better diagnosticslemon2023-06-041-9/+15
|
* '!' optimizationslemon2023-05-311-4/+7
|
* improve struct tokenlemon2023-05-281-85/+128
|
* cleanuplemon2023-05-281-1/+1
|
* recursive descent -> precedence climbing parserlemon2023-05-271-5/+5
|
* hmlemon2023-05-261-65/+448
|
* initial commitlemon2023-05-101-0/+669