Skip to content

Compile-time cpp#236

Open
amitsingh19975 wants to merge 23 commits into
ThePrimeagen:masterfrom
amitsingh19975:master
Open

Compile-time cpp#236
amitsingh19975 wants to merge 23 commits into
ThePrimeagen:masterfrom
amitsingh19975:master

Conversation

@amitsingh19975
Copy link
Copy Markdown

@amitsingh19975 amitsingh19975 commented Jun 14, 2023

This implements a simple compile-time lexer in cpp with extra language features such as comments (single and multi-line) and a string literal. On top of that, it preserves the whitespaces and newline so that we can create the source code from it.

NOTE:
This is an experimental project to test the boundaries of C++'s compile-time programming and see how far I can go with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant