C lexer-generator

Open-source C projects categorized as lexer-generator

Top 3 C lexer-generator Projects

lexer-generator
  1. flex

    The Fast Lexical Analyzer - scanner generator for lexing in C and C++ (by westes)

    Project mention: Building Zerocalc, part I - rustc lexer and a lexer in rust | dev.to | 2024-06-01

    In this post, we will focus on tokenization. There are many ways to do tokenization, including using regular expressions or generating tokenizer code with generators such as flex. But what if we check how rustc's parser does it?

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. libfsm

    DFA regular expression library & friends

    Project mention: Wc2: Investigates optimizing 'wc', the Unix word count program | news.ycombinator.com | 2024-06-20
  4. apli

    The Abstract Programming Language Interface (APLI) is a framework for generating Abstract Syntax Trees (ASTs) to enable developers to create domain-specific languages faster.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C lexer-generator discussion

Log in or Post with

C lexer-generator related posts

  • Building Zerocalc, part I - rustc lexer and a lexer in rust

    2 projects | dev.to | 1 Jun 2024
  • How to provide input file for Flex++?

    1 project | /r/Compilers | 5 Sep 2023
  • Do Regular Expressions only evaluate one line at a time?

    1 project | /r/perl | 5 Dec 2022
  • GitHub - jafarlihi/clex: clex is a simple lexer generator for C

    1 project | /r/cprogramming | 8 Nov 2022
  • GitHub - jafarlihi/clex: clex is a simple lexer generator for C

    1 project | /r/opensource | 5 Nov 2022
  • GitHub - jafarlihi/clex: clex is a simple lexer generator for C

    1 project | /r/programmingtools | 5 Nov 2022
  • Show HN: Clex – simple lexer generator for C

    1 project | news.ycombinator.com | 5 Nov 2022
  • A note from our sponsor - Nutrient
    nutrient.io | 13 Feb 2025
    Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free. Learn more →

Index

What are some of the best open-source lexer-generator projects in C? This list will help you:

# Project Stars
1 flex 3,698
2 libfsm 947
3 apli 12

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C is
the 6th most popular programming language
based on number of references?