Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile-time cpp #236

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Conversation

amitsingh19975
Copy link

@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